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    const: qcom,ipq8074-wifi
21
22  reg:
23    maxItems: 1
24
25  interrupts:
26    items:
27      - description: misc-pulse1 interrupt events
28      - description: misc-latch interrupt events
29      - description: sw exception interrupt events
30      - description: watchdog interrupt events
31      - description: interrupt event for ring CE0
32      - description: interrupt event for ring CE1
33      - description: interrupt event for ring CE2
34      - description: interrupt event for ring CE3
35      - description: interrupt event for ring CE4
36      - description: interrupt event for ring CE5
37      - description: interrupt event for ring CE6
38      - description: interrupt event for ring CE7
39      - description: interrupt event for ring CE8
40      - description: interrupt event for ring CE9
41      - description: interrupt event for ring CE10
42      - description: interrupt event for ring CE11
43      - description: interrupt event for ring host2wbm-desc-feed
44      - description: interrupt event for ring host2reo-re-injection
45      - description: interrupt event for ring host2reo-command
46      - description: interrupt event for ring host2rxdma-monitor-ring3
47      - description: interrupt event for ring host2rxdma-monitor-ring2
48      - description: interrupt event for ring host2rxdma-monitor-ring1
49      - description: interrupt event for ring reo2ost-exception
50      - description: interrupt event for ring wbm2host-rx-release
51      - description: interrupt event for ring reo2host-status
52      - description: interrupt event for ring reo2host-destination-ring4
53      - description: interrupt event for ring reo2host-destination-ring3
54      - description: interrupt event for ring reo2host-destination-ring2
55      - description: interrupt event for ring reo2host-destination-ring1
56      - description: interrupt event for ring rxdma2host-monitor-destination-mac3
57      - description: interrupt event for ring rxdma2host-monitor-destination-mac2
58      - description: interrupt event for ring rxdma2host-monitor-destination-mac1
59      - description: interrupt event for ring ppdu-end-interrupts-mac3
60      - description: interrupt event for ring ppdu-end-interrupts-mac2
61      - description: interrupt event for ring ppdu-end-interrupts-mac1
62      - description: interrupt event for ring rxdma2host-monitor-status-ring-mac3
63      - description: interrupt event for ring rxdma2host-monitor-status-ring-mac2
64      - description: interrupt event for ring rxdma2host-monitor-status-ring-mac1
65      - description: interrupt event for ring host2rxdma-host-buf-ring-mac3
66      - description: interrupt event for ring host2rxdma-host-buf-ring-mac2
67      - description: interrupt event for ring host2rxdma-host-buf-ring-mac1
68      - description: interrupt event for ring rxdma2host-destination-ring-mac3
69      - description: interrupt event for ring rxdma2host-destination-ring-mac2
70      - description: interrupt event for ring rxdma2host-destination-ring-mac1
71      - description: interrupt event for ring host2tcl-input-ring4
72      - description: interrupt event for ring host2tcl-input-ring3
73      - description: interrupt event for ring host2tcl-input-ring2
74      - description: interrupt event for ring host2tcl-input-ring1
75      - description: interrupt event for ring wbm2host-tx-completions-ring3
76      - description: interrupt event for ring wbm2host-tx-completions-ring2
77      - description: interrupt event for ring wbm2host-tx-completions-ring1
78      - description: interrupt event for ring tcl2host-status-ring
79
80
81  interrupt-names:
82    items:
83      - const: misc-pulse1
84      - const: misc-latch
85      - const: sw-exception
86      - const: watchdog
87      - const: ce0
88      - const: ce1
89      - const: ce2
90      - const: ce3
91      - const: ce4
92      - const: ce5
93      - const: ce6
94      - const: ce7
95      - const: ce8
96      - const: ce9
97      - const: ce10
98      - const: ce11
99      - const: host2wbm-desc-feed
100      - const: host2reo-re-injection
101      - const: host2reo-command
102      - const: host2rxdma-monitor-ring3
103      - const: host2rxdma-monitor-ring2
104      - const: host2rxdma-monitor-ring1
105      - const: reo2ost-exception
106      - const: wbm2host-rx-release
107      - const: reo2host-status
108      - const: reo2host-destination-ring4
109      - const: reo2host-destination-ring3
110      - const: reo2host-destination-ring2
111      - const: reo2host-destination-ring1
112      - const: rxdma2host-monitor-destination-mac3
113      - const: rxdma2host-monitor-destination-mac2
114      - const: rxdma2host-monitor-destination-mac1
115      - const: ppdu-end-interrupts-mac3
116      - const: ppdu-end-interrupts-mac2
117      - const: ppdu-end-interrupts-mac1
118      - const: rxdma2host-monitor-status-ring-mac3
119      - const: rxdma2host-monitor-status-ring-mac2
120      - const: rxdma2host-monitor-status-ring-mac1
121      - const: host2rxdma-host-buf-ring-mac3
122      - const: host2rxdma-host-buf-ring-mac2
123      - const: host2rxdma-host-buf-ring-mac1
124      - const: rxdma2host-destination-ring-mac3
125      - const: rxdma2host-destination-ring-mac2
126      - const: rxdma2host-destination-ring-mac1
127      - const: host2tcl-input-ring4
128      - const: host2tcl-input-ring3
129      - const: host2tcl-input-ring2
130      - const: host2tcl-input-ring1
131      - const: wbm2host-tx-completions-ring3
132      - const: wbm2host-tx-completions-ring2
133      - const: wbm2host-tx-completions-ring1
134      - const: tcl2host-status-ring
135
136  qcom,rproc:
137    $ref: /schemas/types.yaml#definitions/phandle
138    description:
139      DT entry of q6v5-wcss remoteproc driver.
140      Phandle to a node that can contain the following properties
141        * compatible
142        * reg
143        * reg-names
144
145required:
146  - compatible
147  - reg
148  - interrupts
149  - interrupt-names
150  - qcom,rproc
151
152additionalProperties: false
153
154examples:
155  - |
156
157    q6v5_wcss: q6v5_wcss@CD00000 {
158        compatible = "qcom,ipq8074-wcss-pil";
159        reg = <0xCD00000 0x4040>,
160              <0x4AB000 0x20>;
161        reg-names = "qdsp6",
162                    "rmb";
163    };
164
165    wifi0: wifi@c000000 {
166        compatible = "qcom,ipq8074-wifi";
167        reg = <0xc000000 0x2000000>;
168        interrupts = <0 320 1>,
169                     <0 319 1>,
170                     <0 318 1>,
171                     <0 317 1>,
172                     <0 316 1>,
173                     <0 315 1>,
174                     <0 314 1>,
175                     <0 311 1>,
176                     <0 310 1>,
177                     <0 411 1>,
178                     <0 410 1>,
179                     <0 40 1>,
180                     <0 39 1>,
181                     <0 302 1>,
182                     <0 301 1>,
183                     <0 37 1>,
184                     <0 36 1>,
185                     <0 296 1>,
186                     <0 295 1>,
187                     <0 294 1>,
188                     <0 293 1>,
189                     <0 292 1>,
190                     <0 291 1>,
191                     <0 290 1>,
192                     <0 289 1>,
193                     <0 288 1>,
194                     <0 239 1>,
195                     <0 236 1>,
196                     <0 235 1>,
197                     <0 234 1>,
198                     <0 233 1>,
199                     <0 232 1>,
200                     <0 231 1>,
201                     <0 230 1>,
202                     <0 229 1>,
203                     <0 228 1>,
204                     <0 224 1>,
205                     <0 223 1>,
206                     <0 203 1>,
207                     <0 183 1>,
208                     <0 180 1>,
209                     <0 179 1>,
210                     <0 178 1>,
211                     <0 177 1>,
212                     <0 176 1>,
213                     <0 163 1>,
214                     <0 162 1>,
215                     <0 160 1>,
216                     <0 159 1>,
217                     <0 158 1>,
218                     <0 157 1>,
219                     <0 156 1>;
220        interrupt-names = "misc-pulse1",
221                          "misc-latch",
222                          "sw-exception",
223                          "watchdog",
224                          "ce0",
225                          "ce1",
226                          "ce2",
227                          "ce3",
228                          "ce4",
229                          "ce5",
230                          "ce6",
231                          "ce7",
232                          "ce8",
233                          "ce9",
234                          "ce10",
235                          "ce11",
236                          "host2wbm-desc-feed",
237                          "host2reo-re-injection",
238                          "host2reo-command",
239                          "host2rxdma-monitor-ring3",
240                          "host2rxdma-monitor-ring2",
241                          "host2rxdma-monitor-ring1",
242                          "reo2ost-exception",
243                          "wbm2host-rx-release",
244                          "reo2host-status",
245                          "reo2host-destination-ring4",
246                          "reo2host-destination-ring3",
247                          "reo2host-destination-ring2",
248                          "reo2host-destination-ring1",
249                          "rxdma2host-monitor-destination-mac3",
250                          "rxdma2host-monitor-destination-mac2",
251                          "rxdma2host-monitor-destination-mac1",
252                          "ppdu-end-interrupts-mac3",
253                          "ppdu-end-interrupts-mac2",
254                          "ppdu-end-interrupts-mac1",
255                          "rxdma2host-monitor-status-ring-mac3",
256                          "rxdma2host-monitor-status-ring-mac2",
257                          "rxdma2host-monitor-status-ring-mac1",
258                          "host2rxdma-host-buf-ring-mac3",
259                          "host2rxdma-host-buf-ring-mac2",
260                          "host2rxdma-host-buf-ring-mac1",
261                          "rxdma2host-destination-ring-mac3",
262                          "rxdma2host-destination-ring-mac2",
263                          "rxdma2host-destination-ring-mac1",
264                          "host2tcl-input-ring4",
265                          "host2tcl-input-ring3",
266                          "host2tcl-input-ring2",
267                          "host2tcl-input-ring1",
268                          "wbm2host-tx-completions-ring3",
269                          "wbm2host-tx-completions-ring2",
270                          "wbm2host-tx-completions-ring1",
271                          "tcl2host-status-ring";
272        qcom,rproc = <&q6v5_wcss>;
273    };
274