[PATCH 5/5] arm64: dts: qcom: ipq5018: Enable USB

Nitheesh Sekar quic_nsekar at quicinc.com
Fri Aug 25 02:35:31 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>
---
 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




More information about the linux-phy mailing list