ar71xx: add support for ALFA Network N5Q
[openwrt/openwrt.git] / target / linux / ar71xx / base-files / etc / board.d / 01_leds
index 97bf330..f2d66b2 100755 (executable)
@@ -129,13 +129,21 @@ dr531)
                ;;
        esac
        ;;
-ap91-5g)
+ap91-5g|\
+n5q)
        ucidef_set_led_netdev "lan" "LAN" "$board:green:lan" "eth0"
        ucidef_set_rssimon "wlan0" "200000" "1"
        ucidef_set_led_rssi "signal1" "SIGNAL1" "$board:red:signal1" "wlan0" "1" "100"
        ucidef_set_led_rssi "signal2" "SIGNAL2" "$board:orange:signal2" "wlan0" "25" "100"
        ucidef_set_led_rssi "signal3" "SIGNAL3" "$board:green:signal3" "wlan0" "50" "100"
        ucidef_set_led_rssi "signal4" "SIGNAL4" "$board:green:signal4" "wlan0" "75" "100"
+
+       case "$board" in
+       n5q)
+               ucidef_set_led_netdev "wan" "WAN" "$board:green:wan" "eth1"
+               ucidef_set_led_wlan "wlan" "WLAN" "$board:green:wlan" "phy0tpt"
+               ;;
+       esac
        ;;
 bhr-4grv2)
        ucidef_set_led_default "power" "POWER" "buffalo:green:power" "1"