ar71xx: add support for TP-LINK TL-WR840N v2 and v3
[openwrt/openwrt.git] / target / linux / ar71xx / base-files / etc / board.d / 01_leds
index a5b27306034ad0129be22711e8a41dde2ccde4a4..082b6c478ee891270b115f01979f82f9a68189c5 100755 (executable)
@@ -249,6 +249,9 @@ rb-952ui-5ac2nd)
        ucidef_set_led_switch "port5" "port5" "rb:green:port5" "switch0" "0x02"
        ucidef_set_led_wlan "wlan" "WLAN" "rb:blue:wlan" "phy0tpt"
        ;;
+rb-962uigs-5hact2hnt)
+       ucidef_set_led_timer "user" "USER/SFP" "rb:green:user" "1000" "1000"
+       ;;
 rb-2011l|\
 rb-2011uas|\
 rb-2011uias|\
@@ -689,6 +692,12 @@ tl-wr941nd-v6)
        ucidef_set_led_switch "lan4" "LAN4" "tp-link:blue:lan4" "switch0" "0x02"
        ucidef_set_led_wlan "wlan" "WLAN" "tp-link:blue:wlan" "phy0tpt"
        ;;
+tl-wr840n-v2|\
+tl-wr840n-v3)
+       ucidef_set_led_netdev "wan" "WAN" "tp-link:green:wan" "eth1"
+       ucidef_set_led_switch "lan" "LAN" "tp-link:green:lan" "switch0" "0x1E"
+       ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
+       ;;
 tl-wr841n-v9|\
 tl-wr841n-v11|\
 tl-wr842n-v3)