ar71xx: add support for TL-WR802N Version 2
[openwrt/openwrt.git] / target / linux / ar71xx / base-files / etc / board.d / 01_leds
index 403715c002a7898551438b535f3a79cacd9883e9..4dc4bfd51da6c73517c9a03107f343aaceb94e61 100755 (executable)
@@ -51,8 +51,8 @@ antrouter-r1)
        ;;
 archer-c59-v1|\
 archer-c60-v1)
-       ucidef_set_led_switch "lan" "LAN" "$board:green:lan" "switch0" "0x3C"
-       ucidef_set_led_switch "wan" "WAN" "$board:green:wan" "switch0" "0x02"
+       ucidef_set_led_switch "lan" "LAN" "$board:green:lan" "switch0" "0x1E"
+       ucidef_set_led_netdev "wan" "WAN" "$board:green:wan" "eth0"
        ucidef_set_led_wlan "wlan" "WLAN" "$board:green:wlan2g" "phy1tpt"
        ucidef_set_led_wlan "wlan5g" "WLAN5G" "$board:green:wlan5g" "phy0tpt"
 
@@ -222,6 +222,15 @@ rb-750)
        ucidef_set_led_switch "port4" "port4" "rb750:green:port4" "switch0" "0x04"
        ucidef_set_led_switch "port5" "port5" "rb750:green:port5" "switch0" "0x02"
        ;;
+rb-750-r2|\
+rb-750up-r2)
+       ucidef_set_led_timer "user" "USER" "rb:green:user" "1000" "1000"
+       ucidef_set_led_netdev "port1" "port1" "rb:green:port1" "eth0"
+       ucidef_set_led_switch "port2" "port2" "rb:green:port2" "switch0" "0x10"
+       ucidef_set_led_switch "port3" "port2" "rb:green:port3" "switch0" "0x08"
+       ucidef_set_led_switch "port4" "port3" "rb:green:port4" "switch0" "0x04"
+       ucidef_set_led_switch "port5" "port5" "rb:green:port5" "switch0" "0x02"
+       ;;
 rb-941-2nd)
        ucidef_set_led_timer "user" "USR/ACT" "rb:green:user" "1000" "1000"
        ;;
@@ -658,6 +667,9 @@ tl-wpa8630)
 tl-wr802n-v1)
        ucidef_set_led_wlan "wlan" "WLAN" "tp-link:blue:system" "phy0tpt"
        ;;
+tl-wr802n-v2)
+       ucidef_set_led_wlan "wlan" "WLAN" "$board:green:system" "phy0tpt"
+       ;;
 tl-wr940n-v4|\
 tl-wr941nd-v6)
        ucidef_set_led_netdev "wan" "WAN" "tp-link:blue:wan" "eth0"