diff mbox series

[7/7] ARM: dts: qcom: apq8026-lg-lenok: enable USB

Message ID 20211118210210.160895-7-luca@z3ntu.xyz (mailing list archive)
State Accepted
Headers show
Series [1/7] dt-bindings: power: supply: pm8941-charger: add pm8226 | expand

Commit Message

Luca Weiss Nov. 18, 2021, 9:02 p.m. UTC
Enable the USB nodes so it becomes usable on the device.

Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
---
 arch/arm/boot/dts/qcom-apq8026-lg-lenok.dts | 12 ++++++++++++
 1 file changed, 12 insertions(+)
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/qcom-apq8026-lg-lenok.dts b/arch/arm/boot/dts/qcom-apq8026-lg-lenok.dts
index 4e7a596d6101..1519544029e7 100644
--- a/arch/arm/boot/dts/qcom-apq8026-lg-lenok.dts
+++ b/arch/arm/boot/dts/qcom-apq8026-lg-lenok.dts
@@ -253,3 +253,15 @@  reset {
 		};
 	};
 };
+
+&usb {
+	status = "okay";
+	extcon = <&smbb>;
+	dr_mode = "peripheral";
+};
+
+&usb_hs_phy {
+	extcon = <&smbb>;
+	v1p8-supply = <&pm8226_l10>;
+	v3p3-supply = <&pm8226_l20>;
+};