summaryrefslogtreecommitdiff
path: root/target/linux/ramips/base-files/etc/diag.sh
diff options
context:
space:
mode:
authorPiotr Dymacz <pepe2k@gmail.com>2017-10-14 10:44:39 +0200
committerPiotr Dymacz <pepe2k@gmail.com>2018-01-15 00:12:13 +0100
commit5352669c2c470f2d2bb02deccfa758e1867e07b0 (patch)
treeefda6c467b3ab2f9a99d3e90e6bba45100a5ec18 /target/linux/ramips/base-files/etc/diag.sh
parent53e3df2e71e992f7644420e7e362cc4a4a284edc (diff)
downloadmtk-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/diag.sh')
-rw-r--r--target/linux/ramips/base-files/etc/diag.sh13
1 files changed, 7 insertions, 6 deletions
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"
;;