ar71xx: add support for TP-LINK CPE210/220/510/520
[openwrt/openwrt.git] / target / linux / ar71xx / base-files / etc / uci-defaults / 01_leds
index 7255970622ae3a25dc0a61537a777b8cafc70079..c6ecde5946cf7a18477b75d6087a32853ce7ffe9 100755 (executable)
@@ -62,6 +62,16 @@ carambola2)
        ucidef_set_led_wlan "wlan" "WLAN" "carambola2:green:wlan" "phy0tpt"
        ;;
 
+cpe510)
+       ucidef_set_led_switch "lan0" "LAN0" "tp-link:green:lan0" "switch0" "0x20"
+       ucidef_set_led_switch "lan1" "LAN1" "tp-link:green:lan1" "switch0" "0x10"
+       ucidef_set_rssimon "wlan0" "40000" "1"
+       ucidef_set_led_rssi "rssilow" "RSSILOW" "tp-link:green:link1" "wlan0" "1" "100" "0" "13"
+       ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "tp-link:green:link2" "wlan0" "26" "100" "-25" "13"
+       ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "tp-link:green:link3" "wlan0" "51" "100" "-50" "13"
+       ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "tp-link:green:link4" "wlan0" "76" "100" "-75" "13"
+       ;;
+
 db120)
        ucidef_set_led_usbdev "usb" "USB" "db120:green:usb" "1-1"
        ;;
@@ -98,6 +108,10 @@ rb-2011uias-2hnd)
        ucidef_set_led_switch "eth10" "ETH10" "rb:green:eth10" "switch1" "0x02"
        ;;
 
+dhp-1565-a1)
+       ucidef_set_led_switch "wan" "WAN" "d-link:green:planet" "switch0" "0x20"
+       ;;
+
 dir-505-a1)
        ucidef_set_led_netdev "lan" "LAN" "d-link:green:power" "eth1"
        ;;
@@ -417,6 +431,12 @@ wndr3700)
        ucidef_set_led_usbdev "usb" "USB" "netgear:green:usb" "1-1"
        ;;
 
+r6100)
+       ucidef_set_led_netdev "wan" "WAN (green)" "netgear:green:wan" "eth0.2"
+       ucidef_set_led_usbdev "usb" "USB" "netgear:blue:usb" "1-1"
+       ucidef_set_led_wlan "wlan" "WLAN" "netgear:blue:wlan" "phy1tpt"
+       ;;
+
 wndr3700v4 | \
 wndr4300)
        ucidef_set_led_netdev "wan" "WAN (green)" "netgear:green:wan" "eth0.2"