From: "Rodrigo B. de Sousa Martins" <[email protected]>

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 <[email protected]>
Signed-off-by: Petr Štetiar <[email protected]> [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 {

_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to