aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-11-14 16:54:15 +0000
committerJohn Crispin <blogic@openwrt.org>2014-11-14 16:54:15 +0000
commit3fbd5a35e314d88f2aa9390ab0e201a09f034f88 (patch)
tree8c69682119fe88645cdb74a271ddbb0799d1f6db /target/linux/ar71xx
parentbc8ba2c3c21c258b1db3489c4160883c4079edf3 (diff)
downloadupstream-3fbd5a35e314d88f2aa9390ab0e201a09f034f88.tar.gz
upstream-3fbd5a35e314d88f2aa9390ab0e201a09f034f88.tar.bz2
upstream-3fbd5a35e314d88f2aa9390ab0e201a09f034f88.zip
ar71xx: add user-space support for the OpenMesh MR900 board
Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43259 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/01_leds6
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/02_network1
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
4 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index b3a8fc5cab..3c001a0d0c 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -103,6 +103,9 @@ get_status_led() {
mr600v2)
status_led="mr600:blue:power"
;;
+ mr900)
+ status_led="mr900:blue:power"
+ ;;
mynet-n600 | \
mynet-n750)
status_led="wd:blue:power"
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
index 3547f49de4..9685ff076a 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
@@ -152,6 +152,12 @@ mr600)
ucidef_set_led_wlan "wlan58" "WLAN58" "mr600:green:wlan58" "phy0tpt"
;;
+mr900)
+ ucidef_set_led_netdev "lan" "LAN" "mr900:blue:wan" "eth0"
+ ucidef_set_led_wlan "wlan24" "WLAN24" "mr900:blue:wlan24" "phy0tpt"
+ ucidef_set_led_wlan "wlan58" "WLAN58" "mr900:blue:wlan58" "phy1tpt"
+ ;;
+
mynet-n600)
ucidef_set_led_netdev "wan" "WAN" "wd:blue:internet" "eth1"
ucidef_set_led_switch "lan1" "LAN1" "wd:green:lan1" "switch0" "0x02"
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
index af8725e897..dfe7161205 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
@@ -291,6 +291,7 @@ eap7660d |\
loco-m-xw |\
mr600 |\
mr600v2 |\
+mr900 |\
rb-411 |\
rb-911g-2hpnd |\
rb-911g-5hpnd |\
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index a3cefc5043..7aca600d19 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -392,6 +392,9 @@ ar71xx_board_detect() {
*MR600)
name="mr600"
;;
+ *MR900)
+ name="mr900"
+ ;;
*"My Net N600")
name="mynet-n600"
;;