ramips: add support for ALFA Network AC1200RM

ALFA Network AC1200RM is an AC1200 router, with 5-port FE switch and
USB 2.0 port. Device is based on MediaTek MT7620A + MT7612EN.

Specification:

- MT7620A (580 MHz)
- 64 MB of RAM (DDR2)
- 16 MB of FLASH (SPI NOR)
- 5x 10/100 Mbps Ethernet with passive PoE output in WAN and LAN4
- 2T2R 2.4 GHz (MT7620A)
- 2T2R 5 GHz (MT7612EN)
- 1x USB 2.0
- 9x LED (8 driven by GPIO)
- 1x button (reset)
- DC jack for main power input (12-24 V)
- 2x UART, I2C, I2S and LED headers

Flash instruction (do it under U-Boot, using UART and TFTP server):

Select option "2: Load system code then write to Flash via TFTP" and
use "sysupgrade" image.

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
This commit is contained in:
Piotr Dymacz
2017-10-14 10:44:39 +02:00
parent 53e3df2e71
commit 5352669c2c
6 changed files with 193 additions and 6 deletions

View File

@@ -56,6 +56,10 @@ air3gii)
set_wifi_led "$boardname:green:wlan"
set_usb_led "$boardname:green:mobile"
;;
alfa-network,ac1200rm)
set_wifi_led "$boardname:green:wlan2g" "wlan1"
ucidef_set_led_default "wps" "wps" "$boardname:green:wps" "0"
;;
all0256n-4M|\
all0256n-8M)
ucidef_set_rssimon "wlan0" "200000" "1"

View File

@@ -71,6 +71,7 @@ ramips_setup_interfaces()
;;
3g-6200n|\
ai-br100|\
alfa-network,ac1200rm|\
d240|\
db-wrt01|\
dir-300-b7|\

View File

@@ -69,6 +69,13 @@ get_status_led() {
ht-tm02)
status_led="$boardname:blue:wlan"
;;
alfa-network,ac1200rm|\
awapn2403|\
dir-645|\
sk-wb8|\
wrh-300cr)
status_led="$boardname:green:wps"
;;
all0239-3g|\
dcs-930|\
dir-300-b1|\
@@ -102,12 +109,6 @@ get_status_led() {
ip2202)
status_led="$boardname:green:run"
;;
awapn2403|\
dir-645|\
sk-wb8|\
wrh-300cr)
status_led="$boardname:green:wps"
;;
c108)
status_led="$boardname:green:lan"
;;

View File

@@ -16,6 +16,7 @@ platform_check_image() {
a5-v11|\
ai-br100|\
air3gii|\
alfa-network,ac1200rm|\
all0239-3g|\
all0256n-4M|\
all0256n-8M|\