ar71xx: add default LED configuration for the TL-MR3020
authorGabor Juhos <juhosg@openwrt.org>
Wed, 4 Jan 2012 17:30:49 +0000 (17:30 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Wed, 4 Jan 2012 17:30:49 +0000 (17:30 +0000)
Also use the system LED for diagnostic.

SVN-Revision: 29652

target/linux/ar71xx/base-files/etc/diag.sh
target/linux/ar71xx/base-files/etc/uci-defaults/leds

index feed265602eec2549d41af084900b80b9a3845f6..d8bcb90ce707468e747d94c605a1f3be7c022bcf 100755 (executable)
@@ -94,6 +94,7 @@ get_status_led() {
        tew-632brp)
                status_led="tew-632brp:green:status"
                ;;
+       tl-mr3020 | \
        tl-mr3220 | \
        tl-mr3420 | \
        tl-wa901nd | \
index c637279faba12f455c3761b9e9323e79819db760..afa9abb1e3e938be79f083be787e1c25ff86e31b 100755 (executable)
@@ -135,6 +135,11 @@ om2p)
        set_led_netdev "port2" "port2" "om2p:blue:lan" "eth1"
        ;;
 
+tl-mr3020)
+       set_led_usbdev "usb" "USB" "tp-link:green:3g" "1-1"
+       set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
+       ;;
+
 tl-mr3220 | \
 tl-mr3420 )
        set_led_usbdev "usb" "USB" "tp-link:green:3g" "1-1"