aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/mt7621/base-files/etc/board.d/01_leds
diff options
context:
space:
mode:
authorKim Namu <namu@theseed.io>2022-02-24 00:14:37 +0900
committerSungbo Eo <mans0n@gorani.run>2022-03-09 15:38:32 +0900
commit2876f7534fe84f047f02bdda2886a9aeedbb8e76 (patch)
tree7137ad6dbfabe2e344ed8287a070a921c2122b30 /target/linux/ramips/mt7621/base-files/etc/board.d/01_leds
parent3c4810fecc65dfc36bf43438c07749e9efe1bcb5 (diff)
downloadupstream-2876f7534fe84f047f02bdda2886a9aeedbb8e76.tar.gz
upstream-2876f7534fe84f047f02bdda2886a9aeedbb8e76.tar.bz2
upstream-2876f7534fe84f047f02bdda2886a9aeedbb8e76.zip
ramips: mt7621: add support for Zbtlink ZBT-WG1608
Zbtlink ZBT-WG1608 is a Wi-Fi router intendent to use with WWAN (4G/5G) modems. Specifications: * SoC: MediaTek MT7621A * RAM: 256/512 MiB * Flash: 16/32 MiB (SPI NOR) * Wi-Fi: * MediaTek MT7603E : 2.4Ghz * MediaTek MT7613BE : 5Ghz * Ethernet: 10/100/1000 Mbps Ethernet x5 ports (4xLAN + WAN) * M.2: 1x slot with USB&SIM * EM7455/EM12-G/EM160R/RM500Q-AE * USB: 1x 3.0 Type-A port * External storage: 1x microSD (SDXC) slot * UART: console (115200 baud) * LED: * 1 power indicator * 1 WLAN 2.4G controlled (wlan 2G) * 3 SoC controlled (wlan 5G, wwan, internet) * 5 per Eth phy (4xLAN + WAN) MAC Addresses: * LAN : f8:5e:3c:xx:xx:e0 (Factory, 0xe000 (hex)) * WAN : f8:5e:3c:xx:xx:e1 (Factory, 0xe006 (hex)) * 2.4 GHz: f8:5e:3c:xx:xx:de (Factory, 0x0004 (hex)) * 5 GHz : f8:5e:3c:xx:xx:df (Factory, 0x8004 (hex)) Installation: * Vendor's firmware is OpenWrt (LEDE) based, so the sysupgrade image can be directly used to install OpenWrt. Firmware must be upgraded using the 'force' and 'do not save configuration' command line options (or correspondig web interface checkboxes) since the vendor firmware is from the pre-DSA era. Recovery Mode: * Press reset button, power up the device, wait for about 10sec. * Upload sysupgrade image through the firmware recovery mode web page at 192.168.1.1. Signed-off-by: Kim Namu <namu@theseed.io>
Diffstat (limited to 'target/linux/ramips/mt7621/base-files/etc/board.d/01_leds')
-rw-r--r--target/linux/ramips/mt7621/base-files/etc/board.d/01_leds7
1 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/ramips/mt7621/base-files/etc/board.d/01_leds b/target/linux/ramips/mt7621/base-files/etc/board.d/01_leds
index 672c7b0668..29b29a1cfc 100644
--- a/target/linux/ramips/mt7621/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/mt7621/base-files/etc/board.d/01_leds
@@ -134,6 +134,13 @@ xiaomi,redmi-router-ac2100)
youhua,wr1200js)
ucidef_set_led_netdev "internet" "INTERNET" "green:wan" "wan"
;;
+zbtlink,zbt-wg1608-16m)
+ ucidef_set_led_netdev "lan1" "LAN1" "green:lan-1" "lan1"
+ ucidef_set_led_netdev "lan2" "LAN2" "green:lan-2" "lan2"
+ ucidef_set_led_netdev "lan3" "LAN3" "green:lan-3" "lan3"
+ ucidef_set_led_netdev "lan4" "LAN4" "green:lan-4" "lan4"
+ ucidef_set_led_netdev "wan" "WAN" "green:wan" "wan"
+ ;;
esac
board_config_flush