diff options
author | Piotr Dymacz <pepe2k@gmail.com> | 2020-10-09 07:30:24 +0200 |
---|---|---|
committer | Piotr Dymacz <pepe2k@gmail.com> | 2020-11-18 23:49:34 +0100 |
commit | 64a6f4a9c1553a968969fb8821f558c875187acc (patch) | |
tree | 3b22b11e7a01960a55a91f14cb346b9654aebae4 /target/linux/ath79/generic | |
parent | d44463b087839ea9b31da2411447e85befbd9ec7 (diff) | |
download | upstream-64a6f4a9c1553a968969fb8821f558c875187acc.tar.gz upstream-64a6f4a9c1553a968969fb8821f558c875187acc.tar.bz2 upstream-64a6f4a9c1553a968969fb8821f558c875187acc.zip |
ath79: add support for ALFA Network Pi-WiFi4
ALFA Network Pi-WiFi4 is a Qualcomm QCA9531 v2 based, high-power 802.11n
WiFi board in Raspberry Pi 3B shape, equipped with 1x FE and 4x USB 2.0.
Specifications:
- Qualcomm/Atheros QCA9531 v2
- 650/400/200 MHz (CPU/DDR/AHB)
- 128 MB of RAM (DDR2)
- 16+ MB of flash (SPI NOR)
- 1x 10/100 Mbps Ethernet
- 2T2R 2.4 GHz Wi-Fi with Qorvo RFFM8228P FEM
- 2x IPEX/U.FL connectors on PCB
- 4x USB 2.0 Type-A
- Genesys Logic GL850G 4-port USB HUB
- USB power is controlled by GPIO
- 5x LED (3x on PCB, 2x in RJ45, 4x driven by GPIO)
- 1x button (reset)
- external h/w watchdog (EM6324QYSP5B, enabled by default)
- 1x micro USB Type-B for power and system console (Holtek HT42B534)
- UART and GPIO (8-pin, 1.27 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 | 4 | ||||
-rwxr-xr-x | target/linux/ath79/generic/base-files/etc/board.d/02_network | 2 |
2 files changed, 6 insertions, 0 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 08ca2a8398..a345dca4af 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 @@ -40,6 +40,10 @@ alfa-network,n5q) ucidef_set_led_rssi "signal3" "SIGNAL3" "green:signal3" "wlan0" "50" "100" ucidef_set_led_rssi "signal4" "SIGNAL4" "green:signal4" "wlan0" "75" "100" ;; +alfa-network,pi-wifi4) + ucidef_set_led_netdev "lan_data" "LAN_DATA" "orange:lan_data" "eth0" "tx rx" + ucidef_set_led_netdev "lan_link" "LAN_LINK" "green:lan_link" "eth0" "link" + ;; alfa-network,r36a) ucidef_set_led_netdev "lan" "LAN" "blue:lan" "eth0" ucidef_set_led_switch "wan" "WAN" "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 4d0766d262..d03399a054 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 @@ -13,6 +13,7 @@ ath79_setup_interfaces() adtran,bsap1840|\ allnet,all-wap02860ac|\ alfa-network,ap121f|\ + alfa-network,pi-wifi4|\ arduino,yun|\ aruba,ap-105|\ avm,fritz1750e|\ @@ -418,6 +419,7 @@ ath79_setup_macs() alfa-network,ap121fe|\ alfa-network,n2q|\ alfa-network,n5q|\ + alfa-network,pi-wifi4|\ alfa-network,r36a|\ engenius,ens202ext-v1) label_mac=$(mtd_get_mac_binary art 0x1002) |