mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 23:42:43 +00: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:
parent
693c8fb0e3
commit
34b10b468e
@ -69,14 +69,14 @@
|
|||||||
usb1 {
|
usb1 {
|
||||||
label = "tp-link:green:usb1";
|
label = "tp-link:green:usb1";
|
||||||
gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
|
||||||
trigger-sources = <&hub_port0>;
|
trigger-sources = <&hub_port1>;
|
||||||
linux,default-trigger = "usbport";
|
linux,default-trigger = "usbport";
|
||||||
};
|
};
|
||||||
|
|
||||||
usb2 {
|
usb2 {
|
||||||
label = "tp-link:green:usb2";
|
label = "tp-link:green:usb2";
|
||||||
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
|
||||||
trigger-sources = <&hub_port1>;
|
trigger-sources = <&hub_port0>;
|
||||||
linux,default-trigger = "usbport";
|
linux,default-trigger = "usbport";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user