diff options
author | John Crispin <john@openwrt.org> | 2013-06-10 08:24:56 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2013-06-10 08:24:56 +0000 |
commit | fc9532aeaaa73c49e50f1052f210adfda0d0c3ed (patch) | |
tree | 530d19b4add55fc19166781ca0c99fe8eefc3443 /target/linux/ramips/base-files/etc | |
parent | 30786d2dd0e0063b56ba5e616e868f4e6775eaad (diff) | |
download | upstream-fc9532aeaaa73c49e50f1052f210adfda0d0c3ed.tar.gz upstream-fc9532aeaaa73c49e50f1052f210adfda0d0c3ed.tar.bz2 upstream-fc9532aeaaa73c49e50f1052f210adfda0d0c3ed.zip |
ramips: add HAME MPR-A2 support
This patch adds support for HAME MPR-A2 router using a DTS file.
The platform is Ralink RT5350.
http://wiki.openwrt.org/toh/hame/mpr-a2
Signed-off-by: Dmitry Shmygov <shmygov@rambler.ru>
SVN-Revision: 36898
Diffstat (limited to 'target/linux/ramips/base-files/etc')
4 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh index be2fa56faf..894be0f5e6 100755 --- a/target/linux/ramips/base-files/etc/diag.sh +++ b/target/linux/ramips/base-files/etc/diag.sh @@ -55,6 +55,9 @@ get_status_led() { mofi3500-3gn) status_led="mofi3500-3gn:green:status" ;; + mpr-a2) + status_led="mpr-a2:red:power" + ;; nbg-419n) status_led="nbg-419n:green:power" ;; diff --git a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom index 41dabd9f01..810dddfe86 100644 --- a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom +++ b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom @@ -77,6 +77,7 @@ case "$FIRMWARE" in freestation5 | \ hw550-3g | \ mofi3500-3gn | \ + mpr-a2 | \ pwh2004 | \ nbg-419n | \ nw718 | \ 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 ec031883ea..608816f195 100755 --- a/target/linux/ramips/base-files/etc/uci-defaults/01_leds +++ b/target/linux/ramips/base-files/etc/uci-defaults/01_leds @@ -94,6 +94,9 @@ case $board in mofi3500-3gn) set_usb_led "mofi3500-3gn:green:usb" ;; + mpr-a2) + set_wifi_led "mpr-a2:blue:system" + ;; mzk-w300nh2) set_wifi_led "mzkw300nh2:amber:wlan" ;; 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 fe81899e7b..b45b0ca25a 100755 --- a/target/linux/ramips/base-files/etc/uci-defaults/02_network +++ b/target/linux/ramips/base-files/etc/uci-defaults/02_network @@ -172,6 +172,7 @@ ramips_setup_macs() broadway | \ dir-620-d1 | \ f5d8235-v1 | \ + mpr-a2 | \ mzk-w300nh2 | \ nw718 | \ psr-680w | \ |