ar71xx: add support for TP-Link Archer C25 v1
[openwrt/openwrt.git] / target / linux / ar71xx / base-files / etc / board.d / 01_leds
index 7248ab1941e843526f90e66aea4f5ed2ea16667a..87f99ea9d88993b318b38b9d4a89e5e99238ac21 100755 (executable)
@@ -54,6 +54,15 @@ sc1750|\
 sc450)
        ucidef_set_led_wlan "wlan" "WLAN" "$board:green:wlan" "phy0tpt"
        ;;
+archer-c25-v1)
+       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"
+       ucidef_set_led_switch "lan1" "LAN1" "$board:green:lan1" "switch0" "0x10"
+       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"
+       ;;
 archer-c59-v1|\
 archer-c60-v1)
        ucidef_set_led_switch "lan" "LAN" "$board:green:lan" "switch0" "0x1E"
@@ -205,6 +214,9 @@ cr5000)
        ucidef_set_led_wlan "wlan" "WLAN" "pcs:blue:wlan" "phy0tpt"
        ucidef_set_led_usbdev "usb" "USB" "pcs:white:wps" "1-1"
        ;;
+dr344)
+       ucidef_set_led_netdev "lan" "LAN" "$board:green:lan" "eth1"
+       ;;
 dragino2)
        ucidef_set_led_wlan "wlan" "WLAN" "$board:red:wlan" "phy0tpt"
        ucidef_set_led_netdev "lan" "LAN" "$board:red:lan" "eth0"
@@ -742,6 +754,16 @@ tl-wr840n-v3)
        ucidef_set_led_switch "lan" "LAN" "tp-link:green:lan" "switch0" "0x1E"
        ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
        ;;
+tl-wr942n-v1)
+       ucidef_set_led_switch "lan1" "LAN1" "$board:green:lan1" "switch0" "0x04"
+       ucidef_set_led_switch "lan2" "LAN2" "$board:green:lan2" "switch0" "0x08"
+       ucidef_set_led_switch "lan3" "LAN3" "$board:green:lan3" "switch0" "0x10"
+       ucidef_set_led_switch "lan4" "LAN4" "$board:green:lan4" "switch0" "0x02"
+       ucidef_set_led_netdev "wan" "WAN" "$board:green:wan" "eth0"
+       ucidef_set_led_wlan "wlan" "WLAN" "$board:green:wlan" "phy0tpt"
+       ucidef_set_led_usbdev "usb1" "USB1" "$board:green:usb1" "1-1.2"
+       ucidef_set_led_usbdev "usb2" "USB2" "$board:green:usb2" "1-1.1"
+       ;;
 tl-wr1043nd|\
 tl-wr1043nd-v2)
        ucidef_set_led_usbdev "usb" "USB" "tp-link:green:usb" "1-1"