[PATCH V2 4/4] arm64: dts: qcom: ipq5018: Enable USB

Nitheesh Sekar quic_nsekar at quicinc.com
Wed Aug 30 04:17:22 PDT 2023


Enable USB2 in host mode.

Co-developed-by: Amandeep Singh <quic_amansing at quicinc.com>
Signed-off-by: Amandeep Singh <quic_amansing at quicinc.com>
Signed-off-by: Nitheesh Sekar <quic_nsekar at quicinc.com>
---
V2:
	Sort and reorder USB related nodes.
---
 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..3eb3a98e3e12 100644
--- a/arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts
+++ b/arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts
@@ -67,6 +67,18 @@
 	};
 };
 
+&usbphy0 {
+	status = "okay";
+};
+
+&usb {
+	status = "okay";
+};
+
+&usb2_0_dwc {
+	dr_mode = "host";
+};
+
 &xo_board_clk {
 	clock-frequency = <24000000>;
 };
-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project




More information about the linux-phy mailing list