ar71xx: user space support update tl-wr842n_v2 add default led support
[openwrt/openwrt.git] / target / linux / ar71xx / base-files / etc / uci-defaults / 01_leds
index cde54f39092d9a5107f7dec406a7bf0d8a21c305..ec3163171c37183b8ce24ab896e03ea412f4ba22 100755 (executable)
@@ -238,6 +238,16 @@ tl-wr841n-v8)
        ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
        ;;
 
+tl-wr842n-v2)
+       ucidef_set_led_netdev "wan" "WAN" "tp-link:green:wan" "eth0"
+       ucidef_set_led_switch "lan1" "LAN1" "tp-link:green:lan1" "switch0" "0x04"
+       ucidef_set_led_switch "lan2" "LAN2" "tp-link:green:lan2" "switch0" "0x08"
+       ucidef_set_led_switch "lan3" "LAN3" "tp-link:green:lan3" "switch0" "0x10"
+       ucidef_set_led_switch "lan4" "LAN4" "tp-link:green:lan4" "switch0" "0x02"
+       ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
+       ucidef_set_led_usbdev "usb" "USB" "tp-link:green:3g" "1-1"
+       ;;
+
 tl-wr941nd | \
 tl-wr1041n-v2)
        ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"