ar71xx: add support for TP-LINK WR1043ND v4
[openwrt/openwrt.git] / target / linux / ar71xx / base-files / etc / board.d / 01_leds
index a840e2f4cb6a571fd42911f7c03cfaf6e0a27214..8db964fc6bde3a90b0c52005610929919f716341 100755 (executable)
@@ -629,6 +629,15 @@ tl-wr1043nd-v2)
        ucidef_set_led_usbdev "usb" "USB" "tp-link:green:usb" "1-1"
        ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
        ;;
+tl-wr1043nd-v4)
+       ucidef_set_led_usbdev "usb" "USB" "tp-link:green:usb" "1-1"
+       ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
+       ucidef_set_led_switch "wan" "WAN" "tp-link:green:wan" "switch0" "0x20"
+       ucidef_set_led_switch "lan1" "LAN1" "tp-link:green:lan1" "switch0" "0x10"
+       ucidef_set_led_switch "lan2" "LAN2" "tp-link:green:lan2" "switch0" "0x08"
+       ucidef_set_led_switch "lan3" "LAN3" "tp-link:green:lan3" "switch0" "0x04"
+       ucidef_set_led_switch "lan4" "LAN4" "tp-link:green:lan4" "switch0" "0x02"
+       ;;
 tl-wr2543n)
        ucidef_set_led_usbdev "usb" "USB" "tp-link:green:usb" "1-1"
        ;;