[openwrt/openwrt] ipq40xx: fix USB on Aruba AP-303H

LEDE Commits lede-commits at lists.infradead.org
Sat Apr 27 02:27:36 PDT 2024


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/026fbd650a58c22512ca64e85ccb5b318af3aaa7

commit 026fbd650a58c22512ca64e85ccb5b318af3aaa7
Author: Ryan Salsbury <ryanrs at gmail.com>
AuthorDate: Fri Apr 26 17:27:36 2024 -0700

    ipq40xx: fix USB on Aruba AP-303H
    
    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 at gmail.com>
---
 .../arch/arm/boot/dts/qcom/qcom-ipq4029-ap-303h.dts       | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4029-ap-303h.dts b/target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4029-ap-303h.dts
index 2e1fc6aedc..0dec567bc4 100644
--- a/target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4029-ap-303h.dts
+++ b/target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4029-ap-303h.dts
@@ -64,10 +64,6 @@
 			qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
 		};
 
-		usb2 at 60f8800 {
-			status = "okay";
-		};
-
 		crypto at 8e3a000 {
 			status = "okay";
 		};
@@ -430,7 +426,16 @@
 	};
 };
 
-&usb2_hs_phy {
+&usb3 {
+	status = "okay";
+};
+
+&usb3_dwc {
+	phys = <&usb3_hs_phy>;
+	phy-names = "usb2-phy";
+};
+
+&usb3_hs_phy {
 	status = "okay";
 };
 




More information about the lede-commits mailing list