[openwrt/openwrt] ath79: fix LED GPIOs for COMFAST CF-EW71 v2

LEDE Commits lede-commits at lists.infradead.org
Sun Aug 24 06:33:40 PDT 2025


hauke pushed a commit to openwrt/openwrt.git, branch openwrt-24.10:
https://git.openwrt.org/52ec0cbab8c1cf39014174508f67621d4490bba3

commit 52ec0cbab8c1cf39014174508f67621d4490bba3
Author: Felix Golatofski <git at xdfr.de>
AuthorDate: Mon Aug 4 16:59:39 2025 +0200

    ath79: fix LED GPIOs for COMFAST CF-EW71 v2
    
    The vendor DTS defined incorrect GPIOs for the LEDs, which caused them
    to not function properly. Initially, the WAN, WLAN LEDs appeared to
    work, but further testing showed that they were non-functional.
    
    This patch corrects the GPIO assignments in the DTS, restoring full LED
    functionality including blinking, except the power LED which cannot be
    software controlled.
    
    Tested on a CF-EW71 v2 unit.
    
    Fixes: ee3a6adc6c22 ("ath79: add support for Comfast CF-EW71 v2")
    Signed-off-by: Felix Golatofski <git at xdfr.de>
    Link: https://github.com/openwrt/openwrt/pull/19665
    (cherry picked from commit 9ce23ac84009d720bb6d65605508bf8a737b184d)
    Link: https://github.com/openwrt/openwrt/pull/19839
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 target/linux/ath79/dts/qca9531_comfast_cf-ew71-v2.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/ath79/dts/qca9531_comfast_cf-ew71-v2.dts b/target/linux/ath79/dts/qca9531_comfast_cf-ew71-v2.dts
index 2277646500..0c1e301c51 100644
--- a/target/linux/ath79/dts/qca9531_comfast_cf-ew71-v2.dts
+++ b/target/linux/ath79/dts/qca9531_comfast_cf-ew71-v2.dts
@@ -32,13 +32,13 @@
 		led_wan: wan {
 			function = LED_FUNCTION_WAN;
 			color = <LED_COLOR_ID_BLUE>;
-			gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
+			gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
 		};
 
 		wlan {
 			function = LED_FUNCTION_WLAN;
 			color = <LED_COLOR_ID_BLUE>;
-			gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
+			gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
 			linux,default-trigger = "phy0tpt";
 		};
 	};




More information about the lede-commits mailing list