[PATCH v2 5/6] arm64: dts: qcom: ipq5332: Enable USB
From: Varadarajan Narayanan
Date: Thu Jun 22 2023 - 02:24:13 EST
Enable USB2 in host mode.
Signed-off-by: Varadarajan Narayanan <quic_varada@xxxxxxxxxxx>
---
v1:
Enable usb-phy node
---
arch/arm64/boot/dts/qcom/ipq5332-rdp468.dts | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/ipq5332-rdp468.dts b/arch/arm64/boot/dts/qcom/ipq5332-rdp468.dts
index 3b6a5cb..08a78b2 100644
--- a/arch/arm64/boot/dts/qcom/ipq5332-rdp468.dts
+++ b/arch/arm64/boot/dts/qcom/ipq5332-rdp468.dts
@@ -101,3 +101,15 @@
bias-pull-up;
};
};
+
+&usbphy0 {
+ status = "okay";
+};
+
+&usb2 {
+ status = "okay";
+};
+
+&usb2_0_dwc {
+ dr_mode = "host";
+};
--
2.7.4