diff options
author | John Crispin <blogic@openwrt.org> | 2013-12-25 17:04:50 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2013-12-25 17:04:50 +0000 |
commit | 4470e662e6cb52c62f5cf4f3ce63bd83a474b48b (patch) | |
tree | ba318c8f27d91c25bafe895e0438f9fb52f2a983 /target/linux/ramips/base-files/etc | |
parent | 81aaef64b0135082516fc753003dbeba0b469d97 (diff) | |
download | master-187ad058-4470e662e6cb52c62f5cf4f3ce63bd83a474b48b.tar.gz master-187ad058-4470e662e6cb52c62f5cf4f3ce63bd83a474b48b.tar.bz2 master-187ad058-4470e662e6cb52c62f5cf4f3ce63bd83a474b48b.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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39163 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files/etc')
-rwxr-xr-x | target/linux/ramips/base-files/etc/uci-defaults/01_leds | 7 | ||||
-rwxr-xr-x | target/linux/ramips/base-files/etc/uci-defaults/02_network | 1 |
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" |