From: Adrian Schmutzler Date: Sun, 12 Apr 2020 19:57:41 +0000 (+0200) Subject: ath79: fix USB port LED assignment for ZyXEL NBG6716 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=97af28d23e8549ada86377bb7015d36e3017de68;p=openwrt%2Fstaging%2Faparcar.git 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 --- diff --git a/target/linux/ath79/dts/qca9558_zyxel_nbg6716.dts b/target/linux/ath79/dts/qca9558_zyxel_nbg6716.dts index a495bb187b..7fff1a78d9 100644 --- a/target/linux/ath79/dts/qca9558_zyxel_nbg6716.dts +++ b/target/linux/ath79/dts/qca9558_zyxel_nbg6716.dts @@ -38,14 +38,14 @@ label = "nbg6716:white:usb1"; gpios = <&gpio 4 GPIO_ACTIVE_LOW>; linux,default-trigger = "usbport"; - trigger-sources = <&hub_port0>; + trigger-sources = <&hub_port1>; }; usb2 { label = "nbg6716:white:usb2"; gpios = <&gpio 13 GPIO_ACTIVE_LOW>; linux,default-trigger = "usbport"; - trigger-sources = <&hub_port1>; + trigger-sources = <&hub_port0>; }; wifi2 {