diff mbox series

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

Message ID 20220416131824.16012-1-ynezz@true.cz
State Accepted
Delegated to: Petr Štetiar
Headers show
Series ath79: tplink-archer-c6-v2-us: fix inverted LED colors | expand

Commit Message

Petr Štetiar April 16, 2022, 1:18 p.m. UTC
From: "Rodrigo B. de Sousa Martins" <rodrigo.sousa.577@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@gmail.com>
Signed-off-by: Petr Štetiar <ynezz@true.cz> [commit subject]
---
 target/linux/ath79/dts/qca9563_tplink_archer-c6-v2-us.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

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 {