From: Rodrigo B. de Sousa Martins Date: Mon, 15 Nov 2021 16:23:27 +0000 (-0300) Subject: ath79: tplink-archer-c6-v2-us: fix inverted LED colors X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=ae07b9cc6198ac7f68a52dc6f3da5c86d0393903;p=openwrt%2Fstaging%2Fsvanheule.git 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 Signed-off-by: Petr Štetiar [commit subject] --- 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 {