aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-10-20 06:28:48 +0000
committerJohn Crispin <john@openwrt.org>2014-10-20 06:28:48 +0000
commit7bac455a4ccd4a55e5db64c7eac224c98be045b6 (patch)
treeedcdfb532685bf6b56ee44dd9609ed873477b77e /target/linux/ramips/base-files/etc
parent5b40a150ea08548a67d53a45b196f5d57c63f17a (diff)
downloadupstream-7bac455a4ccd4a55e5db64c7eac224c98be045b6.tar.gz
upstream-7bac455a4ccd4a55e5db64c7eac224c98be045b6.tar.bz2
upstream-7bac455a4ccd4a55e5db64c7eac224c98be045b6.zip
ramips: add support for Nexx WT3020 devices
SVN-Revision: 42983
Diffstat (limited to 'target/linux/ramips/base-files/etc')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/01_leds3
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network1
-rwxr-xr-xtarget/linux/ramips/base-files/etc/diag.sh3
3 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds
index 26f384d318..7ca7ffb0fd 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -213,6 +213,9 @@ case $board in
wt1520)
set_wifi_led "rt2800pci-phy0::radio"
;;
+ wt3020)
+ ucidef_set_led_default "power" "power" "nexx:blue:power" "0"
+ ;;
y1 |\
y1s)
ucidef_set_led_default "power" "power" "lenovo:blue:power" "1"
diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network
index 7ecec5fd27..ff8fbc079d 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -127,6 +127,7 @@ ramips_setup_interfaces()
hg255d | \
rt-n14u | \
wrtnode | \
+ wt3020 | \
ur-326n4g | \
zbt-wa05)
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index aed7d6ab2e..297709950d 100755
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -170,6 +170,9 @@ get_status_led() {
nexx-wt1520)
status_led="nexx-wt1520:white:power"
;;
+ nexx-wt3020)
+ status_led="nexx:blue:power"
+ ;;
mzk-w300nh2)
status_led="mzkw300nh2:green:power"
;;