1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-19 05:58:53 +02:00

ath79: TP-Link Archer C7 v4 swap usb port leds

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>
This commit is contained in:
David Santamaría Rogado 2019-02-24 16:28:23 +01:00 committed by Christian Lamparter
parent 693c8fb0e3
commit 34b10b468e

@ -69,14 +69,14 @@
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";
};