From: Josef Schlehofer <pepe.schlehofer@gmail.com>
To: Jeff Johnson <jjohnson@kernel.org>
Cc: linux-wireless@vger.kernel.org,
Johannes Berg <johannes@sipsolutions.net>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH ath-next 5/9] dt-bindings: net: wireless: add QCA6006 binding
Date: Mon, 30 Nov 2026 10:50:38 +0100 [thread overview]
Message-ID: <20261130095042.41330-6-pepe.schlehofer@gmail.com> (raw)
In-Reply-To: <20261130095042.41330-1-pepe.schlehofer@gmail.com>
Describe the QCA6006 (AR6006 hw1.1) USB wireless chip as a USB device
node, so a board can give it a MAC address and an ieee80211-freq-limit.
The Xiaomi AIoT AC2350 router needs both. Its QCA6006 has only a
2.4 GHz front end, and its board data carries the Atheros default MAC
address.
The compatible follows usb-device.yaml, with VID and PID in lower case
and leading zeroes suppressed. The common wireless properties come
from wireless-controller.yaml.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
---
.../bindings/net/wireless/qcom,qca6006.yaml | 56 +++++++++++++++++++
MAINTAINERS | 1 +
2 files changed, 57 insertions(+)
create mode 100644 Documentation/devicetree/bindings/net/wireless/qcom,qca6006.yaml
diff --git a/Documentation/devicetree/bindings/net/wireless/qcom,qca6006.yaml b/Documentation/devicetree/bindings/net/wireless/qcom,qca6006.yaml
new file mode 100644
index 000000000..3f727c368
--- /dev/null
+++ b/Documentation/devicetree/bindings/net/wireless/qcom,qca6006.yaml
@@ -0,0 +1,56 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/net/wireless/qcom,qca6006.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Qualcomm Atheros QCA6006 USB wireless chip
+
+maintainers:
+ - Josef Schlehofer <pepe.schlehofer@gmail.com>
+
+description:
+ The QCA6006 (AR6006 hw1.1) is a wireless chip connected over USB. The
+ node describes the USB device on the port of its hub.
+
+allOf:
+ - $ref: /schemas/usb/usb-device.yaml#
+ - $ref: wireless-controller.yaml#
+
+properties:
+ compatible:
+ const: usbcf3,9372 # QCA6006 (AR6006 hw1.1)
+
+ nvmem-cells:
+ maxItems: 1
+ description: Reference to an nvmem node for the MAC address
+
+ nvmem-cell-names:
+ items:
+ - const: mac-address
+
+required:
+ - compatible
+ - reg
+
+dependentRequired:
+ nvmem-cells: [nvmem-cell-names]
+ nvmem-cell-names: [nvmem-cells]
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ usb {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ wifi@1 {
+ compatible = "usbcf3,9372";
+ reg = <1>;
+ ieee80211-freq-limit = <2400000 2483000>;
+ local-mac-address = [02 00 00 00 00 01];
+ };
+ };
+
+...
diff --git a/MAINTAINERS b/MAINTAINERS
index deb787820..7b9e18566 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -4384,6 +4384,7 @@ ATHEROS ATH6KL WIRELESS DRIVER
L: linux-wireless@vger.kernel.org
S: Orphan
W: https://wireless.docs.kernel.org/en/latest/en/users/drivers/ath6kl.html
+F: Documentation/devicetree/bindings/net/wireless/qcom,qca6006.yaml
F: drivers/net/wireless/ath/ath6kl/
ATI_REMOTE2 DRIVER
--
2.54.0 (Apple Git-157)
prev parent reply other threads:[~2026-11-30 9:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-30 9:50 [PATCH ath-next 0/9] wifi: ath6kl: add AR6006 hw1.1 (QCA6006) support Josef Schlehofer
2026-11-30 9:50 ` Josef Schlehofer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261130095042.41330-6-pepe.schlehofer@gmail.com \
--to=pepe.schlehofer@gmail.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jjohnson@kernel.org \
--cc=johannes@sipsolutions.net \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®