diff options
author | Piotr Dymacz <pepe2k@gmail.com> | 2017-10-14 10:44:39 +0200 |
---|---|---|
committer | Piotr Dymacz <pepe2k@gmail.com> | 2018-01-15 00:12:13 +0100 |
commit | 5352669c2c470f2d2bb02deccfa758e1867e07b0 (patch) | |
tree | efda6c467b3ab2f9a99d3e90e6bba45100a5ec18 /target/linux/ramips/base-files/etc | |
parent | 53e3df2e71e992f7644420e7e362cc4a4a284edc (diff) | |
download | mtk-20170518-5352669c2c470f2d2bb02deccfa758e1867e07b0.zip mtk-20170518-5352669c2c470f2d2bb02deccfa758e1867e07b0.tar.gz mtk-20170518-5352669c2c470f2d2bb02deccfa758e1867e07b0.tar.bz2 |
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>
Diffstat (limited to 'target/linux/ramips/base-files/etc')
-rwxr-xr-x | target/linux/ramips/base-files/etc/board.d/01_leds | 4 | ||||
-rwxr-xr-x | target/linux/ramips/base-files/etc/board.d/02_network | 1 | ||||
-rw-r--r-- | target/linux/ramips/base-files/etc/diag.sh | 13 |
3 files changed, 12 insertions, 6 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 55976ed..3e26493 100755 --- a/target/linux/ramips/base-files/etc/board.d/01_leds +++ b/target/linux/ramips/base-files/etc/board.d/01_leds @@ -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" 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 48fdfdf..105f5e9 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -71,6 +71,7 @@ ramips_setup_interfaces() ;; 3g-6200n|\ ai-br100|\ + alfa-network,ac1200rm|\ d240|\ db-wrt01|\ dir-300-b7|\ diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh index 5ffa636..e1d2915 100644 --- a/target/linux/ramips/base-files/etc/diag.sh +++ b/target/linux/ramips/base-files/etc/diag.sh @@ -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" ;; |