summaryrefslogtreecommitdiff
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-12-25 17:04:50 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-12-25 17:04:50 +0000
commita48fc121c4b72e256a5ccc3b2f7fe8977d0fad60 (patch)
treeba318c8f27d91c25bafe895e0438f9fb52f2a983 /target/linux/ramips/base-files
parent314d15feab70058d7356ea5b66c6c31de186ebf1 (diff)
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')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/01_leds7
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/02_network1
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh1
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 | \