ar71xx: add user-space support for the EnGenius EAP300 v2 board

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 41659
This commit is contained in:
Gabor Juhos 2014-07-14 21:30:28 +00:00
parent aff3127956
commit 54206fb0ce
5 changed files with 14 additions and 0 deletions

View file

@ -62,6 +62,9 @@ get_status_led() {
dir-835-a1) dir-835-a1)
status_led="d-link:amber:power" status_led="d-link:amber:power"
;; ;;
eap300v2)
status_led="engenius:blue:power"
;;
eap7660d) eap7660d)
status_led="eap7660d:green:ds4" status_led="eap7660d:green:ds4"
;; ;;

View file

@ -62,6 +62,11 @@ db120)
ucidef_set_led_usbdev "usb" "USB" "db120:green:usb" "1-1" ucidef_set_led_usbdev "usb" "USB" "db120:green:usb" "1-1"
;; ;;
eap300v2)
ucidef_set_led_netdev "lan" "LAN" "engenius:blue:lan" "eth0"
ucidef_set_led_wlan "wlan" "WLAN" "engenius:blue:wlan" "phy0tpt"
;;
rb-750) rb-750)
ucidef_set_led_default "act" "act" "rb750:green:act" "1" ucidef_set_led_default "act" "act" "rb750:green:act" "1"
ucidef_set_led_netdev "port1" "port1" "rb750:green:port1" "eth1" ucidef_set_led_netdev "port1" "port1" "rb750:green:port1" "eth1"

View file

@ -280,6 +280,7 @@ all0305 |\
aw-nr580 |\ aw-nr580 |\
bullet-m |\ bullet-m |\
cap4200ag |\ cap4200ag |\
eap300v2 |\
eap7660d |\ eap7660d |\
mr600 |\ mr600 |\
mr600v2 |\ mr600v2 |\

View file

@ -313,6 +313,9 @@ ar71xx_board_detect() {
*"Dragino v2") *"Dragino v2")
name="dragino2" name="dragino2"
;; ;;
*"EAP300 v2")
name="eap300v2"
;;
*EAP7660D) *EAP7660D)
name="eap7660d" name="eap7660d"
;; ;;

View file

@ -353,6 +353,7 @@ platform_check_image() {
pb42 | \ pb42 | \
pb44 | \ pb44 | \
all0305 | \ all0305 | \
eap300v2 | \
eap7660d | \ eap7660d | \
ja76pf | \ ja76pf | \
ja76pf2 | \ ja76pf2 | \
@ -407,6 +408,7 @@ platform_do_upgrade() {
all0315n ) all0315n )
platform_do_upgrade_allnet "0x9f080000" "$ARGV" platform_do_upgrade_allnet "0x9f080000" "$ARGV"
;; ;;
eap300v2 |\
cap4200ag) cap4200ag)
platform_do_upgrade_allnet "0xbf0a0000" "$ARGV" platform_do_upgrade_allnet "0xbf0a0000" "$ARGV"
;; ;;