aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc/uci-defaults
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-12-25 17:04:50 +0000
committerJohn Crispin <john@openwrt.org>2013-12-25 17:04:50 +0000
commit9739a0b41baa88c233f76b93ac01805b7b635d94 (patch)
tree5bc94f89835ff88e1d8aa61d66236febd0475f15 /target/linux/ramips/base-files/etc/uci-defaults
parent93d8dc870ee07027ca1e27f19831d6127402336f (diff)
downloadupstream-9739a0b41baa88c233f76b93ac01805b7b635d94.tar.gz
upstream-9739a0b41baa88c233f76b93ac01805b7b635d94.tar.bz2
upstream-9739a0b41baa88c233f76b93ac01805b7b635d94.zip
ramips: add support for RT-N14U (mt7620n based) board
added dts file and userspace scripts modified to support Asus RT-N14U board current support status: usb works ethernet works buttons reset, wps leds asus:blue:[usb|lan|wan|air|power] i2c not tested uart not tested wifi not yet Signed-off-by: Pavel Löbl <lobl.pavel@gmail.com> SVN-Revision: 39163
Diffstat (limited to 'target/linux/ramips/base-files/etc/uci-defaults')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/01_leds7
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/02_network1
2 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/01_leds b/target/linux/ramips/base-files/etc/uci-defaults/01_leds
index 44951d8e23..fe22875596 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/ramips/base-files/etc/uci-defaults/01_leds
@@ -141,6 +141,13 @@ case $board in
wnce2001)
set_wifi_led "netgear:green:wlan"
;;
+ rt-n14u)
+ ucidef_set_led_default "power" "power" "asus:blue:power" "1"
+ ucidef_set_led_netdev "lan" "lan" "asus:blue:lan" "eth0.1"
+ ucidef_set_led_netdev "wan" "wan" "asus:blue:wan" "eth0.2"
+ set_wifi_led "asus:blue:air"
+ set_usb_led "asus:blue:usb"
+ ;;
rp-n53)
ucidef_set_led_netdev "eth" "Network" "asus:white:back" "eth0"
set_wifi_led "asus:blue:wifi"
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/02_network b/target/linux/ramips/base-files/etc/uci-defaults/02_network
index 63458eda0a..a9914fdb87 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ramips/base-files/etc/uci-defaults/02_network
@@ -87,6 +87,7 @@ ramips_setup_interfaces()
f5d8235-v1 | \
f5d8235-v2 | \
hg255d | \
+ rt-n14u | \
ur-326n4g)
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
ucidef_add_switch "switch0" "1" "1"