diff options
author | Piotr Dymacz <pepe2k@gmail.com> | 2020-09-18 18:55:23 +0200 |
---|---|---|
committer | Piotr Dymacz <pepe2k@gmail.com> | 2020-09-28 01:28:37 +0200 |
commit | 6492ea7d9e4f2a392e8576b5fdaa76815d3c6350 (patch) | |
tree | fafcc77c802a33d08bab77e80cb944aac1f0f480 /target/linux/ath79/generic | |
parent | 9181b039f3d8df3edb9feff074840b69b504099d (diff) | |
download | upstream-6492ea7d9e4f2a392e8576b5fdaa76815d3c6350.tar.gz upstream-6492ea7d9e4f2a392e8576b5fdaa76815d3c6350.tar.bz2 upstream-6492ea7d9e4f2a392e8576b5fdaa76815d3c6350.zip |
ath79: add support for ALFA Network N2Q
ALFA Network N2Q is an outdoor N300 AP/CPE based on Qualcomm/Atheros
QCA9531 v2. This model is a successor of the old N2 which was based
on Atheros AR7240. FCC ID: 2AB8795311.
Specifications:
- Qualcomm/Atheros QCA9531 v2
- 650/400/200 MHz (CPU/DDR/AHB)
- 128 MB of RAM (DDR2)
- 16 MB of flash (SPI NOR)
- 2T2R 2.4 GHz Wi-Fi with ext. PA (Skyworks SE2623L) and LNA
- 2x 10/100 Mbps Ethernet with passive PoE input in one port (24 V)
- PoE pass through in second port (controlled by GPIO)
- support for optional 802.3af/at PoE module
- 1x mini PCIe slot (PCIe bus, extra 4.2 V for high power cards)
- 2x IPEX/U.FL connectors on PCB
- 1x USB 2.0 mini Type-B (power controlled by GPIO)
- 8x LED (7 of them are driven by GPIO)
- 1x button (reset)
- external h/w watchdog (EM6324QYSP5B, enabled by default)
- UART (4-pin, 2.54 mm pitch) header on PCB
- LEDs (2x 5-pin, 2.54 mm pitch) header on PCB
Flash instruction:
You can use sysupgrade image directly in vendor firmware which is based
on LEDE/OpenWrt. Alternatively, you can use web recovery mode in U-Boot:
1. Configure PC with static IP 192.168.1.2/24.
2. Connect PC with one of RJ45 ports, press the reset button, power up
device, wait for first blink of all LEDs (indicates network setup),
then keep button for 3 following blinks and release it.
3. Open 192.168.1.1 address in your browser and upload sysupgrade image.
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
Diffstat (limited to 'target/linux/ath79/generic')
-rwxr-xr-x | target/linux/ath79/generic/base-files/etc/board.d/01_leds | 8 | ||||
-rwxr-xr-x | target/linux/ath79/generic/base-files/etc/board.d/02_network | 12 |
2 files changed, 15 insertions, 5 deletions
diff --git a/target/linux/ath79/generic/base-files/etc/board.d/01_leds b/target/linux/ath79/generic/base-files/etc/board.d/01_leds index 6e488949e4..0b522910ee 100755 --- a/target/linux/ath79/generic/base-files/etc/board.d/01_leds +++ b/target/linux/ath79/generic/base-files/etc/board.d/01_leds @@ -17,6 +17,14 @@ alfa-network,ap121fe|\ avm,fritz450e) ucidef_set_led_netdev "lan" "LAN" "$boardname:green:lan" "eth0" ;; +alfa-network,n2q) + ucidef_set_led_netdev "lan2" "LAN2" "$boardname:orange:lan2" "eth1" + ucidef_set_led_switch "lan1" "LAN1" "$boardname:orange:lan1" "switch0" "0x10" + ucidef_set_rssimon "wlan0" "200000" "1" + ucidef_set_led_rssi "signal1" "SIGNAL1" "$boardname:red:signal1" "wlan0" "1" "100" + ucidef_set_led_rssi "signal2" "SIGNAL2" "$boardname:orange:signal2" "wlan0" "33" "100" + ucidef_set_led_rssi "signal3" "SIGNAL3" "$boardname:green:signal3" "wlan0" "66" "100" + ;; alfa-network,r36a) ucidef_set_led_netdev "lan" "LAN" "$boardname:blue:lan" "eth0" ucidef_set_led_switch "wan" "WAN" "$boardname:blue:wan" "switch0" "0x10" diff --git a/target/linux/ath79/generic/base-files/etc/board.d/02_network b/target/linux/ath79/generic/base-files/etc/board.d/02_network index d13d714f88..160eea523c 100755 --- a/target/linux/ath79/generic/base-files/etc/board.d/02_network +++ b/target/linux/ath79/generic/base-files/etc/board.d/02_network @@ -78,6 +78,12 @@ ath79_setup_interfaces() alfa-network,ap121fe) ucidef_set_interface_lan "eth0 usb0" ;; + alfa-network,n2q|\ + devolo,dvl1200e|\ + devolo,dvl1750e|\ + ocedo,ursus) + ucidef_set_interface_lan "eth0 eth1" + ;; avm,fritz4020|\ pcs,cr3000|\ tplink,archer-c58-v1|\ @@ -147,11 +153,6 @@ ath79_setup_interfaces() ucidef_add_switch "switch0" \ "0@eth0" "3:lan" "2:wan" ;; - devolo,dvl1200e|\ - devolo,dvl1750e|\ - ocedo,ursus) - ucidef_set_interface_lan "eth0 eth1" - ;; devolo,magic-2-wifi) ucidef_add_switch "switch0" \ "0@eth0" "2:wan" "3:lan" "4:lan" @@ -402,6 +403,7 @@ ath79_setup_macs() ;; alfa-network,ap121f|\ alfa-network,ap121fe|\ + alfa-network,n2q|\ alfa-network,r36a|\ engenius,ens202ext-v1) label_mac=$(mtd_get_mac_binary art 0x1002) |