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:
parent
312116bda9
commit
9e697c05df
3 changed files with 2 additions and 4 deletions
|
|
@ -55,6 +55,7 @@
|
|||
color = <LED_COLOR_ID_BLUE>;
|
||||
function = LED_FUNCTION_WLAN;
|
||||
gpios = <&pio 7 GPIO_ACTIVE_LOW>;
|
||||
linux,default-trigger = "network";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
;;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue