[PATCH V4 4/4] arm64: dts: qcom: ipq5018: Enable USB
Nitheesh Sekar
quic_nsekar at quicinc.com
Sun Sep 3 23:36:35 PDT 2023
Enable USB2 in host mode.
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
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>
---
V3:
Renamed usb2_0_dwc to usb_dwc and sorted
the USB related nodes.
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..8460b538eb6a 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 @@
};
};
+&usb {
+ status = "okay";
+};
+
+&usb_dwc {
+ dr_mode = "host";
+};
+
+&usbphy0 {
+ status = "okay";
+};
+
&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