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 <nyankosoftware@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/23723
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
This commit is contained in:
Donghyun Ko 2026-06-09 21:12:33 +09:00 committed by Jonas Jelonek
parent 312116bda9
commit 9e697c05df
No known key found for this signature in database
3 changed files with 2 additions and 4 deletions

View file

@ -55,6 +55,7 @@
color = <LED_COLOR_ID_BLUE>;
function = LED_FUNCTION_WLAN;
gpios = <&pio 7 GPIO_ACTIVE_LOW>;
linux,default-trigger = "network";
};
};
};

View 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"
;;

View 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