1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/net/wireless/qcom,ath10k.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm Technologies ath10k wireless devices
10 - Kalle Valo <kvalo@kernel.org>
13 Qualcomm Technologies, Inc. IEEE 802.11ac devices.
18 - qcom,ath10k # SDIO-based devices
20 - qcom,wcn3990-wifi # SNoC-based devices
40 Reference to the MSA memory region used by the Wi-Fi firmware
41 running on the Q6 core.
60 - const: wifi_cpu_init
61 - const: wifi_radio_srif
62 - const: wifi_radio_warm
63 - const: wifi_radio_cold
64 - const: wifi_core_warm
65 - const: wifi_core_cold
68 $ref: /schemas/types.yaml#/definitions/string
69 description: Name of external front end module used.
77 additionalProperties: false
79 The ath10k Wi-Fi node can contain one optional firmware subnode.
80 Firmware subnode is needed when the platform does not have Trustzone.
87 ieee80211-freq-limit: true
89 qcom,ath10k-calibration-data:
90 $ref: /schemas/types.yaml#/definitions/uint8-array
92 Calibration data + board-specific data as a byte array. The length
93 can vary between hardware versions.
95 qcom,ath10k-calibration-variant:
96 $ref: /schemas/types.yaml#/definitions/string
98 Unique variant identifier of the calibration data in /*(DEBLOBBED)*/
99 for designs with colliding bus and device specific ids
101 qcom,ath10k-pre-calibration-data:
102 $ref: /schemas/types.yaml#/definitions/uint8-array
104 Pre-calibration data as a byte array. The length can vary between
107 qcom,coexist-support:
108 $ref: /schemas/types.yaml#/definitions/uint8
111 Indicate coex support by the hardware.
113 qcom,coexist-gpio-pin:
114 $ref: /schemas/types.yaml#/definitions/uint32
116 COEX GPIO number provided to the Wi-Fi firmware.
121 Whether to skip executing an SCM call that reassigns the memory
125 $ref: /schemas/types.yaml#/definitions/phandle-array
126 description: State bits used by the AP to signal the WLAN Q6.
128 - description: Signal bits used to enable/disable low power mode
129 on WCN in the case of WoW (Wake on Wireless).
131 qcom,smem-state-names:
132 description: The names of the state bits used for SMP2P output.
134 - const: wlan-smp2p-out
136 qcom,snoc-host-cap-8bit-quirk:
139 Quirk specifying that the firmware expects the 8bit version
140 of the host capability QMI request
143 $ref: /schemas/types.yaml#/definitions/uint32
145 XO cal offset to be configured in XO trim register.
147 vdd-0.8-cx-mx-supply:
148 description: Main logic power rail
151 description: Crystal oscillator supply
154 description: RFA supply
157 description: Primary Wi-Fi antenna supply
160 description: Secondary Wi-Fi antenna supply
166 additionalProperties: false
169 - $ref: ieee80211.yaml#
204 - description: Wi-Fi command clock
205 - description: Wi-Fi reference clock
206 - description: Wi-Fi RTC clock
210 - const: wifi_wcss_cmd
211 - const: wifi_wcss_ref
212 - const: wifi_wcss_rtc
234 - description: XO reference clock
235 - description: Qualcomm Debug Subsystem clock
240 - const: cxo_ref_clk_pin
258 interrupt-names: false
266 #include <dt-bindings/clock/qcom,rpmcc.h>
267 #include <dt-bindings/interrupt-controller/arm-gic.h>
270 compatible = "qcom,wcn3990-wifi";
271 reg = <0x18800000 0x800000>;
272 reg-names = "membase";
273 memory-region = <&wlan_msa_mem>;
274 clocks = <&rpmcc RPM_SMD_RF_CLK2_PIN>;
275 clock-names = "cxo_ref_clk_pin";
276 interrupts = <GIC_SPI 413 IRQ_TYPE_LEVEL_HIGH>,
277 <GIC_SPI 414 IRQ_TYPE_LEVEL_HIGH>,
278 <GIC_SPI 415 IRQ_TYPE_LEVEL_HIGH>,
279 <GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH>,
280 <GIC_SPI 417 IRQ_TYPE_LEVEL_HIGH>,
281 <GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH>,
282 <GIC_SPI 420 IRQ_TYPE_LEVEL_HIGH>,
283 <GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH>,
284 <GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH>,
285 <GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH>,
286 <GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH>,
287 <GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH>;
288 iommus = <&anoc2_smmu 0x1900>,
289 <&anoc2_smmu 0x1901>;
290 qcom,snoc-host-cap-8bit-quirk;
291 vdd-0.8-cx-mx-supply = <&vreg_l5a_0p8>;
292 vdd-1.8-xo-supply = <&vreg_l7a_1p8>;
293 vdd-1.3-rfa-supply = <&vreg_l17a_1p3>;
294 vdd-3.3-ch0-supply = <&vreg_l25a_3p3>;
295 vdd-3.3-ch1-supply = <&vreg_l23a_3p3>;
298 iommus = <&apps_smmu 0x1c02 0x1>;
304 #include <dt-bindings/clock/qcom,gcc-ipq4019.h>
307 compatible = "qcom,ipq4019-wifi";
308 reg = <0xa000000 0x200000>;
309 resets = <&gcc WIFI0_CPU_INIT_RESET>,
310 <&gcc WIFI0_RADIO_SRIF_RESET>,
311 <&gcc WIFI0_RADIO_WARM_RESET>,
312 <&gcc WIFI0_RADIO_COLD_RESET>,
313 <&gcc WIFI0_CORE_WARM_RESET>,
314 <&gcc WIFI0_CORE_COLD_RESET>;
315 reset-names = "wifi_cpu_init",
321 clocks = <&gcc GCC_WCSS2G_CLK>,
322 <&gcc GCC_WCSS2G_REF_CLK>,
323 <&gcc GCC_WCSS2G_RTC_CLK>;
324 clock-names = "wifi_wcss_cmd",
327 interrupts = <GIC_SPI 32 IRQ_TYPE_EDGE_RISING>,
328 <GIC_SPI 33 IRQ_TYPE_EDGE_RISING>,
329 <GIC_SPI 34 IRQ_TYPE_EDGE_RISING>,
330 <GIC_SPI 35 IRQ_TYPE_EDGE_RISING>,
331 <GIC_SPI 36 IRQ_TYPE_EDGE_RISING>,
332 <GIC_SPI 37 IRQ_TYPE_EDGE_RISING>,
333 <GIC_SPI 38 IRQ_TYPE_EDGE_RISING>,
334 <GIC_SPI 39 IRQ_TYPE_EDGE_RISING>,
335 <GIC_SPI 40 IRQ_TYPE_EDGE_RISING>,
336 <GIC_SPI 41 IRQ_TYPE_EDGE_RISING>,
337 <GIC_SPI 42 IRQ_TYPE_EDGE_RISING>,
338 <GIC_SPI 43 IRQ_TYPE_EDGE_RISING>,
339 <GIC_SPI 44 IRQ_TYPE_EDGE_RISING>,
340 <GIC_SPI 45 IRQ_TYPE_EDGE_RISING>,
341 <GIC_SPI 46 IRQ_TYPE_EDGE_RISING>,
342 <GIC_SPI 47 IRQ_TYPE_EDGE_RISING>,
343 <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>;
344 interrupt-names = "msi0",
361 ieee80211-freq-limit = <5470000 5875000>;