arm64: dts: exynos: gs101: enable ufs, phy on oriole & define ufs regulator
authorPeter Griffin <peter.griffin@linaro.org>
Tue, 30 Apr 2024 14:14:45 +0000 (15:14 +0100)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 30 Apr 2024 18:42:29 +0000 (20:42 +0200)
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 <peter.griffin@linaro.org>
Link: https://lore.kernel.org/r/20240430141445.2688499-4-peter.griffin@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
arch/arm64/boot/dts/exynos/google/gs101-oriole.dts

index 03b2a6fdfdc4559251636f7e610085f9d5c3f37d..5e8ffe065081b7260f2b2d89de2006d9183083c2 100644 (file)
                compatible = "regulator-fixed";
                regulator-name = "placeholder_reg";
        };
+
+       /* TODO: Remove this once S2MPG11 slave PMIC is implemented  */
+       ufs_0_fixed_vcc_reg: regulator-1 {
+               compatible = "regulator-fixed";
+               regulator-name = "ufs-vcc";
+               gpio = <&gpp0 1 GPIO_ACTIVE_HIGH>;
+               regulator-boot-on;
+               enable-active-high;
+       };
 };
 
 &ext_24_5m {
        status = "okay";
 };
 
+&ufs_0 {
+       status = "okay";
+       vcc-supply = <&ufs_0_fixed_vcc_reg>;
+};
+
+&ufs_0_phy {
+       status = "okay";
+};
+
 &usbdrd31 {
        status = "okay";
        vdd10-supply = <&reg_placeholder>;