1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/remoteproc/qcom,sc7280-wpss-pil.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm SC7280 WPSS 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. WPSS.
19 - qcom,sc7280-wpss-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
33 - description: Shutdown acknowledge interrupt
46 - description: GCC WPSS AHB BDG Master clock
47 - description: GCC WPSS AHB clock
48 - description: GCC WPSS RSCP clock
49 - description: XO clock
60 - description: CX power domain
61 - description: MX power domain
70 - description: AOSS restart
71 - description: PDC SYNC
80 description: Reference to the reserved-memory for the Hexagon core
83 $ref: /schemas/types.yaml#/definitions/string
85 The name of the firmware which should be loaded for this remote
89 $ref: /schemas/types.yaml#/definitions/phandle-array
91 Phandle reference to a syscon representing TCSR followed by the
92 three offsets within syscon for q6, modem and nc halt registers.
95 $ref: /schemas/types.yaml#/definitions/phandle
96 description: Reference to the AOSS side-channel message RAM.
99 $ref: /schemas/types.yaml#/definitions/phandle-array
100 description: States used by the AP to signal the Hexagon core
102 - description: Stop the modem
104 qcom,smem-state-names:
105 description: The names of the state bits used for SMP2P output
109 $ref: qcom,glink-edge.yaml#
110 unevaluatedProperties: false
112 Qualcomm G-Link subnode which represents communication edge, channels
113 and devices related to the ADSP.
118 - description: IRQ from WPSS to GLINK
122 - description: Mailbox for communication between APPS and WPSS
146 - qcom,smem-state-names
149 additionalProperties: false
153 #include <dt-bindings/interrupt-controller/arm-gic.h>
154 #include <dt-bindings/clock/qcom,gcc-sc7280.h>
155 #include <dt-bindings/clock/qcom,rpmh.h>
156 #include <dt-bindings/power/qcom-rpmpd.h>
157 #include <dt-bindings/reset/qcom,sdm845-aoss.h>
158 #include <dt-bindings/reset/qcom,sdm845-pdc.h>
159 #include <dt-bindings/mailbox/qcom-ipcc.h>
161 compatible = "qcom,sc7280-wpss-pil";
162 reg = <0x08a00000 0x10000>;
164 interrupts-extended = <&intc GIC_SPI 587 IRQ_TYPE_EDGE_RISING>,
165 <&wpss_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
166 <&wpss_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
167 <&wpss_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
168 <&wpss_smp2p_in 3 IRQ_TYPE_EDGE_RISING>,
169 <&wpss_smp2p_in 7 IRQ_TYPE_EDGE_RISING>;
170 interrupt-names = "wdog", "fatal", "ready", "handover",
171 "stop-ack", "shutdown-ack";
173 clocks = <&gcc GCC_WPSS_AHB_BDG_MST_CLK>,
174 <&gcc GCC_WPSS_AHB_CLK>,
175 <&gcc GCC_WPSS_RSCP_CLK>,
176 <&rpmhcc RPMH_CXO_CLK>;
177 clock-names = "ahb_bdg", "ahb",
180 power-domains = <&rpmhpd SC7280_CX>,
182 power-domain-names = "cx", "mx";
184 memory-region = <&wpss_mem>;
186 qcom,qmp = <&aoss_qmp>;
188 qcom,smem-states = <&wpss_smp2p_out 0>;
189 qcom,smem-state-names = "stop";
191 resets = <&aoss_reset AOSS_CC_WCSS_RESTART>,
192 <&pdc_reset PDC_WPSS_SYNC_RESET>;
193 reset-names = "restart", "pdc_sync";
195 qcom,halt-regs = <&tcsr_mutex 0x37000>;
198 interrupts-extended = <&ipcc IPCC_CLIENT_WPSS
199 IPCC_MPROC_SIGNAL_GLINK_QMP
200 IRQ_TYPE_EDGE_RISING>;
201 mboxes = <&ipcc IPCC_CLIENT_WPSS
202 IPCC_MPROC_SIGNAL_GLINK_QMP>;
205 qcom,remote-pid = <13>;