ath79: tplink-archer-c6-v2-us: fix inverted LED colors
authorRodrigo B. de Sousa Martins <rodrigo.sousa.577@gmail.com>
Mon, 15 Nov 2021 16:23:27 +0000 (13:23 -0300)
committerPetr Štetiar <ynezz@true.cz>
Tue, 12 Jul 2022 07:25:43 +0000 (09:25 +0200)
The amber and green wan led color was inverted in dts file, which ends
up leaving the wan led amber when the connection is established, so,
switch gpio led number (7 and 8) in qca9563_tplink_archer-c6-v2-us.dts.

Tip: the /etc/config/system file needs to be regenerated.

Signed-off-by: Rodrigo B. de Sousa Martins <rodrigo.sousa.577@gmail.com>
Signed-off-by: Petr Štetiar <ynezz@true.cz> [commit subject]
target/linux/ath79/dts/qca9563_tplink_archer-c6-v2-us.dts

index 76e19294f8e2799a6f51cd35e5642e2025fb0c1a..e6fd689c999fd466b191247ffdac5c5fa3ad17a8 100644 (file)
 
                wan {
                        label = "green:wan";
-                       gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
                };
 
                wan_fail {
                        label = "amber:wan";
-                       gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
                };
 
                wps {