Skip to content

Commit 785492e

Browse files
mmlrrobimarko
authored andcommitted
qualcommax: ipq807x: add Zyxel NWA110AX support
The Zyxel NWA110AX is a dual band 2x2:2 802.11ax wireless access point with PoE. The device is very similar to the NWA210AX except for being 2x2 instead of 4x4 in the 5GHz band and not having the 2.5GbE ethernet port. This commit factors out a common DTS and device definition and reuses it for both devices. Hardware: * SoC: Qualcomm IPQ8070A * RAM: 1GiB 1x Samsung K4A8G165WC-BCTD * Flash: 8MiB Winbond W25Q64DW SPI-NOR, 256MiB Winbond W29N02GZ SPI-NAND * WLAN 2.4GHz: QCN5024 2x2:2 802.11b/g/n/ax * WLAN 5GHz: QCN5054 2x2:2 802.11n/ac/ax * Ethernet: 1x 1GbE with AR8033 PHY * Serial Config: 3.3V TTL 115200-8-N-1, externally accessible * Serial Layout: GND TX RX 3.3V (don't connect, marked with triangle) * LEDs: 1x red, 1x green, 1x blue, 1x white * Buttons: 1x reset MAC addresses: * Uplink: base address on label * 2.4GHz WLAN: base + 1 * 5GHZ WLAN: base + 2 Flashing Notes: The device uses a dual-image setup and OpenWrt can only be installed as image 0. When the currently running stock firmware is image 0, OpenWrt will be installed as image 1, fail to boot and the device returns to stock firmware. If this happens, install any version of stock firmware so that it runs as image 1, before installing OpenWrt. Alternatively, if there already is a valid stock firmware in image 1, the "debug dual-image show" and "debug dual-image set boot-image image1" commands can be used in the stock CLI via serial/SSH/telnet to switch to image 1. Flashing with Stock Web Interface: * Get the OpenWrt factory image and rename it to a shorter name, for example "openwrt.bin" (the stock firmware has a character limit) * In the web interface, go to "Maintenance" -> "File Manager" -> "Firmware Package" (or click the link next to "Firmware Version" under "Device Information" on the dashboard) * Under "Upload File" browse to the renamed OpenWrt factory image and click on "Upload" Switch Boot Image: * OpenWrt to stock: "zyxel-bootconfig-ipq807x set image1" * Stock to OpenWrt: "debug dual-image set boot-image image0" Unbrick / Revert to Stock with the Boot Module: * Disconnect the device from power * Configure your machine to 192.168.1.103/24 and start a TFTP server * Put the stock firmware image into the TFTP server root and rename it to "ZLD-current" * Establish a serial connection to the device through the console port * Connect the device to power * When prompted, press a key to abort automatic boot and enter debug mode * Use the "atnz" command to flash the firmware image * Use the "atgo" command to boot from the newly flashed image Signed-off-by: Michael Lotz <mmlr@mlotz.ch> Link: openwrt/openwrt#21849 Signed-off-by: Robert Marko <robimarko@gmail.com>
1 parent 67e6baf commit 785492e

File tree

10 files changed

+456
-365
lines changed

10 files changed

+456
-365
lines changed

package/boot/uboot-tools/uboot-envtools/files/qualcommax_ipq807x

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ aliyun,ap8220|\
3131
compex,wpq873|\
3232
edgecore,eap102|\
3333
zyxel,nbg7815|\
34+
zyxel,nwa110ax|\
3435
zyxel,nwa210ax)
3536
ubootenv_add_mtd "0:appsblenv" "0x0" "0x10000" "0x10000"
3637
;;

package/firmware/ipq-wifi/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ ALLWIFIBOARDS:= \
113113
zte_mf287 \
114114
zte_mf287plus \
115115
zyxel_nbg7815 \
116+
zyxel_nwa110ax \
116117
zyxel_nwa210ax \
117118
zyxel_scr50axe
118119

@@ -306,6 +307,7 @@ $(eval $(call generate-ipq-wifi-package,zte_mf286c,ZTE MF286C))
306307
$(eval $(call generate-ipq-wifi-package,zte_mf287,ZTE MF287))
307308
$(eval $(call generate-ipq-wifi-package,zte_mf287plus,ZTE MF287Plus))
308309
$(eval $(call generate-ipq-wifi-package,zyxel_nbg7815,Zyxel NBG7815))
310+
$(eval $(call generate-ipq-wifi-package,zyxel_nwa110ax,Zyxel NWA110AX))
309311
$(eval $(call generate-ipq-wifi-package,zyxel_nwa210ax,Zyxel NWA210AX))
310312
$(eval $(call generate-ipq-wifi-package,zyxel_scr50axe,Zyxel SCR50AXE))
311313

package/utils/zyxel-bootconfig-ipq807x/files/95_apply_bootconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ apply_bootconfig() {
22
. /lib/functions.sh
33

44
case $(board_name) in
5+
zyxel,nwa110ax|\
56
zyxel,nwa210ax)
67
status="$(zyxel-bootconfig-ipq807x show | awk '/image0:/ {print $2}')"
78
[ "$status" != "selected" ] && zyxel-bootconfig-ipq807x --force set image0
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2+
/*
3+
* Copyright (c) 2026 Michael Lotz <mmlr@mlotz.ch>
4+
*/
5+
6+
/dts-v1/;
7+
8+
#include "ipq807x-nwax10ax.dtsi"
9+
10+
/ {
11+
model = "Zyxel NWA110AX";
12+
compatible = "zyxel,nwa110ax", "qcom,ipq8074";
13+
14+
aliases {
15+
ethernet0 = &dp1;
16+
label-mac-device = &dp1;
17+
};
18+
};
19+
20+
&switch {
21+
switch_lan_bmp = <ESS_PORT1>;
22+
switch_mac_mode = <MAC_MODE_SGMII0_RGMII4>;
23+
};
24+
25+
&dp1 {
26+
label = "uplink";
27+
nvmem-cell-names = "mac-address";
28+
nvmem-cells = <&label_mac 0>;
29+
};
30+
31+
&wifi {
32+
qcom,ath11k-calibration-variant = "Zyxel-NWA110AX";
33+
};

0 commit comments

Comments
 (0)