summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh1
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/leds5
2 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index feed26560..d8bcb90ce 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -94,6 +94,7 @@ get_status_led() {
tew-632brp)
status_led="tew-632brp:green:status"
;;
+ tl-mr3020 | \
tl-mr3220 | \
tl-mr3420 | \
tl-wa901nd | \
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/leds b/target/linux/ar71xx/base-files/etc/uci-defaults/leds
index c637279fa..afa9abb1e 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/leds
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/leds
@@ -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"