ipq40xx: fix USB on Aruba AP-303H
authorRyan Salsbury <ryanrs@gmail.com>
Sat, 27 Apr 2024 00:27:36 +0000 (17:27 -0700)
committerRobert Marko <robimarko@gmail.com>
Sat, 27 Apr 2024 09:27:32 +0000 (11:27 +0200)
Enable USB 3.0 controller, disable USB 2.0 controller.

The USB 2.0 port on the AP-303H is actually connected to the USB 3.0
controller's HS phy. Enable the HS phy only, since the SS lanes are not
brought out to the connector.

Signed-off-by: Ryan Salsbury <ryanrs@gmail.com>
target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4029-ap-303h.dts

index 2e1fc6aedc8dc58cdcdbed713a4263d45cbba1d4..0dec567bc466d90946218c854afce6302abffcbe 100644 (file)
                        qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
                };
 
-               usb2@60f8800 {
-                       status = "okay";
-               };
-
                crypto@8e3a000 {
                        status = "okay";
                };
        };
 };
 
-&usb2_hs_phy {
+&usb3 {
+       status = "okay";
+};
+
+&usb3_dwc {
+       phys = <&usb3_hs_phy>;
+       phy-names = "usb2-phy";
+};
+
+&usb3_hs_phy {
        status = "okay";
 };