mediatek: filogic: bpi-r3-mini: bind WLAN LED-s to phy*-ap0
authorTianling Shen <cnsztl@immortalwrt.org>
Fri, 16 Feb 2024 05:29:44 +0000 (13:29 +0800)
committerDaniel Golle <daniel@makrotopia.org>
Fri, 16 Feb 2024 13:56:01 +0000 (13:56 +0000)
For showing wlan status.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
target/linux/mediatek/filogic/base-files/etc/board.d/01_leds

index 9abf0f9b18a4eea0fe0bed2b93bbbad763c4068a..206f7788f53d3886fb2329eb1c941ab8996d7c05 100644 (file)
@@ -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"