]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
ipq806x: fix USB port for Nokia AC400i 23740/head
authorSebastian Schaper <openwrt@sebastianschaper.net>
Sat, 6 Jun 2026 18:00:57 +0000 (20:00 +0200)
committerJonas Jelonek <jelonek.jonas@gmail.com>
Sun, 14 Jun 2026 09:45:33 +0000 (11:45 +0200)
drop usb3_0 node, enable usb3_1 PHYs, set gpio58 for power enable

Signed-off-by: Sebastian Schaper <openwrt@sebastianschaper.net>
Link: https://github.com/openwrt/openwrt/pull/23740
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
target/linux/ipq806x/dts/qcom-ipq8065-ac400i.dts

index c3f0649fbe01eec345b59ec9032e9596f03acf05..ef30ff314d1415d77de1b67410d8e548055bf8c9 100644 (file)
                        input;
                };
        };
+
+       usb_pwr_en_pins: usb_pwr_en_pins {
+               mux {
+                       pins = "gpio58";
+                       function = "gpio";
+                       drive-strength = <12>;
+                       bias-pull-down;
+                       output-high;
+               };
+       };
 };
 
 &gsbi2 {
        };
 };
 
-&usb3_0 {
+&hs_phy_1 {
+       status = "okay";
+};
+
+&ss_phy_1 {
        status = "okay";
 };
 
 &usb3_1 {
        status = "okay";
+
+       pinctrl-0 = <&usb_pwr_en_pins>;
+       pinctrl-names = "default";
 };
 
 &pcie0 {