diff options
author | John Crispin <john@openwrt.org> | 2016-01-01 21:19:50 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2016-01-01 21:19:50 +0000 |
commit | de7dce21a331dfe0fc63efd16f0d00e0a226de9b (patch) | |
tree | 5b41b6d187ad49b29405291df0e1a1f447faa459 /target/linux/ramips/base-files | |
parent | df165974c32a6ad2499b815d9d9f72b250d622f8 (diff) | |
download | upstream-de7dce21a331dfe0fc63efd16f0d00e0a226de9b.tar.gz upstream-de7dce21a331dfe0fc63efd16f0d00e0a226de9b.tar.bz2 upstream-de7dce21a331dfe0fc63efd16f0d00e0a226de9b.zip |
ralink: add WRTnode2 platform and led support
Signed-off-by: xzmu <xzmu@wrtnode.com>
SVN-Revision: 48049
Diffstat (limited to 'target/linux/ramips/base-files')
4 files changed, 15 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network index 719e9686ae..dafa3e98f1 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -117,6 +117,8 @@ ramips_setup_interfaces() ubnt-erx|\ ur-326n4g|\ wrtnode|\ + wrtnode2p | \ + wrtnode2r | \ wt3020|\ zbt-wa05) ucidef_add_switch "switch0" \ diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh index 3e8a33186f..acc500b70e 100644 --- a/target/linux/ramips/base-files/etc/diag.sh +++ b/target/linux/ramips/base-files/etc/diag.sh @@ -181,6 +181,11 @@ get_status_led() { wsr-600) status_led="$board:orange:diag" ;; + wrtnode2r | \ + wrtnode2p | \ + wrtnode) + status_led="wrtnode:blue:indicator" + ;; esac } diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh index 62be04540e..8025a40880 100755 --- a/target/linux/ramips/base-files/lib/ramips.sh +++ b/target/linux/ramips/base-files/lib/ramips.sh @@ -433,6 +433,12 @@ ramips_board_detect() { *"WRTNODE") name="wrtnode" ;; + *"WRTnode2R") + name="wrtnode2r" + ;; + *"WRTnode2P") + name="wrtnode2p" + ;; *"WSR-1166DHP") name="wsr-1166" ;; diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index f8073d19fe..39b5f94a76 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -125,6 +125,8 @@ platform_check_image() { wr512-3gn|\ wr6202|\ wrtnode|\ + wrtnode2r |\ + wrtnode2p |\ wsr-600|\ wt1520|\ wt3020|\ |