ath79: TP-Link Archer C7 v4 swap usb port leds
authorDavid Santamaría Rogado <howl.nsp@gmail.com>
Sun, 24 Feb 2019 15:28:23 +0000 (16:28 +0100)
committerChristian Lamparter <chunkeey@gmail.com>
Thu, 28 Feb 2019 10:32:55 +0000 (11:32 +0100)
USB 1 triggers usb2 led and USB 2 triggers usb1.
Lower LED is usb1 and upper LED usb2.

Signed-off-by: David Santamaría Rogado <howl.nsp@gmail.com>
target/linux/ath79/dts/qca9563_tplink_archer-c7-v4.dts

index 5a25ce3..94411f2 100644 (file)
                usb1 {
                        label = "tp-link:green:usb1";
                        gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
-                       trigger-sources = <&hub_port0>;
+                       trigger-sources = <&hub_port1>;
                        linux,default-trigger = "usbport";
                };
 
                usb2 {
                        label = "tp-link:green:usb2";
                        gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
-                       trigger-sources = <&hub_port1>;
+                       trigger-sources = <&hub_port0>;
                        linux,default-trigger = "usbport";
                };