* [PATCH v2 0/3] arm64: dts: qcom: ipq5018: add Ubiquiti UniFi U6 Enterprise
@ 2026-10-04 11:10 Andrei-Alexandru Bleortu
2026-10-04 11:10 ` [PATCH v2 1/3] dt-bindings: net: wireless: qcom,ath11k-pci: add QCN9074 Andrei-Alexandru Bleortu
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Andrei-Alexandru Bleortu @ 2026-10-04 11:10 UTC (permalink / raw)
To: Bjorn Andersson, Conor Dooley, Jeff Johnson, Johannes Berg,
Konrad Dybcio, Krzysztof Kozlowski, Rob Herring
Cc: ath11k, devicetree, linux-arm-msm, linux-kernel, linux-wireless
Add the Ubiquiti UniFi U6 Enterprise, an IPQ5018 access point with two
QCN9074 radios on PCIe (5 GHz and 6 GHz). The first patch documents the
QCN9074's PCI ID in the ath11k PCI binding, so the radios' nodes can
carry the calibration variants their board data is looked up by.
The Ethernet port (GMAC1 with a QCA8081 PHY) and the IPQ5018's own
2.4 GHz radio are left out until the GMAC and the WCSS remoteproc have
bindings.
The vendor U-Boot only boots Ubiquiti-signed images, so the boards were
booted by chainloading from it. Tested on two units with Linux 7.2 and
the out-of-tree board description these nodes come from: both QCN9074
radios come up with ath11k and their board data selected by these
variants, and the eMMC and the SPI NOR (including U-Boot environment
writes) are in use. The reset button and the accelerometer are described
as in the vendor device tree and were not exercised.
Patch 1 is for the ath11k binding; the rest go through the qcom tree.
The patches were written with an AI coding assistant (Claude Code),
which also drafted the changelogs; the testing above was done on the
devices.
Changes in v2:
- Collected Krzysztof's Acked-by on the two binding patches.
- Squashed "label the PCIe1 root port" into the board patch, its only
user (Krzysztof).
- No code changes otherwise.
v1: https://lore.kernel.org/all/20261003083410.3126453-1-me@andrei-z.com/
Andrei-Alexandru Bleortu (3):
dt-bindings: net: wireless: qcom,ath11k-pci: add QCN9074
dt-bindings: arm: qcom: add Ubiquiti UniFi U6 Enterprise
arm64: dts: qcom: ipq5018: add Ubiquiti UniFi U6 Enterprise
.../devicetree/bindings/arm/qcom.yaml | 1 +
.../net/wireless/qcom,ath11k-pci.yaml | 1 +
arch/arm64/boot/dts/qcom/Makefile | 1 +
.../dts/qcom/ipq5018-ubnt-u6-enterprise.dts | 236 ++++++++++++++++++
arch/arm64/boot/dts/qcom/ipq5018.dtsi | 2 +-
5 files changed, 240 insertions(+), 1 deletion(-)
create mode 100644 arch/arm64/boot/dts/qcom/ipq5018-ubnt-u6-enterprise.dts
--
2.47.3
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v2 1/3] dt-bindings: net: wireless: qcom,ath11k-pci: add QCN9074
2026-10-04 11:10 [PATCH v2 0/3] arm64: dts: qcom: ipq5018: add Ubiquiti UniFi U6 Enterprise Andrei-Alexandru Bleortu
@ 2026-10-04 11:10 ` Andrei-Alexandru Bleortu
2026-10-04 11:10 ` [PATCH v2 2/3] dt-bindings: arm: qcom: add Ubiquiti UniFi U6 Enterprise Andrei-Alexandru Bleortu
2026-10-04 11:10 ` [PATCH v2 3/3] arm64: dts: qcom: ipq5018: " Andrei-Alexandru Bleortu
2 siblings, 0 replies; 4+ messages in thread
From: Andrei-Alexandru Bleortu @ 2026-10-04 11:10 UTC (permalink / raw)
To: Bjorn Andersson, Conor Dooley, Jeff Johnson, Johannes Berg,
Konrad Dybcio, Krzysztof Kozlowski, Rob Herring
Cc: ath11k, devicetree, linux-arm-msm, linux-kernel, linux-wireless
QCN9074 is a PCIe 802.11ax radio that boards such as the IPQ5018-based
Ubiquiti UniFi U6 Enterprise solder down, two of them on different
bands. Like the other ath11k PCIe devices, each needs
qcom,calibration-variant to select its board data. Document its PCI ID.
No supplies are added: on these boards the radio's rails are fixed and
not under software control.
Assisted-by: LLM
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Signed-off-by: Andrei-Alexandru Bleortu <me@andrei-z.com>
---
.../devicetree/bindings/net/wireless/qcom,ath11k-pci.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/net/wireless/qcom,ath11k-pci.yaml b/Documentation/devicetree/bindings/net/wireless/qcom,ath11k-pci.yaml
index 0162e3657..605ac5e01 100644
--- a/Documentation/devicetree/bindings/net/wireless/qcom,ath11k-pci.yaml
+++ b/Documentation/devicetree/bindings/net/wireless/qcom,ath11k-pci.yaml
@@ -18,6 +18,7 @@ properties:
enum:
- pci17cb,1101 # QCA6390
- pci17cb,1103 # WCN6855
+ - pci17cb,1104 # QCN9074
reg:
maxItems: 1
--
2.47.3
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v2 2/3] dt-bindings: arm: qcom: add Ubiquiti UniFi U6 Enterprise
2026-10-04 11:10 [PATCH v2 0/3] arm64: dts: qcom: ipq5018: add Ubiquiti UniFi U6 Enterprise Andrei-Alexandru Bleortu
2026-10-04 11:10 ` [PATCH v2 1/3] dt-bindings: net: wireless: qcom,ath11k-pci: add QCN9074 Andrei-Alexandru Bleortu
@ 2026-10-04 11:10 ` Andrei-Alexandru Bleortu
2026-10-04 11:10 ` [PATCH v2 3/3] arm64: dts: qcom: ipq5018: " Andrei-Alexandru Bleortu
2 siblings, 0 replies; 4+ messages in thread
From: Andrei-Alexandru Bleortu @ 2026-10-04 11:10 UTC (permalink / raw)
To: Bjorn Andersson, Conor Dooley, Jeff Johnson, Johannes Berg,
Konrad Dybcio, Krzysztof Kozlowski, Rob Herring
Cc: ath11k, devicetree, linux-arm-msm, linux-kernel, linux-wireless
Document the Ubiquiti UniFi U6 Enterprise, an IPQ5018 based access
point.
Assisted-by: LLM
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Signed-off-by: Andrei-Alexandru Bleortu <me@andrei-z.com>
---
Documentation/devicetree/bindings/arm/qcom.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml
index 121ca557c..4524f76b4 100644
--- a/Documentation/devicetree/bindings/arm/qcom.yaml
+++ b/Documentation/devicetree/bindings/arm/qcom.yaml
@@ -113,6 +113,7 @@ properties:
- enum:
- qcom,ipq5018-rdp432-c2
- tplink,archer-ax55-v1
+ - ubnt,u6-enterprise
- const: qcom,ipq5018
- items:
--
2.47.3
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v2 3/3] arm64: dts: qcom: ipq5018: add Ubiquiti UniFi U6 Enterprise
2026-10-04 11:10 [PATCH v2 0/3] arm64: dts: qcom: ipq5018: add Ubiquiti UniFi U6 Enterprise Andrei-Alexandru Bleortu
2026-10-04 11:10 ` [PATCH v2 1/3] dt-bindings: net: wireless: qcom,ath11k-pci: add QCN9074 Andrei-Alexandru Bleortu
2026-10-04 11:10 ` [PATCH v2 2/3] dt-bindings: arm: qcom: add Ubiquiti UniFi U6 Enterprise Andrei-Alexandru Bleortu
@ 2026-10-04 11:10 ` Andrei-Alexandru Bleortu
2 siblings, 0 replies; 4+ messages in thread
From: Andrei-Alexandru Bleortu @ 2026-10-04 11:10 UTC (permalink / raw)
To: Bjorn Andersson, Conor Dooley, Jeff Johnson, Johannes Berg,
Konrad Dybcio, Krzysztof Kozlowski, Rob Herring
Cc: ath11k, devicetree, linux-arm-msm, linux-kernel, linux-wireless
The Ubiquiti UniFi U6 Enterprise is a ceiling-mount Wi-Fi 6E access point:
- SoC: Qualcomm IPQ5018
- RAM: 1 GiB
- Flash: SPI NOR (boot chain) and eMMC
- 5 GHz: QCN9074 on PCIe0
- 6 GHz: QCN9074 on PCIe1
- Ethernet: one 2.5GbE PoE port, a QCA8081 PHY behind GMAC1
- Accelerometer: ST LIS2DH12
- Button: reset
Describe what mainline supports today. The Ethernet port and the
IPQ5018's own 2.4 GHz radio are left out until the GMAC and the WCSS
remoteproc have bindings; the LED controller and the board MCU on the
I2C bus have none. The QCN9074s carry the calibration variants their
board data is looked up by. The SoC dtsi gains the pcie1_port0 label, as
pcie0 has, for the 6 GHz radio below that root port. The vendor QSEE
reserves 4 MiB, twice the SoC default.
Assisted-by: LLM
Signed-off-by: Andrei-Alexandru Bleortu <me@andrei-z.com>
---
arch/arm64/boot/dts/qcom/Makefile | 1 +
.../dts/qcom/ipq5018-ubnt-u6-enterprise.dts | 236 ++++++++++++++++++
arch/arm64/boot/dts/qcom/ipq5018.dtsi | 2 +-
3 files changed, 238 insertions(+), 1 deletion(-)
create mode 100644 arch/arm64/boot/dts/qcom/ipq5018-ubnt-u6-enterprise.dts
diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile
index 88230c4e0..aca7d8e41 100644
--- a/arch/arm64/boot/dts/qcom/Makefile
+++ b/arch/arm64/boot/dts/qcom/Makefile
@@ -32,6 +32,7 @@ dtb-$(CONFIG_ARCH_QCOM) += hamoa-lenovo-ideacentre-mini-01q8x10.dtb
dtb-$(CONFIG_ARCH_QCOM) += hawi-mtp.dtb
dtb-$(CONFIG_ARCH_QCOM) += ipq5018-rdp432-c2.dtb
dtb-$(CONFIG_ARCH_QCOM) += ipq5018-tplink-archer-ax55-v1.dtb
+dtb-$(CONFIG_ARCH_QCOM) += ipq5018-ubnt-u6-enterprise.dtb
dtb-$(CONFIG_ARCH_QCOM) += ipq5210-rdp504.dtb
dtb-$(CONFIG_ARCH_QCOM) += ipq5332-rdp441.dtb
dtb-$(CONFIG_ARCH_QCOM) += ipq5332-rdp442.dtb
diff --git a/arch/arm64/boot/dts/qcom/ipq5018-ubnt-u6-enterprise.dts b/arch/arm64/boot/dts/qcom/ipq5018-ubnt-u6-enterprise.dts
new file mode 100644
index 000000000..6462f99df
--- /dev/null
+++ b/arch/arm64/boot/dts/qcom/ipq5018-ubnt-u6-enterprise.dts
@@ -0,0 +1,236 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+
+/dts-v1/;
+
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/input/input.h>
+
+#include "ipq5018.dtsi"
+
+/ {
+ model = "Ubiquiti UniFi U6 Enterprise";
+ compatible = "ubnt,u6-enterprise", "qcom,ipq5018";
+
+ aliases {
+ serial0 = &blsp1_uart1;
+ };
+
+ chosen {
+ stdout-path = "serial0:115200n8";
+ };
+
+ keys {
+ compatible = "gpio-keys";
+ pinctrl-0 = <&button_pins>;
+ pinctrl-names = "default";
+
+ button-reset {
+ label = "reset";
+ gpios = <&tlmm 24 GPIO_ACTIVE_LOW>;
+ linux,code = <KEY_RESTART>;
+ };
+ };
+};
+
+&blsp1_i2c3 {
+ pinctrl-0 = <&i2c_pins>;
+ pinctrl-names = "default";
+ status = "okay";
+
+ accelerometer@18 {
+ compatible = "st,lis2dh12-accel";
+ reg = <0x18>;
+ };
+};
+
+&blsp1_spi1 {
+ pinctrl-0 = <&spi_0_pins>;
+ pinctrl-names = "default";
+ status = "okay";
+
+ flash@0 {
+ compatible = "jedec,spi-nor";
+ reg = <0>;
+ spi-max-frequency = <50000000>;
+
+ partitions {
+ compatible = "fixed-partitions";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ partition@0 {
+ label = "0:sbl1";
+ reg = <0x000000 0x030000>;
+ read-only;
+ };
+
+ partition@30000 {
+ label = "0:mibib";
+ reg = <0x030000 0x010000>;
+ read-only;
+ };
+
+ partition@40000 {
+ label = "0:bootconfig";
+ reg = <0x040000 0x010000>;
+ read-only;
+ };
+
+ partition@50000 {
+ label = "0:qsee";
+ reg = <0x050000 0x0a0000>;
+ read-only;
+ };
+
+ partition@f0000 {
+ label = "0:devcfg";
+ reg = <0x0f0000 0x010000>;
+ read-only;
+ };
+
+ partition@100000 {
+ label = "0:cdt";
+ reg = <0x100000 0x010000>;
+ read-only;
+ };
+
+ partition@110000 {
+ label = "0:appsblenv";
+ reg = <0x110000 0x010000>;
+ };
+
+ partition@120000 {
+ label = "0:appsbl";
+ reg = <0x120000 0x0a0000>;
+ read-only;
+ };
+
+ partition@1c0000 {
+ label = "0:art";
+ reg = <0x1c0000 0x070000>;
+ read-only;
+ };
+
+ partition@230000 {
+ label = "eeprom";
+ reg = <0x230000 0x010000>;
+ read-only;
+ };
+ };
+ };
+};
+
+/* The bootloader muxes the console pins; GPIO33/34 are I2C on this board. */
+&blsp1_uart1 {
+ status = "okay";
+};
+
+&pcie0 {
+ status = "okay";
+};
+
+&pcie0_phy {
+ status = "okay";
+};
+
+&pcie0_port0 {
+ reset-gpios = <&tlmm 15 GPIO_ACTIVE_LOW>;
+
+ wifi@0,0 {
+ compatible = "pci17cb,1104";
+ reg = <0x10000 0x0 0x0 0x0 0x0>;
+ qcom,calibration-variant = "Ubiquiti-U6-Enterprise-5G";
+ };
+};
+
+&pcie1 {
+ status = "okay";
+};
+
+&pcie1_phy {
+ status = "okay";
+};
+
+&pcie1_port0 {
+ reset-gpios = <&tlmm 18 GPIO_ACTIVE_LOW>;
+
+ wifi@0,0 {
+ compatible = "pci17cb,1104";
+ reg = <0x10000 0x0 0x0 0x0 0x0>;
+ qcom,calibration-variant = "Ubiquiti-U6-Enterprise-6G";
+ };
+};
+
+&prng {
+ status = "okay";
+};
+
+&sdhc_1 {
+ pinctrl-0 = <&emmc_pins>;
+ pinctrl-names = "default";
+ bus-width = <4>;
+ non-removable;
+ no-sd;
+ no-sdio;
+ status = "okay";
+};
+
+&sleep_clk {
+ clock-frequency = <32000>;
+};
+
+&tlmm {
+ button_pins: button-state {
+ pins = "gpio24";
+ function = "gpio";
+ drive-strength = <8>;
+ bias-pull-up;
+ };
+
+ emmc_pins: emmc-state {
+ clk-pins {
+ pins = "gpio9";
+ function = "sdc1_clk";
+ drive-strength = <8>;
+ bias-disable;
+ };
+
+ cmd-pins {
+ pins = "gpio8";
+ function = "sdc1_cmd";
+ drive-strength = <8>;
+ bias-pull-up;
+ };
+
+ data-pins {
+ pins = "gpio4", "gpio5", "gpio6", "gpio7";
+ function = "sdc1_data";
+ drive-strength = <8>;
+ bias-disable;
+ };
+ };
+
+ i2c_pins: i2c-state {
+ pins = "gpio33", "gpio34";
+ function = "blsp2_i2c0";
+ drive-strength = <8>;
+ bias-disable;
+ };
+
+ spi_0_pins: spi-0-state {
+ pins = "gpio10", "gpio11", "gpio12", "gpio13";
+ function = "blsp0_spi";
+ drive-strength = <8>;
+ bias-disable;
+ };
+};
+
+/* The vendor QSEE uses 4 MiB, twice the SoC default. */
+&tz_region {
+ reg = <0x0 0x4ac00000 0x0 0x400000>;
+};
+
+&xo_board_clk {
+ clock-div = <4>;
+ clock-mult = <1>;
+};
diff --git a/arch/arm64/boot/dts/qcom/ipq5018.dtsi b/arch/arm64/boot/dts/qcom/ipq5018.dtsi
index fe1ed240d..2f3bcfa88 100644
--- a/arch/arm64/boot/dts/qcom/ipq5018.dtsi
+++ b/arch/arm64/boot/dts/qcom/ipq5018.dtsi
@@ -838,7 +838,7 @@ pcie1: pcie@80000000 {
status = "disabled";
- pcie@0 {
+ pcie1_port0: pcie@0 {
device_type = "pci";
reg = <0x0 0x0 0x0 0x0 0x0>;
bus-range = <0x01 0xff>;
--
2.47.3
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-10-04 11:13 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-04 11:10 [PATCH v2 0/3] arm64: dts: qcom: ipq5018: add Ubiquiti UniFi U6 Enterprise Andrei-Alexandru Bleortu
2026-10-04 11:10 ` [PATCH v2 1/3] dt-bindings: net: wireless: qcom,ath11k-pci: add QCN9074 Andrei-Alexandru Bleortu
2026-10-04 11:10 ` [PATCH v2 2/3] dt-bindings: arm: qcom: add Ubiquiti UniFi U6 Enterprise Andrei-Alexandru Bleortu
2026-10-04 11:10 ` [PATCH v2 3/3] arm64: dts: qcom: ipq5018: " Andrei-Alexandru Bleortu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®