[PATCH 5/5] arm64: dts: qcom: ipq5018: Enable USB
From: Nitheesh Sekar
Date: Fri Aug 25 2023 - 05:37:31 EST
Enable USB2 in host mode.
Co-developed-by: Amandeep Singh <quic_amansing@xxxxxxxxxxx>
Signed-off-by: Amandeep Singh <quic_amansing@xxxxxxxxxxx>
Signed-off-by: Nitheesh Sekar <quic_nsekar@xxxxxxxxxxx>
---
arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts b/arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts
index e636a1cb9b77..cdf5e22ec54e 100644
--- a/arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts
+++ b/arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts
@@ -70,3 +70,15 @@
&xo_board_clk {
clock-frequency = <24000000>;
};
+
+&usbphy0 {
+ status = "okay";
+};
+
+&usb {
+ status = "okay";
+};
+
+&usb2_0_dwc {
+ dr_mode = "host";
+};
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project