aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-10-29 11:01:17 +0000
committerJohn Crispin <john@openwrt.org>2014-10-29 11:01:17 +0000
commitd0bf15f235951973836da586c05693c0563ed4f2 (patch)
treef6768a2a467f63d8c8a3b48a5970fb7ca70e8d83 /target/linux/ramips/base-files/etc
parent9762c549149e1226a3affe43df71aa14379bd5d5 (diff)
downloadupstream-d0bf15f235951973836da586c05693c0563ed4f2.tar.gz
upstream-d0bf15f235951973836da586c05693c0563ed4f2.tar.bz2
upstream-d0bf15f235951973836da586c05693c0563ed4f2.zip
ramips: add support for A5-V11 board (resubmit)
(Reposted due to an issue with the patchwork server during original submission) Unbranded. Silkscreen on PCB is “A5-V11”, believed to be made by Bococom (or at least uses Bococom image encryption - as used on poray devices - but different key) Signed-off-by: Gareth Bryan <gareth@mx9.org> SVN-Revision: 43102
Diffstat (limited to 'target/linux/ramips/base-files/etc')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/01_leds3
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network7
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 7ca7ffb0fd..4a482b38fd 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -27,6 +27,9 @@ case $board in
3g300m)
set_usb_led "tenda:blue:3g"
;;
+ a5-v11)
+ ucidef_set_led_default "power" "POWER" "a5-v11:red:power" "1"
+ ;;
air3gii)
set_wifi_led "airlive:green:wlan"
set_usb_led "airlive:green:mobile"
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 ff8fbc079d..6510b1ae90 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -37,6 +37,12 @@ ramips_setup_interfaces()
ucidef_set_interface_loopback
case $board in
+ a5-v11)
+ ucidef_set_interface_lan "eth0.1"
+ ucidef_add_switch "switch0" "1" "1"
+ ucidef_add_switch_vlan "switch0" "1" "0 6t"
+ ;;
+
3g300m | \
w150m | \
all0256n | \
@@ -252,6 +258,7 @@ ramips_setup_macs()
lan_mac=$(macaddr_add "$lan_mac" -2)
;;
+ a5-v11 |\
bc2 |\
broadway |\
d105 |\