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

From: Nitheesh Sekar
Date: Wed Aug 30 2023 - 22:57:41 EST



On 8/31/2023 1:41 AM, Dmitry Baryshkov wrote:
On Fri, 25 Aug 2023 at 12:37, Nitheesh Sekar <quic_nsekar@xxxxxxxxxxx> wrote:
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";
+};
Let me sort these for you:

- usb
- usb2_0_dwc
- usbphy0

Like in a dictionary.
I will remove "2_0" in usb2_0_dwc and then sort and reorder the nodes again in the latest V2 version.

Regards,
Nitheesh