Qualcomm Technologies ath10k wireless devices
Schema identifier ($id): "http://devicetree.org/schemas/net/wireless/qcom,ath10k.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jeff Johnson <jjohnson@kernel.org>"
Qualcomm Technologies, Inc. IEEE 802.11ac devices.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "qcom,ath10k", "qcom,ipq4019-wifi", "qcom,wcn3990-wifi"
reg — required here #
Maximum number of items (maxItems): 1
reg-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"membase"
interrupts — not listed as required here #
Minimum number of items (minItems): 12
Maximum number of items (maxItems): 17
interrupt-names — not listed as required here #
Minimum number of items (minItems): 12
Maximum number of items (maxItems): 17
memory-region — not listed as required here #
Maximum number of items (maxItems): 1
Reference to the MSA memory region used by the Wi-Fi firmware running on the Q6 core.
iommus — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
clocks — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 3
clock-names — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 3
resets — not listed as required here #
Maximum number of items (maxItems): 6
reset-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"wifi_cpu_init"
Item 2
Exact value (
const):"wifi_radio_srif"
Item 3
Exact value (
const):"wifi_radio_warm"
Item 4
Exact value (
const):"wifi_radio_cold"
Item 5
Exact value (
const):"wifi_core_warm"
Item 6
Exact value (
const):"wifi_core_cold"
ext-fem-name — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Name of external front end module used.
Allowed values (enum): "microsemi-lx5586", "sky85703-11", "sky85803"
firmware-name — not listed as required here #
Maximum number of items (maxItems): 1
If present, a board or platform specific string used to lookup firmware files for the device.
wifi-firmware — not listed as required here #
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
The ath10k Wi-Fi node can contain one optional firmware subnode. Firmware subnode is needed when the platform does not have Trustzone.
Properties and child nodes (properties) #
iommus — required here
Maximum number of items (maxItems): 1
Required in this object (required): "iommus"
ieee80211-freq-limit — not listed as required here #
true — No constraints added by this property rule.
qcom,calibration-data — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint8-array
Calibration data + board-specific data as a byte array. The length can vary between hardware versions.
qcom,ath10k-calibration-data — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint8-array
Deprecated (deprecated): true
Calibration data + board-specific data as a byte array. The length can vary between hardware versions.
qcom,calibration-variant — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Unique variant identifier of the calibration data in board-2.bin for designs with colliding bus and device specific ids
qcom,ath10k-calibration-variant — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Deprecated (deprecated): true
Unique variant identifier of the calibration data in board-2.bin for designs with colliding bus and device specific ids
qcom,pre-calibration-data — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint8-array
Pre-calibration data as a byte array. The length can vary between hardware versions.
qcom,ath10k-pre-calibration-data — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint8-array
Deprecated (deprecated): true
Pre-calibration data as a byte array. The length can vary between hardware versions.
qcom,coexist-support — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint8
Indicate coex support by the hardware.
qcom,coexist-gpio-pin — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
COEX GPIO number provided to the Wi-Fi firmware.
qcom,msa-fixed-perm — not listed as required here #
Value type (type): "boolean"
Whether to skip executing an SCM call that reassigns the memory region ownership.
qcom,no-msa-ready-indicator — not listed as required here #
Value type (type): "boolean"
Don't wait for MSA_READY indicator to complete init.
qcom,smem-states — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
State bits used by the AP to signal the WLAN Q6.
Array item rules (items) #
Item 1
Signal bits used to enable/disable low power mode on WCN in the case of WoW (Wake on Wireless).
qcom,smem-state-names — not listed as required here #
The names of the state bits used for SMP2P output.
Array item rules (items) #
Item 1
Exact value (
const):"wlan-smp2p-out"
qcom,snoc-host-cap-8bit-quirk — not listed as required here #
Value type (type): "boolean"
Quirk specifying that the firmware expects the 8bit version of the host capability QMI request
qcom,xo-cal-data — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
XO cal offset to be configured in XO trim register.
vdd-0.8-cx-mx-supply — not listed as required here #
Main logic power rail
vdd-1.8-xo-supply — not listed as required here #
Crystal oscillator supply
vdd-1.3-rfa-supply — not listed as required here #
RFA supply
vdd-3.3-ch0-supply — not listed as required here #
Primary Wi-Fi antenna supply
vdd-3.3-ch1-supply — not listed as required here #
Secondary Wi-Fi antenna supply
Required in this object (required): "compatible", "reg"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):ieee80211.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
interrupts— required hereMinimum number of items (
minItems):17Maximum number of items (
maxItems):17
interrupt-names— required hereArray item rules (
items)Item 1
Exact value (
const):"msi0"Item 2
Exact value (
const):"msi1"Item 3
Exact value (
const):"msi2"Item 4
Exact value (
const):"msi3"Item 5
Exact value (
const):"msi4"Item 6
Exact value (
const):"msi5"Item 7
Exact value (
const):"msi6"Item 8
Exact value (
const):"msi7"Item 9
Exact value (
const):"msi8"Item 10
Exact value (
const):"msi9"Item 11
Exact value (
const):"msi10"Item 12
Exact value (
const):"msi11"Item 13
Exact value (
const):"msi12"Item 14
Exact value (
const):"msi13"Item 15
Exact value (
const):"msi14"Item 16
Exact value (
const):"msi15"Item 17
Exact value (
const):"legacy"
clocks— required hereArray item rules (
items)Item 1
Wi-Fi command clock
Item 2
Wi-Fi reference clock
Item 3
Wi-Fi RTC clock
clock-names— required hereArray item rules (
items)Item 1
Exact value (
const):"wifi_wcss_cmd"Item 2
Exact value (
const):"wifi_wcss_ref"Item 3
Exact value (
const):"wifi_wcss_rtc"Required in this object (
required):"clocks","clock-names","interrupts","interrupt-names","resets","reset-names"
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):1Array item rules (
items)Item 1
XO reference clock
Item 2
Qualcomm Debug Subsystem clock
clock-names— not listed as required hereMinimum number of items (
minItems):1Array item rules (
items)Item 1
Exact value (
const):"cxo_ref_clk_pin"Item 2
Exact value (
const):"qdss"
interrupts— required hereArray item rules (
items)Item 1
CE0
Item 2
CE1
Item 3
CE2
Item 4
CE3
Item 5
CE4
Item 6
CE5
Item 7
CE6
Item 8
CE7
Item 9
CE8
Item 10
CE9
Item 11
CE10
Item 12
CE11
interrupt-names— not listed as required here
false— Not permitted by this property rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,rpmcc.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
wifi@18800000 {
compatible = "qcom,wcn3990-wifi";
reg = <0x18800000 0x800000>;
reg-names = "membase";
memory-region = <&wlan_msa_mem>;
clocks = <&rpmcc RPM_SMD_RF_CLK2_PIN>;
clock-names = "cxo_ref_clk_pin";
interrupts = <GIC_SPI 413 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 414 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 415 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 417 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 420 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH>;
iommus = <&anoc2_smmu 0x1900>,
<&anoc2_smmu 0x1901>;
qcom,snoc-host-cap-8bit-quirk;
vdd-0.8-cx-mx-supply = <&vreg_l5a_0p8>;
vdd-1.8-xo-supply = <&vreg_l7a_1p8>;
vdd-1.3-rfa-supply = <&vreg_l17a_1p3>;
vdd-3.3-ch0-supply = <&vreg_l25a_3p3>;
vdd-3.3-ch1-supply = <&vreg_l23a_3p3>;
wifi-firmware {
iommus = <&apps_smmu 0x1c02 0x1>;
};
};
#include <dt-bindings/clock/qcom,gcc-ipq4019.h>
wifi@a000000 {
compatible = "qcom,ipq4019-wifi";
reg = <0xa000000 0x200000>;
resets = <&gcc WIFI0_CPU_INIT_RESET>,
<&gcc WIFI0_RADIO_SRIF_RESET>,
<&gcc WIFI0_RADIO_WARM_RESET>,
<&gcc WIFI0_RADIO_COLD_RESET>,
<&gcc WIFI0_CORE_WARM_RESET>,
<&gcc WIFI0_CORE_COLD_RESET>;
reset-names = "wifi_cpu_init",
"wifi_radio_srif",
"wifi_radio_warm",
"wifi_radio_cold",
"wifi_core_warm",
"wifi_core_cold";
clocks = <&gcc GCC_WCSS2G_CLK>,
<&gcc GCC_WCSS2G_REF_CLK>,
<&gcc GCC_WCSS2G_RTC_CLK>;
clock-names = "wifi_wcss_cmd",
"wifi_wcss_ref",
"wifi_wcss_rtc";
interrupts = <GIC_SPI 32 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 33 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 34 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 35 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 36 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 37 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 38 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 39 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 40 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 41 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 42 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 43 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 44 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 45 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 46 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 47 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "msi0",
"msi1",
"msi2",
"msi3",
"msi4",
"msi5",
"msi6",
"msi7",
"msi8",
"msi9",
"msi10",
"msi11",
"msi12",
"msi13",
"msi14",
"msi15",
"legacy";
ieee80211-freq-limit = <5470000 5875000>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 18: SDIO-based devices
Line 20: SNoC-based devices
Line 296: SNoC
Line 334: AHB