Skip to content

Commit aaafb21

Browse files
petegriffinkrzk
authored andcommitted
arm64: dts: exynos: gs101: enable ufs, phy on oriole & define ufs regulator
Enable ufs & ufs phy nodes for Oriole. Also define the ufs regulator node. ufs regulator is a stub until full s2mpg11 slave pmic support is added. The gpio defined is for the BOOTLD0 (gs101) signal connected to UFS_EN(s2mpg11) gpio enabled voltage rail for UFS. Signed-off-by: Peter Griffin <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Krzysztof Kozlowski <[email protected]>
1 parent 4c65d70 commit aaafb21

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

arch/arm64/boot/dts/exynos/google/gs101-oriole.dts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,15 @@
5959
compatible = "regulator-fixed";
6060
regulator-name = "placeholder_reg";
6161
};
62+
63+
/* TODO: Remove this once S2MPG11 slave PMIC is implemented */
64+
ufs_0_fixed_vcc_reg: regulator-1 {
65+
compatible = "regulator-fixed";
66+
regulator-name = "ufs-vcc";
67+
gpio = <&gpp0 1 GPIO_ACTIVE_HIGH>;
68+
regulator-boot-on;
69+
enable-active-high;
70+
};
6271
};
6372

6473
&ext_24_5m {
@@ -112,6 +121,15 @@
112121
status = "okay";
113122
};
114123

124+
&ufs_0 {
125+
status = "okay";
126+
vcc-supply = <&ufs_0_fixed_vcc_reg>;
127+
};
128+
129+
&ufs_0_phy {
130+
status = "okay";
131+
};
132+
115133
&usbdrd31 {
116134
status = "okay";
117135
vdd10-supply = <&reg_placeholder>;

0 commit comments

Comments
 (0)