[PATCH] ath79: tplink-archer-c6-v2-us: fix inverted LED colors

Petr Štetiar ynezz at true.cz
Sat Apr 16 06:18:24 PDT 2022


From: "Rodrigo B. de Sousa Martins" <rodrigo.sousa.577 at gmail.com>

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 at gmail.com>
Signed-off-by: Petr Štetiar <ynezz at true.cz> [commit subject]
---
 target/linux/ath79/dts/qca9563_tplink_archer-c6-v2-us.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/ath79/dts/qca9563_tplink_archer-c6-v2-us.dts b/target/linux/ath79/dts/qca9563_tplink_archer-c6-v2-us.dts
index 76e19294f8e2..e6fd689c999f 100644
--- a/target/linux/ath79/dts/qca9563_tplink_archer-c6-v2-us.dts
+++ b/target/linux/ath79/dts/qca9563_tplink_archer-c6-v2-us.dts
@@ -43,12 +43,12 @@
 
 		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 {



More information about the openwrt-devel mailing list