aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc/board.d
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2016-04-21 19:46:59 +0000
committerJohn Crispin <blogic@openwrt.org>2016-04-21 19:46:59 +0000
commit3462032337eb98e8bd6d84bacd85a90669255d9e (patch)
tree2ff008f54ff1dd8e0e601965ac048a3b23eec6d2 /target/linux/ramips/base-files/etc/board.d
parent92b2622ff8773a6953955fed220652d95c350d26 (diff)
downloadmaster-187ad058-3462032337eb98e8bd6d84bacd85a90669255d9e.tar.gz
master-187ad058-3462032337eb98e8bd6d84bacd85a90669255d9e.tar.bz2
master-187ad058-3462032337eb98e8bd6d84bacd85a90669255d9e.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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49211 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files/etc/board.d')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/01_leds4
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network3
2 files changed, 6 insertions, 1 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|\