ar71xx: add support for TP-LINK Archer C7 v4
[openwrt/staging/hauke.git] / target / linux / ar71xx / base-files / etc / board.d / 01_leds
index 0694fe954f006c39bf20248c70a6f9d32d07121b..27e6c8a0336df0a4c8026a0c34e7868b366b1cfa 100755 (executable)
@@ -58,7 +58,8 @@ sc1750|\
 sc450)
        ucidef_set_led_wlan "wlan" "WLAN" "$board:green:wlan" "phy0tpt"
        ;;
-archer-c25-v1)
+archer-c25-v1|\
+archer-c7-v4)
        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"
@@ -66,6 +67,12 @@ archer-c25-v1)
        ucidef_set_led_switch "lan2" "LAN2" "$board:green:lan2" "switch0" "0x08"
        ucidef_set_led_switch "lan3" "LAN3" "$board:green:lan3" "switch0" "0x04"
        ucidef_set_led_switch "lan4" "LAN4" "$board:green:lan4" "switch0" "0x02"
+       case "$board" in
+               archer-c7-v4)
+                       ucidef_set_led_usbdev "usb1" "USB1" "$board:green:usb1" "1-1"
+                       ucidef_set_led_usbdev "usb2" "USB2" "$board:green:usb2" "2-1"
+               ;;
+       esac
        ;;
 archer-c58-v1|\
 archer-c59-v1|\