aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-08-22 20:12:24 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-08-22 20:12:24 +0000
commit8744f8d183bd9ba14c4aa28e93ff8a8fae85f494 (patch)
tree1c581deea8d357c0a0c788050d0c109614d538aa /target/linux/ar71xx/base-files
parent8b3d95bba9b2bb0930ba2aa14b06aa2ec882b38a (diff)
downloadupstream-8744f8d183bd9ba14c4aa28e93ff8a8fae85f494.tar.gz
upstream-8744f8d183bd9ba14c4aa28e93ff8a8fae85f494.tar.bz2
upstream-8744f8d183bd9ba14c4aa28e93ff8a8fae85f494.zip
ar71xx: TEW-712BR user space support
SVN-Revision: 33232
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/leds9
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/network1
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh1
5 files changed, 17 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index 406d0b1d1c..6759cf0437 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -112,6 +112,9 @@ get_status_led() {
tew-673gru)
status_led="trendnet:blue:wps"
;;
+ tew-712br)
+ status_led="trendnet:green:power"
+ ;;
tl-mr3020)
status_led="tp-link:green:wps"
;;
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/leds b/target/linux/ar71xx/base-files/etc/uci-defaults/leds
index 0f17f9b8d0..5e2548e520 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/leds
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/leds
@@ -76,6 +76,15 @@ om2p-lc)
ucidef_set_led_netdev "port2" "port2" "om2p:blue:lan" "eth1"
;;
+tew-712br)
+ ucidef_set_led_netdev "wan" "WAN" "trendnet:green:wan" "eth1"
+ ucidef_set_led_switch "lan1" "LAN1" "trendnet:green:lan1" "switch0" "0x02"
+ ucidef_set_led_switch "lan2" "LAN2" "trendnet:green:lan2" "switch0" "0x04"
+ ucidef_set_led_switch "lan3" "LAN3" "trendnet:green:lan3" "switch0" "0x08"
+ ucidef_set_led_switch "lan4" "LAN4" "trendnet:green:lan4" "switch0" "0x10"
+ ucidef_set_led_wlan "wlan" "WLAN" "trendnet:green:wlan" "phy0tpt"
+ ;;
+
tl-mr11u | \
tl-mr3020)
ucidef_set_led_usbdev "usb" "USB" "tp-link:green:3g" "1-1"
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/network b/target/linux/ar71xx/base-files/etc/uci-defaults/network
index 31d7572338..440771641b 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/network
@@ -167,6 +167,7 @@ ja76pf |\
rb-750 |\
rb-751 |\
tew-632brp |\
+tew-712br |\
tl-mr3220 |\
tl-mr3420 |\
tl-wr741nd |\
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index bb92b96144..7df2eec080 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -300,6 +300,9 @@ ar71xx_board_detect() {
*TEW-673GRU)
name="tew-673gru"
;;
+ *TEW-712BR)
+ name="tew-712br"
+ ;;
*"TL-WR1041N v2")
name="tl-wr1041n-v2"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index f1c0164ee3..b762f6bab1 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -106,6 +106,7 @@ platform_check_image() {
mzk-w300nh | \
tew-632brp | \
tew-673gru | \
+ tew-712br | \
wrt400n | \
airrouter | \
bullet-m | \