aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc
diff options
context:
space:
mode:
authorRoger Pueyo Centelles <roger.pueyo@guifi.net>2016-06-24 13:11:30 +0200
committerZoltan HERPAI <wigyori@uid0.hu>2016-06-24 13:11:30 +0200
commite1038d39bdb5a9ed768a8532149d793f53bc5a98 (patch)
treecba206f30006c5222bcd8cafca447ee7e6dc20ca /target/linux/ramips/base-files/etc
parent6163bef2dd7933d3e76b0d0c1087c998d9b00a1a (diff)
downloadmaster-187ad058-e1038d39bdb5a9ed768a8532149d793f53bc5a98.tar.gz
master-187ad058-e1038d39bdb5a9ed768a8532149d793f53bc5a98.tar.bz2
master-187ad058-e1038d39bdb5a9ed768a8532149d793f53bc5a98.zip
ramips: add suport for ZBT APE522II
The ZBT APE522II is a dual-radio outdoor CPE based on the MT7620a SoC. It has 64 MB RAM, 8 MB flash, 2 Fast Ethernet ports via internal switch (one with 802.3af 48V PoE support), a 802.11b/g/n SoC 2.4 GHz radio and an 802.11a/n/ac MT7612E-based 5 GHz radio. Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
Diffstat (limited to 'target/linux/ramips/base-files/etc')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/01_leds5
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network1
2 files changed, 6 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 3aac1e45f5..460253c9ff 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -296,6 +296,11 @@ y1s)
set_usb_led "$board:blue:usb"
set_wifi_led "$board:blue:wifi"
;;
+zbt-ape522ii)
+ ucidef_set_led_netdev "wlan2g4" "wlan1-link" "$board:green:wlan2g4" "wlan1"
+ ucidef_set_led_netdev "sys1" "wlan1" "$board:green:sys1" "wlan1" "tx rx"
+ ucidef_set_led_netdev "sys2" "wlan0" "$board:green:sys2" "wlan0" "tx rx"
+ ;;
zbt-wa05)
ucidef_set_led_default "power" "power" "$board:blue:power" "1"
set_wifi_led "$board:blue:air"
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 be1912a1b0..dbb5fb43e0 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -224,6 +224,7 @@ ramips_setup_interfaces()
ucidef_add_switch "switch0" \
"1:lan" "2:lan" "0:wan" "6@eth0"
;;
+ zbt-ape522ii|\
zbt-we826|\
zbt-wr8305rt)
ucidef_add_switch "switch0" \