xref: /linux/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml (revision 02680c23d7b3febe45ea3d4f9818c2b2dc89020a)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2# Copyright (c) 2018-2019 The Linux Foundation. All rights reserved.
3
4%YAML 1.2
5---
6$id: http://devicetree.org/schemas/net/wireless/qcom,ath11k.yaml#
7$schema: http://devicetree.org/meta-schemas/core.yaml#
8
9title: Qualcomm Technologies ath11k wireless devices Generic Binding
10
11maintainers:
12  - Kalle Valo <kvalo@codeaurora.org>
13
14description: |
15  These are dt entries for Qualcomm Technologies, Inc. IEEE 802.11ax
16  devices, for example like AHB based IPQ8074.
17
18properties:
19  compatible:
20    enum:
21      - qcom,ipq8074-wifi
22      - qcom,ipq6018-wifi
23
24  reg:
25    maxItems: 1
26
27  interrupts:
28    items:
29      - description: misc-pulse1 interrupt events
30      - description: misc-latch interrupt events
31      - description: sw exception interrupt events
32      - description: watchdog interrupt events
33      - description: interrupt event for ring CE0
34      - description: interrupt event for ring CE1
35      - description: interrupt event for ring CE2
36      - description: interrupt event for ring CE3
37      - description: interrupt event for ring CE4
38      - description: interrupt event for ring CE5
39      - description: interrupt event for ring CE6
40      - description: interrupt event for ring CE7
41      - description: interrupt event for ring CE8
42      - description: interrupt event for ring CE9
43      - description: interrupt event for ring CE10
44      - description: interrupt event for ring CE11
45      - description: interrupt event for ring host2wbm-desc-feed
46      - description: interrupt event for ring host2reo-re-injection
47      - description: interrupt event for ring host2reo-command
48      - description: interrupt event for ring host2rxdma-monitor-ring3
49      - description: interrupt event for ring host2rxdma-monitor-ring2
50      - description: interrupt event for ring host2rxdma-monitor-ring1
51      - description: interrupt event for ring reo2ost-exception
52      - description: interrupt event for ring wbm2host-rx-release
53      - description: interrupt event for ring reo2host-status
54      - description: interrupt event for ring reo2host-destination-ring4
55      - description: interrupt event for ring reo2host-destination-ring3
56      - description: interrupt event for ring reo2host-destination-ring2
57      - description: interrupt event for ring reo2host-destination-ring1
58      - description: interrupt event for ring rxdma2host-monitor-destination-mac3
59      - description: interrupt event for ring rxdma2host-monitor-destination-mac2
60      - description: interrupt event for ring rxdma2host-monitor-destination-mac1
61      - description: interrupt event for ring ppdu-end-interrupts-mac3
62      - description: interrupt event for ring ppdu-end-interrupts-mac2
63      - description: interrupt event for ring ppdu-end-interrupts-mac1
64      - description: interrupt event for ring rxdma2host-monitor-status-ring-mac3
65      - description: interrupt event for ring rxdma2host-monitor-status-ring-mac2
66      - description: interrupt event for ring rxdma2host-monitor-status-ring-mac1
67      - description: interrupt event for ring host2rxdma-host-buf-ring-mac3
68      - description: interrupt event for ring host2rxdma-host-buf-ring-mac2
69      - description: interrupt event for ring host2rxdma-host-buf-ring-mac1
70      - description: interrupt event for ring rxdma2host-destination-ring-mac3
71      - description: interrupt event for ring rxdma2host-destination-ring-mac2
72      - description: interrupt event for ring rxdma2host-destination-ring-mac1
73      - description: interrupt event for ring host2tcl-input-ring4
74      - description: interrupt event for ring host2tcl-input-ring3
75      - description: interrupt event for ring host2tcl-input-ring2
76      - description: interrupt event for ring host2tcl-input-ring1
77      - description: interrupt event for ring wbm2host-tx-completions-ring3
78      - description: interrupt event for ring wbm2host-tx-completions-ring2
79      - description: interrupt event for ring wbm2host-tx-completions-ring1
80      - description: interrupt event for ring tcl2host-status-ring
81
82
83  interrupt-names:
84    items:
85      - const: misc-pulse1
86      - const: misc-latch
87      - const: sw-exception
88      - const: watchdog
89      - const: ce0
90      - const: ce1
91      - const: ce2
92      - const: ce3
93      - const: ce4
94      - const: ce5
95      - const: ce6
96      - const: ce7
97      - const: ce8
98      - const: ce9
99      - const: ce10
100      - const: ce11
101      - const: host2wbm-desc-feed
102      - const: host2reo-re-injection
103      - const: host2reo-command
104      - const: host2rxdma-monitor-ring3
105      - const: host2rxdma-monitor-ring2
106      - const: host2rxdma-monitor-ring1
107      - const: reo2ost-exception
108      - const: wbm2host-rx-release
109      - const: reo2host-status
110      - const: reo2host-destination-ring4
111      - const: reo2host-destination-ring3
112      - const: reo2host-destination-ring2
113      - const: reo2host-destination-ring1
114      - const: rxdma2host-monitor-destination-mac3
115      - const: rxdma2host-monitor-destination-mac2
116      - const: rxdma2host-monitor-destination-mac1
117      - const: ppdu-end-interrupts-mac3
118      - const: ppdu-end-interrupts-mac2
119      - const: ppdu-end-interrupts-mac1
120      - const: rxdma2host-monitor-status-ring-mac3
121      - const: rxdma2host-monitor-status-ring-mac2
122      - const: rxdma2host-monitor-status-ring-mac1
123      - const: host2rxdma-host-buf-ring-mac3
124      - const: host2rxdma-host-buf-ring-mac2
125      - const: host2rxdma-host-buf-ring-mac1
126      - const: rxdma2host-destination-ring-mac3
127      - const: rxdma2host-destination-ring-mac2
128      - const: rxdma2host-destination-ring-mac1
129      - const: host2tcl-input-ring4
130      - const: host2tcl-input-ring3
131      - const: host2tcl-input-ring2
132      - const: host2tcl-input-ring1
133      - const: wbm2host-tx-completions-ring3
134      - const: wbm2host-tx-completions-ring2
135      - const: wbm2host-tx-completions-ring1
136      - const: tcl2host-status-ring
137
138  qcom,rproc:
139    $ref: /schemas/types.yaml#/definitions/phandle
140    description:
141      DT entry of q6v5-wcss remoteproc driver.
142      Phandle to a node that can contain the following properties
143        * compatible
144        * reg
145        * reg-names
146
147  qcom,ath11k-calibration-variant:
148    $ref: /schemas/types.yaml#/definitions/string
149    description:
150      string to uniquely identify variant of the calibration data in the
151      board-2.bin for designs with colliding bus and device specific ids
152
153required:
154  - compatible
155  - reg
156  - interrupts
157  - interrupt-names
158  - qcom,rproc
159
160additionalProperties: false
161
162examples:
163  - |
164
165    q6v5_wcss: q6v5_wcss@CD00000 {
166        compatible = "qcom,ipq8074-wcss-pil";
167        reg = <0xCD00000 0x4040>,
168              <0x4AB000 0x20>;
169        reg-names = "qdsp6",
170                    "rmb";
171    };
172
173    wifi0: wifi@c000000 {
174        compatible = "qcom,ipq8074-wifi";
175        reg = <0xc000000 0x2000000>;
176        interrupts = <0 320 1>,
177                     <0 319 1>,
178                     <0 318 1>,
179                     <0 317 1>,
180                     <0 316 1>,
181                     <0 315 1>,
182                     <0 314 1>,
183                     <0 311 1>,
184                     <0 310 1>,
185                     <0 411 1>,
186                     <0 410 1>,
187                     <0 40 1>,
188                     <0 39 1>,
189                     <0 302 1>,
190                     <0 301 1>,
191                     <0 37 1>,
192                     <0 36 1>,
193                     <0 296 1>,
194                     <0 295 1>,
195                     <0 294 1>,
196                     <0 293 1>,
197                     <0 292 1>,
198                     <0 291 1>,
199                     <0 290 1>,
200                     <0 289 1>,
201                     <0 288 1>,
202                     <0 239 1>,
203                     <0 236 1>,
204                     <0 235 1>,
205                     <0 234 1>,
206                     <0 233 1>,
207                     <0 232 1>,
208                     <0 231 1>,
209                     <0 230 1>,
210                     <0 229 1>,
211                     <0 228 1>,
212                     <0 224 1>,
213                     <0 223 1>,
214                     <0 203 1>,
215                     <0 183 1>,
216                     <0 180 1>,
217                     <0 179 1>,
218                     <0 178 1>,
219                     <0 177 1>,
220                     <0 176 1>,
221                     <0 163 1>,
222                     <0 162 1>,
223                     <0 160 1>,
224                     <0 159 1>,
225                     <0 158 1>,
226                     <0 157 1>,
227                     <0 156 1>;
228        interrupt-names = "misc-pulse1",
229                          "misc-latch",
230                          "sw-exception",
231                          "watchdog",
232                          "ce0",
233                          "ce1",
234                          "ce2",
235                          "ce3",
236                          "ce4",
237                          "ce5",
238                          "ce6",
239                          "ce7",
240                          "ce8",
241                          "ce9",
242                          "ce10",
243                          "ce11",
244                          "host2wbm-desc-feed",
245                          "host2reo-re-injection",
246                          "host2reo-command",
247                          "host2rxdma-monitor-ring3",
248                          "host2rxdma-monitor-ring2",
249                          "host2rxdma-monitor-ring1",
250                          "reo2ost-exception",
251                          "wbm2host-rx-release",
252                          "reo2host-status",
253                          "reo2host-destination-ring4",
254                          "reo2host-destination-ring3",
255                          "reo2host-destination-ring2",
256                          "reo2host-destination-ring1",
257                          "rxdma2host-monitor-destination-mac3",
258                          "rxdma2host-monitor-destination-mac2",
259                          "rxdma2host-monitor-destination-mac1",
260                          "ppdu-end-interrupts-mac3",
261                          "ppdu-end-interrupts-mac2",
262                          "ppdu-end-interrupts-mac1",
263                          "rxdma2host-monitor-status-ring-mac3",
264                          "rxdma2host-monitor-status-ring-mac2",
265                          "rxdma2host-monitor-status-ring-mac1",
266                          "host2rxdma-host-buf-ring-mac3",
267                          "host2rxdma-host-buf-ring-mac2",
268                          "host2rxdma-host-buf-ring-mac1",
269                          "rxdma2host-destination-ring-mac3",
270                          "rxdma2host-destination-ring-mac2",
271                          "rxdma2host-destination-ring-mac1",
272                          "host2tcl-input-ring4",
273                          "host2tcl-input-ring3",
274                          "host2tcl-input-ring2",
275                          "host2tcl-input-ring1",
276                          "wbm2host-tx-completions-ring3",
277                          "wbm2host-tx-completions-ring2",
278                          "wbm2host-tx-completions-ring1",
279                          "tcl2host-status-ring";
280        qcom,rproc = <&q6v5_wcss>;
281    };
282