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>
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";
};