diff mbox series

[3/7] ARM: dts: qcom: sdx55-mtp: Enable USB3 and PHY support

Message ID 20210118051005.55958-4-manivannan.sadhasivam@linaro.org
State Accepted
Commit 20779ecf3b4309184d6df254e884698ef0cfd52c
Headers show
Series SDX55 devicetree updates - Part 2 | expand

Commit Message

Manivannan Sadhasivam Jan. 18, 2021, 5:10 a.m. UTC
Enable the support for USB3 controller, QMP PHY and HS PHY on SDX55 MTP.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>

---
 arch/arm/boot/dts/qcom-sdx55-mtp.dts | 29 ++++++++++++++++++++++++----
 1 file changed, 25 insertions(+), 4 deletions(-)

-- 
2.25.1
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/qcom-sdx55-mtp.dts b/arch/arm/boot/dts/qcom-sdx55-mtp.dts
index 96b6a295f813..7fec5e7a2724 100644
--- a/arch/arm/boot/dts/qcom-sdx55-mtp.dts
+++ b/arch/arm/boot/dts/qcom-sdx55-mtp.dts
@@ -111,7 +111,7 @@  vreg_s4e_1p904: smps4 {
 			regulator-max-microvolt = <1960000>;
 		};
 
-		ldo1 {
+		vreg_l1e_bb_1p2: ldo1 {
 			regulator-min-microvolt = <1200000>;
 			regulator-max-microvolt = <1200000>;
 			regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
@@ -129,13 +129,13 @@  ldo3 {
 			regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
 		};
 
-		ldo4 {
+		vreg_l4e_bb_0p875: ldo4 {
 			regulator-min-microvolt = <872000>;
 			regulator-max-microvolt = <872000>;
 			regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
 		};
 
-		ldo5 {
+		vreg_l5e_bb_1p7: ldo5 {
 			regulator-min-microvolt = <1704000>;
 			regulator-max-microvolt = <1900000>;
 			regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
@@ -165,7 +165,7 @@  ldo9 {
 			regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
 		};
 
-		ldo10 {
+		vreg_l10e_3p1: ldo10 {
 			regulator-min-microvolt = <3088000>;
 			regulator-max-microvolt = <3088000>;
 			regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
@@ -228,3 +228,24 @@  nand@0 {
 		nand-bus-width = <8>;
 	};
 };
+
+&usb {
+	status = "okay";
+};
+
+&usb_dwc3 {
+	dr_mode = "peripheral";
+};
+
+&usb_hsphy {
+	status = "okay";
+	vdda-pll-supply = <&vreg_l4e_bb_0p875>;
+	vdda33-supply = <&vreg_l10e_3p1>;
+	vdda18-supply = <&vreg_l5e_bb_1p7>;
+};
+
+&usb_qmpphy {
+	status = "okay";
+	vdda-phy-supply = <&vreg_l4e_bb_0p875>;
+	vdda-pll-supply = <&vreg_l1e_bb_1p2>;
+};