Skip to contentSkip to conversation

ARM: dts: qcom: msm8974-honami: Add USB node.

PATCH New Konrad Dybcio 1 participant 1 message Jan 18, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: qcom: msm8974-honami: Add USB node.

This exact node has been included in Amami DTS
ever since 2017, turns out it works perfectly
fine with Honami, as tested with postmarketOS.

---
 .../dts/qcom-msm8974-sony-xperia-honami.dts   | 25 +++++++++++++++++++
 1 file changed, 25 insertions(+)
arch/arm/boot/dts/qcom-msm8974-sony-xperia-honami.dts +25 -0
index 450b8321e0a6..611bae9fe66b 100644
@@ -260,6 +260,31 @@ l24 {
 };
 
 &soc {
+	usb@f9a55000 {
+		status = "ok";
+
+		phys = <&usb_hs1_phy>;
+		phy-select = <&tcsr 0xb000 0>;
+		extcon = <&smbb>, <&usb_id>;
+		vbus-supply = <&chg_otg>;
+
+		hnp-disable;
+		srp-disable;
+		adp-disable;
+
+		ulpi {
+			phy@a {
+				status = "ok";
+
+				v1p8-supply = <&pm8941_l6>;
+				v3p3-supply = <&pm8941_l24>;
+
+				extcon = <&smbb>;
+				qcom,init-seq = /bits/ 8 <0x1 0x64>;
+			};
+		};
+	};
+
 	sdhci@f9824900 {
 		status = "ok";
 
Signature · 1 line
2.24.1