]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
mediatek: fix WLAN LED indication for ipTIME AX3000SE 23723/head
authorDonghyun Ko <nyankosoftware@gmail.com>
Tue, 9 Jun 2026 12:12:33 +0000 (21:12 +0900)
committerJonas Jelonek <jelonek.jonas@gmail.com>
Sun, 14 Jun 2026 09:09:46 +0000 (11:09 +0200)
OpenWrt has recently added the "network" LED trigger to support routers
that have a single WLAN LED for multiple phys.

This patch replaces the temporary workaround used during initial
support, where the LED was triggered only by activity on a single phy.

With this change, the WLAN LED on the ipTIME AX3000SE now correctly
indicates activity on both `phy0` and `phy1`.

Signed-off-by: Donghyun Ko <nyankosoftware@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/23723
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
target/linux/mediatek/dts/mt7981b-iptime-ax3000se.dts
target/linux/mediatek/filogic/base-files/etc/board.d/01_leds
target/linux/mediatek/image/filogic.mk

index bf93e9de98eedaa10ffa4088d6bd2a2574d2d39e..98907e25ba74e989b27e750ca01f875f6664aadb 100644 (file)
@@ -55,6 +55,7 @@
                        color = <LED_COLOR_ID_BLUE>;
                        function = LED_FUNCTION_WLAN;
                        gpios = <&pio 7 GPIO_ACTIVE_LOW>;
+                       linux,default-trigger = "network";
                };
        };
 };
index f85664756221526f5965188defb2766903ae7310..852f864ab5921f3e348a00ca590c5f931d5b4700 100644 (file)
@@ -132,9 +132,6 @@ huasifei,wh3000r-nand)
 iptime,ax3000q)
        ucidef_set_led_netdev "wan" "WAN" "amber:wan" "wan" "link tx rx"
        ;;
-iptime,ax3000se)
-       ucidef_set_led_netdev "wlan" "WLAN" "blue:wlan" "phy1-ap0"
-       ;;
 iptime,ax3000sm)
        ucidef_set_led_netdev "wan" "wan" "amber:wan" "eth1" "link tx rx"
        ;;
index 2eb91e2c7ff596e7b4a58e992538fbb21b5e6cf3..5460fcf2a47e7afa56db81bdce0ed5d56f53bd08 100644 (file)
@@ -1916,7 +1916,7 @@ define Device/iptime_ax3000se
   IMAGES := factory.bin sysupgrade.bin
   IMAGE/factory.bin := sysupgrade-tar | append-metadata | check-size | iptime-crc32 ax3kse
   IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
-  DEVICE_PACKAGES := kmod-mt7915e kmod-mt7981-firmware mt7981-wo-firmware
+  DEVICE_PACKAGES := kmod-mt7915e kmod-mt7981-firmware mt7981-wo-firmware kmod-ledtrig-network
   SUPPORTED_DEVICES += mediatek,mt7981-spim-snand-rfb
 endef
 TARGET_DEVICES += iptime_ax3000se