diff options
author | John Crispin <john@openwrt.org> | 2013-12-25 17:04:50 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2013-12-25 17:04:50 +0000 |
commit | 9739a0b41baa88c233f76b93ac01805b7b635d94 (patch) | |
tree | 5bc94f89835ff88e1d8aa61d66236febd0475f15 /target/linux/ramips/base-files | |
parent | 93d8dc870ee07027ca1e27f19831d6127402336f (diff) | |
download | upstream-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')
4 files changed, 12 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" diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh index 972f41534f..d62002ea7c 100755 --- a/target/linux/ramips/base-files/lib/ramips.sh +++ b/target/linux/ramips/base-files/lib/ramips.sh @@ -127,6 +127,9 @@ ramips_board_detect() { *"La Fonera 2.0N") name="fonera20n" ;; + *"Asus RT-N14U") + name="rt-n14u" + ;; *"Asus RT-N13U") name="rt-n13u" ;; diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index 6836e16d96..babeaf2180 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -63,6 +63,7 @@ platform_check_image() { rp-n53 | \ rt-g32-b1 | \ rt-n10-plus | \ + rt-n14u | \ rt-n15 | \ rt-n56u | \ sl-r7205 | \ |