ipq40xx: fix usbport trigger on the RT-AC58U with USB 2.0 devices
authorChristian Lamparter <chunkeey@gmail.com>
Fri, 10 Jan 2020 22:51:05 +0000 (23:51 +0100)
committerChristian Lamparter <chunkeey@gmail.com>
Sun, 12 Jan 2020 14:47:50 +0000 (15:47 +0100)
This patch partially reverts
"ipq40xx: remove unnecessary usb nodes in DTS for ASUS RT-AC58U"
as the change removed the usb2 port-trigger, so the LED would no
longer light-up when a USB 2.0 was inserted into the USB port.

Fixes: d0efb1ba95f3 ("ipq40xx: remove unnecessary usb nodes in DTS for ASUS RT-AC58U")
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-rt-ac58u.dts
target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-rt-ac58u.dts

index f046bdcb5e92bdf1ac899471b87b63dbd9839707..56725f94c5c7b1abe9df151ffd8fa547313b0c47 100644 (file)
                                        reg = <1>;
                                        #trigger-source-cells = <0>;
                                };
+
+                               usb3_port2: port@2 {
+                                       reg = <2>;
+                                       #trigger-source-cells = <0>;
+                               };
                        };
                };
 
                usb {
                        label = "rt-ac58u:blue:usb";
                        gpios = <&tlmm 0 GPIO_ACTIVE_HIGH>;
-                       trigger-sources = <&usb3_port1>;
+                       trigger-sources = <&usb3_port1>, <&usb3_port2>;
                        linux,default-trigger = "usbport";
                };
 
index 331d8e4d7469e84ace69f7481b17d7ebe241c6e2..a0030f77ce60bb550274c21bf6b4b20a68b21234 100644 (file)
                                        reg = <1>;
                                        #trigger-source-cells = <0>;
                                };
+
+                               usb3_port2: port@2 {
+                                       reg = <2>;
+                                       #trigger-source-cells = <0>;
+                               };
                        };
                };
 
                usb {
                        label = "rt-ac58u:blue:usb";
                        gpios = <&tlmm 0 GPIO_ACTIVE_HIGH>;
-                       trigger-sources = <&usb3_port1>;
+                       trigger-sources = <&usb3_port1>, <&usb3_port2>;
                        linux,default-trigger = "usbport";
                };