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

LEDE Commits lede-commits at lists.infradead.org
Tue Jul 12 00:26:02 PDT 2022


ynezz pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/ae07b9cc6198ac7f68a52dc6f3da5c86d0393903

commit ae07b9cc6198ac7f68a52dc6f3da5c86d0393903
Author: Rodrigo B. de Sousa Martins <rodrigo.sousa.577 at gmail.com>
AuthorDate: Mon Nov 15 13:23:27 2021 -0300

    ath79: tplink-archer-c6-v2-us: fix inverted LED colors
    
    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 76e19294f8..e6fd689c99 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 lede-commits mailing list