]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
ath79: fix LED GPIOs for COMFAST CF-EW71 v2 19665/head
authorFelix Golatofski <git@xdfr.de>
Mon, 4 Aug 2025 14:59:39 +0000 (16:59 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Thu, 7 Aug 2025 15:35:59 +0000 (17:35 +0200)
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@xdfr.de>
Link: https://github.com/openwrt/openwrt/pull/19665
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/ath79/dts/qca9531_comfast_cf-ew71-v2.dts

index c5a96c661360ef6439814ceb857800689e576687..934cb19a58b0dd2d76e64030ee6b66f7f2320956 100644 (file)
                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";
                };
        };