summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts
diff options
context:
space:
mode:
authorLuca Weiss <luca.weiss@fairphone.com>2022-03-21 14:33:18 +0100
committerBjorn Andersson <bjorn.andersson@linaro.org>2022-04-12 09:21:16 -0500
commit606efee95767b54e8da4cce0429f1587ff1a3cb0 (patch)
tree9d9ec92e1785fa2562e2b5e1fefd81871caff5dd /arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts
parent5a814af5fc229b2649c814921a39ae1f652e366d (diff)
downloadlwn-606efee95767b54e8da4cce0429f1587ff1a3cb0.tar.gz
lwn-606efee95767b54e8da4cce0429f1587ff1a3cb0.zip
arm64: dts: qcom: sm7225-fairphone-fp4: Enable UFS
Configure and enable the nodes for UFS that are used for internal storage on FP4. Signed-off-by: Luca Weiss <luca.weiss@fairphone.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20220321133318.99406-7-luca.weiss@fairphone.com
Diffstat (limited to 'arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts')
-rw-r--r--arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts18
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts b/arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts
index 4691a5e5c8e5..f70174a342c6 100644
--- a/arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts
+++ b/arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts
@@ -365,6 +365,24 @@
status = "okay";
};
+&ufs_mem_hc {
+ status = "okay";
+
+ reset-gpios = <&tlmm 156 GPIO_ACTIVE_LOW>;
+
+ vcc-supply = <&vreg_l7e>;
+ vcc-max-microamp = <800000>;
+ vccq2-supply = <&vreg_l12a>;
+ vccq2-max-microamp = <800000>;
+};
+
+&ufs_mem_phy {
+ status = "okay";
+
+ vdda-phy-supply = <&vreg_l18a>;
+ vdda-pll-supply = <&vreg_l22a>;
+};
+
&usb_1 {
status = "okay";
};