From: Tianling Shen Date: Fri, 16 Feb 2024 05:29:44 +0000 (+0800) Subject: mediatek: filogic: bpi-r3-mini: bind WLAN LED-s to phy*-ap0 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=eebf86555722650bddd3424fffc1216ca9df9891;p=openwrt%2Fstaging%2Fthess.git mediatek: filogic: bpi-r3-mini: bind WLAN LED-s to phy*-ap0 For showing wlan status. Signed-off-by: Tianling Shen --- 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 9abf0f9b18..206f7788f5 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 @@ -17,6 +17,8 @@ bananapi,bpi-r3-mini) ucidef_set_led_netdev "lan2" "LAN" "mdio-bus:0e:yellow:lan" "eth0" "link_2500 link_100 tx rx" ucidef_set_led_netdev "wan1" "WAN" "mdio-bus:0f:green:wan" "eth1" "link_2500 link_1000 tx rx" ucidef_set_led_netdev "wan2" "WAN" "mdio-bus:0f:yellow:wan" "eth1" "link_2500 link_100 tx rx" + ucidef_set_led_netdev "wlan2g" "WLAN2G" "blue:wlan-1" "phy0-ap0" + ucidef_set_led_netdev "wlan5g" "WLAN5G" "blue:wlan-2" "phy1-ap0" ;; bananapi,bpi-r4) ucidef_set_led_netdev "wan" "wan" "mt7530-0:00:green:lan" "wan" "link tx rx"