1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/remoteproc/qcom,adsp.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm ADSP Peripheral Image Loader binding
10 - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
13 This document defines the binding for a component that loads and boots
14 firmware on the Qualcomm ADSP Hexagon core.
19 - qcom,msm8974-adsp-pil
20 - qcom,msm8996-adsp-pil
21 - qcom,msm8996-slpi-pil
22 - qcom,msm8998-adsp-pas
23 - qcom,msm8998-slpi-pas
24 - qcom,qcs404-adsp-pas
25 - qcom,qcs404-cdsp-pas
26 - qcom,qcs404-wcss-pas
27 - qcom,sc7180-mpss-pas
28 - qcom,sc8180x-adsp-pas
29 - qcom,sc8180x-cdsp-pas
30 - qcom,sc8180x-mpss-pas
31 - qcom,sdm660-adsp-pas
32 - qcom,sdm845-adsp-pas
33 - qcom,sdm845-cdsp-pas
35 - qcom,sm8150-adsp-pas
36 - qcom,sm8150-cdsp-pas
37 - qcom,sm8150-mpss-pas
38 - qcom,sm8150-slpi-pas
39 - qcom,sm8250-adsp-pas
40 - qcom,sm8250-cdsp-pas
41 - qcom,sm8250-slpi-pas
42 - qcom,sm8350-adsp-pas
43 - qcom,sm8350-cdsp-pas
44 - qcom,sm8350-slpi-pas
45 - qcom,sm8350-mpss-pas
75 description: Phandle to the CX regulator
78 description: Phandle to the PX regulator
89 $ref: /schemas/types.yaml#/definitions/string
90 description: Firmware name for the Hexagon core
94 description: Reference to the reserved-memory for the Hexagon core
97 $ref: /schemas/types.yaml#/definitions/phandle-array
98 description: States used by the AP to signal the Hexagon core
100 - description: Stop the modem
102 qcom,smem-state-names:
103 $ref: /schemas/types.yaml#/definitions/string-array
104 description: The names of the state bits used for SMP2P output
109 $ref: /schemas/types.yaml#/definitions/phandle-array
111 Phandle reference to a syscon representing TCSR followed by the
112 three offsets within syscon for q6, modem and nc halt registers.
117 Qualcomm Shared Memory subnode which represents communication edge,
118 channels and devices related to the ADSP.
123 Qualcomm G-Link subnode which represents communication edge, channels
124 and devices related to the ADSP.
134 - qcom,smem-state-names
136 additionalProperties: false
144 - qcom,msm8974-adsp-pil
145 - qcom,msm8996-adsp-pil
146 - qcom,msm8996-slpi-pil
147 - qcom,msm8998-adsp-pas
148 - qcom,qcs404-adsp-pas
149 - qcom,qcs404-wcss-pas
150 - qcom,sc8180x-adsp-pas
151 - qcom,sc8180x-cdsp-pas
152 - qcom,sc8180x-mpss-pas
153 - qcom,sdm845-adsp-pas
154 - qcom,sdm845-cdsp-pas
155 - qcom,sm8150-adsp-pas
156 - qcom,sm8150-cdsp-pas
157 - qcom,sm8150-mpss-pas
158 - qcom,sm8150-slpi-pas
159 - qcom,sm8250-adsp-pas
160 - qcom,sm8250-cdsp-pas
161 - qcom,sm8250-slpi-pas
162 - qcom,sm8350-adsp-pas
163 - qcom,sm8350-cdsp-pas
164 - qcom,sm8350-slpi-pas
165 - qcom,sm8350-mpss-pas
170 - description: XO clock
180 - qcom,msm8998-slpi-pas
185 - description: XO clock
186 - description: AGGRE2 clock
197 - qcom,qcs404-cdsp-pas
202 - description: XO clock
203 - description: SWAY clock
204 - description: TBU clock
205 - description: BIMC clock
206 - description: AHB AON clock
207 - description: Q6SS SLAVE clock
208 - description: Q6SS MASTER clock
209 - description: Q6 AXIM clock
226 - qcom,sc7180-mpss-pas
231 - description: XO clock
232 - description: IFACE clock
233 - description: BUS clock
234 - description: NAC clock
235 - description: SNOC AXI clock
236 - description: MNOC AXI clock
251 - qcom,msm8974-adsp-pil
252 - qcom,msm8996-adsp-pil
253 - qcom,msm8996-slpi-pil
254 - qcom,msm8998-adsp-pas
255 - qcom,msm8998-slpi-pas
256 - qcom,qcs404-adsp-pas
257 - qcom,qcs404-cdsp-pas
258 - qcom,qcs404-wcss-pas
259 - qcom,sc8180x-adsp-pas
260 - qcom,sc8180x-cdsp-pas
261 - qcom,sdm845-adsp-pas
262 - qcom,sdm845-cdsp-pas
263 - qcom,sm8150-adsp-pas
264 - qcom,sm8150-cdsp-pas
265 - qcom,sm8150-slpi-pas
266 - qcom,sm8250-adsp-pas
267 - qcom,sm8250-cdsp-pas
268 - qcom,sm8250-slpi-pas
269 - qcom,sm8350-adsp-pas
270 - qcom,sm8350-cdsp-pas
271 - qcom,sm8350-slpi-pas
276 - description: Watchdog interrupt
277 - description: Fatal interrupt
278 - description: Ready interrupt
279 - description: Handover interrupt
280 - description: Stop acknowledge interrupt
294 - qcom,sc7180-mpss-pas
295 - qcom,sc8180x-mpss-pas
296 - qcom,sdx55-mpss-pas
297 - qcom,sm8150-mpss-pas
298 - qcom,sm8350-mpss-pas
303 - description: Watchdog interrupt
304 - description: Fatal interrupt
305 - description: Ready interrupt
306 - description: Handover interrupt
307 - description: Stop acknowledge interrupt
308 - description: Shutdown acknowledge interrupt
316 - const: shutdown-ack
323 - qcom,msm8974-adsp-pil
333 - qcom,msm8996-adsp-pil
334 - qcom,msm8998-adsp-pas
339 - description: CX power domain
349 - qcom,msm8996-slpi-pil
350 - qcom,msm8998-slpi-pas
355 - description: SSC-CX power domain
367 - qcom,sc7180-mpss-pas
372 - description: Load State power domain
373 - description: CX power domain
374 - description: MX power domain
375 - description: MSS power domain
388 - qcom,sm8150-adsp-pas
389 - qcom,sm8150-cdsp-pas
394 - description: Load State power domain
395 - description: CX power domain
406 - qcom,sm8150-mpss-pas
407 - qcom,sm8350-mpss-pas
412 - description: Load State power domain
413 - description: CX power domain
414 - description: MSS power domain
426 - qcom,sdx55-mpss-pas
431 - description: CX power domain
432 - description: MSS power domain
443 - qcom,sc8180x-adsp-pas
444 - qcom,sc8180x-cdsp-pas
445 - qcom,sm8150-slpi-pas
446 - qcom,sm8250-adsp-pas
447 - qcom,sm8250-slpi-pas
448 - qcom,sm8350-adsp-pas
449 - qcom,sm8350-slpi-pas
454 - description: Load State power domain
455 - description: LCX power domain
456 - description: LMX power domain
468 - qcom,sm8350-cdsp-pas
473 - description: Load State power domain
474 - description: CX power domain
475 - description: MXC power domain
487 - qcom,qcs404-cdsp-pas
492 - description: CDSP restart
502 - qcom,sc7180-mpss-pas
507 - description: MSS restart
508 - description: PDC reset
516 #include <dt-bindings/clock/qcom,rpmcc.h>
517 #include <dt-bindings/interrupt-controller/irq.h>
519 compatible = "qcom,msm8974-adsp-pil";
521 interrupts-extended = <&intc 0 162 IRQ_TYPE_EDGE_RISING>,
522 <&adsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
523 <&adsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
524 <&adsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
525 <&adsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
526 interrupt-names = "wdog",
532 clocks = <&rpmcc RPM_CXO_CLK>;
535 cx-supply = <&pm8841_s2>;
537 memory-region = <&adsp_region>;
539 qcom,smem-states = <&adsp_smp2p_out 0>;
540 qcom,smem-state-names = "stop";
543 interrupts = <0 156 IRQ_TYPE_EDGE_RISING>;
545 qcom,ipc = <&apcs 8 8>;