aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2016-04-21 19:46:59 +0000
committerJohn Crispin <john@openwrt.org>2016-04-21 19:46:59 +0000
commit37b50fdb92742024849241cf41091f97e11b2ba0 (patch)
treefc73faebf06b2a0e28c8d56c3ab6bccd7fe700f9 /target/linux/ramips/base-files/etc
parent8c130dd3c1a1a594be1a0590cadde24ee6e9024d (diff)
downloadupstream-37b50fdb92742024849241cf41091f97e11b2ba0.tar.gz
upstream-37b50fdb92742024849241cf41091f97e11b2ba0.tar.bz2
upstream-37b50fdb92742024849241cf41091f97e11b2ba0.zip
ramips: add support for ELECOM WRH-300CR
ELECOM WRH-300CR is MT7620N based very small Wi-Fi router with 64MiB DDR2 SDRAM, 16MiB SPI Flash, one fast ethernet port, and (internal but easy-to-access) UART. it also has internal USB hub and USB card reader which provide one USB port, one SD card slot, and one microSD card slot. Signed-off-by: YuheiOKAWA <tochiro.srchack@gmail.com> Signed-off-by: FUKAUMI Naoki <naobsd@gmail.com> SVN-Revision: 49211
Diffstat (limited to 'target/linux/ramips/base-files/etc')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/01_leds4
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network3
-rw-r--r--target/linux/ramips/base-files/etc/diag.sh3
3 files changed, 8 insertions, 2 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds
index 2f40955d11..e3b8500d37 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -265,6 +265,10 @@ whr-600d)
wnce2001)
set_wifi_led "$board:green:wlan"
;;
+wrh-300cr)
+ set_wifi_led "$board:green:wlan"
+ ucidef_set_led_netdev "lan" "lan" "$board:green:ethernet" "eth0"
+ ;;
wt3020)
ucidef_set_led_default "power" "power" "$board:blue:power" "0"
;;
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 4b65d36b98..2863b8843f 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -162,7 +162,8 @@ ramips_setup_interfaces()
d105|\
hpm|\
na930|\
- wli-tx4-ag300n)
+ wli-tx4-ag300n|\
+ wrh-300cr)
ucidef_set_interface_lan "eth0"
;;
e1700|\
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index a2c965d79d..44353b6cc8 100644
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -74,7 +74,8 @@ get_status_led() {
status_led="$board:green:run"
;;
awapn2403|\
- dir-645)
+ dir-645|\
+ wrh-300cr)
status_led="$board:green:wps"
;;
cf-wr800n|\