1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/remoteproc/qcom,qcs404-cdsp-pil.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm QCS404 CDSP Peripheral Image Loader
10 - Bjorn Andersson <bjorn.andersson@linaro.org>
13 This document defines the binding for a component that loads and boots firmware
14 on the Qualcomm Technology Inc. CDSP (Compute DSP).
19 - qcom,qcs404-cdsp-pil
24 The base address and size of the qdsp6ss register
28 - description: Watchdog interrupt
29 - description: Fatal interrupt
30 - description: Ready interrupt
31 - description: Handover interrupt
32 - description: Stop acknowledge interrupt
44 - description: XO clock
45 - description: SWAY clock
46 - description: TBU clock
47 - description: BIMC clock
48 - description: AHB AON clock
49 - description: Q6SS SLAVE clock
50 - description: Q6SS MASTER clock
51 - description: Q6 AXIM clock
66 - description: CX power domain
70 - description: AOSS restart
78 description: Reference to the reserved-memory for the Hexagon core
81 $ref: /schemas/types.yaml#/definitions/phandle-array
83 Phandle reference to a syscon representing TCSR followed by the
84 offset within syscon for q6 halt register.
87 - description: phandle to TCSR syscon region
88 - description: offset to the Q6 halt register
91 $ref: /schemas/types.yaml#/definitions/phandle-array
92 description: States used by the AP to signal the Hexagon core
94 - description: Stop the modem
96 qcom,smem-state-names:
97 description: The names of the state bits used for SMP2P output
114 - qcom,smem-state-names
116 additionalProperties: false
120 #include <dt-bindings/interrupt-controller/arm-gic.h>
121 #include <dt-bindings/clock/qcom,gcc-qcs404.h>
122 #include <dt-bindings/power/qcom-rpmpd.h>
123 #include <dt-bindings/clock/qcom,turingcc-qcs404.h>
125 compatible = "qcom,qcs404-cdsp-pil";
126 reg = <0x00b00000 0x4040>;
128 interrupts-extended = <&intc GIC_SPI 229 IRQ_TYPE_EDGE_RISING>,
129 <&cdsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
130 <&cdsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
131 <&cdsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
132 <&cdsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
133 interrupt-names = "wdog", "fatal", "ready",
134 "handover", "stop-ack";
136 clocks = <&xo_board>,
137 <&gcc GCC_CDSP_CFG_AHB_CLK>,
138 <&gcc GCC_CDSP_TBU_CLK>,
139 <&gcc GCC_BIMC_CDSP_CLK>,
140 <&turingcc TURING_WRAPPER_AON_CLK>,
141 <&turingcc TURING_Q6SS_AHBS_AON_CLK>,
142 <&turingcc TURING_Q6SS_AHBM_AON_CLK>,
143 <&turingcc TURING_Q6SS_Q6_AXIM_CLK>;
153 power-domains = <&rpmhpd SDM845_CX>;
155 resets = <&gcc GCC_CDSP_RESTART>;
156 reset-names = "restart";
158 qcom,halt-regs = <&tcsr 0x19004>;
160 memory-region = <&cdsp_fw_mem>;
162 qcom,smem-states = <&cdsp_smp2p_out 0>;
163 qcom,smem-state-names = "stop";