From: Donghyun Ko Date: Tue, 9 Jun 2026 12:12:33 +0000 (+0900) Subject: mediatek: fix WLAN LED indication for ipTIME AX3000SE X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e697c05dfd356765f4ce9aaf2698fca86cda2fa;p=thirdparty%2Fopenwrt.git mediatek: fix WLAN LED indication for ipTIME AX3000SE 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 Link: https://github.com/openwrt/openwrt/pull/23723 Signed-off-by: Jonas Jelonek --- diff --git a/target/linux/mediatek/dts/mt7981b-iptime-ax3000se.dts b/target/linux/mediatek/dts/mt7981b-iptime-ax3000se.dts index bf93e9de98e..98907e25ba7 100644 --- a/target/linux/mediatek/dts/mt7981b-iptime-ax3000se.dts +++ b/target/linux/mediatek/dts/mt7981b-iptime-ax3000se.dts @@ -55,6 +55,7 @@ color = ; function = LED_FUNCTION_WLAN; gpios = <&pio 7 GPIO_ACTIVE_LOW>; + linux,default-trigger = "network"; }; }; }; diff --git a/target/linux/mediatek/filogic/base-files/etc/board.d/01_leds b/target/linux/mediatek/filogic/base-files/etc/board.d/01_leds index f8566475622..852f864ab59 100644 --- a/target/linux/mediatek/filogic/base-files/etc/board.d/01_leds +++ b/target/linux/mediatek/filogic/base-files/etc/board.d/01_leds @@ -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" ;; diff --git a/target/linux/mediatek/image/filogic.mk b/target/linux/mediatek/image/filogic.mk index 2eb91e2c7ff..5460fcf2a47 100644 --- a/target/linux/mediatek/image/filogic.mk +++ b/target/linux/mediatek/image/filogic.mk @@ -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