aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/01_leds9
-rw-r--r--target/linux/ar71xx/base-files/etc/diag.sh7
2 files changed, 15 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/etc/board.d/01_leds b/target/linux/ar71xx/base-files/etc/board.d/01_leds
index 2a1138c443..4490c095f0 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/01_leds
+++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds
@@ -115,6 +115,15 @@ cf-e316n-v2)
ucidef_set_led_netdev "wan" "WAN" "$board:blue:wan" "eth1"
ucidef_set_led_wlan "wlan" "WLAN" "$board:blue:wlan" "phy0tpt"
;;
+cf-e320n-v2)
+ ucidef_set_led_netdev "lan" "LAN" "$board:green:lan" "eth0"
+ ucidef_set_led_netdev "wan" "WAN" "$board:red:wan" "eth1"
+ ucidef_set_led_wlan "wlan" "WLAN" "$board:blue:wlan" "phy0tpt"
+ ;;
+cf-e520n|\
+cf-e530n)
+ ucidef_set_led_netdev "wan" "WAN" "$board:blue:wan" "eth1"
+ ;;
cpe210|\
cpe510)
ucidef_set_led_switch "lan0" "LAN0" "tp-link:green:lan0" "switch0" "0x20"
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index bfd619a211..e1e76a44f6 100644
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -86,9 +86,14 @@ get_status_led() {
cap4200ag)
status_led="senao:green:pwr"
;;
- cf-e316n-v2)
+ cf-e316n-v2|\
+ cf-e520n|\
+ cf-e530n)
status_led="$board:blue:wan"
;;
+ cf-e320n-v2)
+ status_led="$board:blue:wlan"
+ ;;
cpe510)
status_led="tp-link:green:link4"
;;