ath79: fix USB port LED assignment for ZyXEL NBG6716

The USB LED assignment to internal ports was swapped.

Fix it.

We also explicitly checked that the LED label numbers match those
on the device.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
Adrian Schmutzler 2020-04-12 21:57:41 +02:00
parent f5a9181d6e
commit 97af28d23e

View File

@ -38,14 +38,14 @@
label = "nbg6716:white:usb1"; label = "nbg6716:white:usb1";
gpios = <&gpio 4 GPIO_ACTIVE_LOW>; gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
linux,default-trigger = "usbport"; linux,default-trigger = "usbport";
trigger-sources = <&hub_port0>; trigger-sources = <&hub_port1>;
}; };
usb2 { usb2 {
label = "nbg6716:white:usb2"; label = "nbg6716:white:usb2";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>; gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
linux,default-trigger = "usbport"; linux,default-trigger = "usbport";
trigger-sources = <&hub_port1>; trigger-sources = <&hub_port0>;
}; };
wifi2 { wifi2 {