aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc/board.d
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-05-23 15:26:39 +0000
committerJohn Crispin <john@openwrt.org>2015-05-23 15:26:39 +0000
commit5e96c2d5413425816eb2e0113d0dca994ba7275c (patch)
treeb7eaf007788be43a713ee9f79d2bebc787e1a838 /target/linux/ramips/base-files/etc/board.d
parent09bf72ae0540c4466bed23c9a955cea466fa5620 (diff)
downloadupstream-5e96c2d5413425816eb2e0113d0dca994ba7275c.tar.gz
upstream-5e96c2d5413425816eb2e0113d0dca994ba7275c.tar.bz2
upstream-5e96c2d5413425816eb2e0113d0dca994ba7275c.zip
ramips: add support for Comfast CF-WR800N
This patch adds support for Comfast CF-WR800N, a wall-plug wireless router based on the MT7620N SoC with one Ethernet port and a 802.11n 2.4 GHz radio. Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net> SVN-Revision: 45722
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_network6
2 files changed, 10 insertions, 0 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 56ba3b73ce..80623f4a8d 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -73,6 +73,10 @@ case $board in
br6524n)
set_wifi_led "edimax:blue:wlan"
;;
+ cf-wr800n)
+ ucidef_set_led_netdev "lan" "lan" "comfast:white:ethernet" eth0.1
+ set_wifi_led "comfast:white:wifi"
+ ;;
cy-swr1100)
ucidef_set_led_default "wps" "WPS" "samsung:blue:wps" "0"
set_usb_led "samsung:blue:usb"
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 24e1ba8502..c8ef69f2c0 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -108,6 +108,12 @@ ramips_setup_interfaces()
ucidef_add_switch_vlan "switch0" "1" "1 2 3 4 6t"
;;
+ cf-wr800n)
+ ucidef_set_interface_lan "eth0.1"
+ ucidef_add_switch "switch0" "1" "1"
+ ucidef_add_switch_vlan "switch0" "1" "4 6t"
+ ;;
+
cy-swr1100)
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
ucidef_add_switch "switch0" "1" "1"