Commit 00aaa58e authored by David Wronek's avatar David Wronek Committed by Bjorn Andersson

arm64: dts: qcom: sm7125-xiaomi-common: Add UFS nodes

Enable the UFS found on the SM7125 Xiaomi smartphones.
Reviewed-by: default avatarKonrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: default avatarDavid Wronek <davidwronek@gmail.com>
Link: https://lore.kernel.org/r/20240121-sm7125-upstream-v4-7-f7d1212c8ebb@gmail.comSigned-off-by: default avatarBjorn Andersson <andersson@kernel.org>
parent 858536d9
...@@ -152,6 +152,9 @@ vreg_l4a_0p88: ldo4 { ...@@ -152,6 +152,9 @@ vreg_l4a_0p88: ldo4 {
regulator-min-microvolt = <824000>; regulator-min-microvolt = <824000>;
regulator-max-microvolt = <928000>; regulator-max-microvolt = <928000>;
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
regulator-allow-set-load;
regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
RPMH_REGULATOR_MODE_HPM>;
}; };
vreg_l5a_2p7: ldo5 { vreg_l5a_2p7: ldo5 {
...@@ -188,6 +191,9 @@ vreg_l12a_1p8: ldo12 { ...@@ -188,6 +191,9 @@ vreg_l12a_1p8: ldo12 {
regulator-min-microvolt = <1696000>; regulator-min-microvolt = <1696000>;
regulator-max-microvolt = <1952000>; regulator-max-microvolt = <1952000>;
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
regulator-allow-set-load;
regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
RPMH_REGULATOR_MODE_HPM>;
}; };
vreg_l13a_1p8: ldo13 { vreg_l13a_1p8: ldo13 {
...@@ -230,6 +236,9 @@ vreg_l19a_3p0: ldo19 { ...@@ -230,6 +236,9 @@ vreg_l19a_3p0: ldo19 {
regulator-min-microvolt = <2696000>; regulator-min-microvolt = <2696000>;
regulator-max-microvolt = <3304000>; regulator-max-microvolt = <3304000>;
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
regulator-allow-set-load;
regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
RPMH_REGULATOR_MODE_HPM>;
}; };
}; };
...@@ -258,6 +267,9 @@ vreg_l3c_1p23: ldo3 { ...@@ -258,6 +267,9 @@ vreg_l3c_1p23: ldo3 {
regulator-min-microvolt = <1144000>; regulator-min-microvolt = <1144000>;
regulator-max-microvolt = <1304000>; regulator-max-microvolt = <1304000>;
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
regulator-allow-set-load;
regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
RPMH_REGULATOR_MODE_HPM>;
}; };
vreg_l4c_1p8: ldo4 { vreg_l4c_1p8: ldo4 {
...@@ -398,6 +410,22 @@ sd-cd-pins { ...@@ -398,6 +410,22 @@ sd-cd-pins {
}; };
}; };
&ufs_mem_hc {
vcc-supply = <&vreg_l19a_3p0>;
vcc-max-microamp = <600000>;
vccq2-supply = <&vreg_l12a_1p8>;
vccq2-max-microamp = <600000>;
status = "okay";
};
&ufs_mem_phy {
vdda-phy-supply = <&vreg_l4a_0p88>;
vdda-pll-supply = <&vreg_l3c_1p23>;
vdda-phy-max-microamp = <62900>;
vdda-pll-max-microamp = <18300>;
status = "okay";
};
&usb_1 { &usb_1 {
qcom,select-utmi-as-pipe-clk; qcom,select-utmi-as-pipe-clk;
status = "okay"; status = "okay";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment