1cb7aa33aSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2cb7aa33aSEmmanuel Vadot%YAML 1.2
3cb7aa33aSEmmanuel Vadot---
4cb7aa33aSEmmanuel Vadot$id: http://devicetree.org/schemas/remoteproc/qcom,msm8996-mss-pil.yaml#
5cb7aa33aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6cb7aa33aSEmmanuel Vadot
7cb7aa33aSEmmanuel Vadottitle: Qualcomm MSM8996 MSS Peripheral Image Loader (and similar)
8cb7aa33aSEmmanuel Vadot
9cb7aa33aSEmmanuel Vadotmaintainers:
10cb7aa33aSEmmanuel Vadot  - Bjorn Andersson <andersson@kernel.org>
11cb7aa33aSEmmanuel Vadot  - Sibi Sankar <quic_sibis@quicinc.com>
12cb7aa33aSEmmanuel Vadot
13cb7aa33aSEmmanuel Vadotdescription:
14cb7aa33aSEmmanuel Vadot  MSS Peripheral Image Loader loads and boots firmware on the
15cb7aa33aSEmmanuel Vadot  Qualcomm Technology Inc. MSM8996 Modem Hexagon Core (and similar).
16cb7aa33aSEmmanuel Vadot
17cb7aa33aSEmmanuel Vadotproperties:
18cb7aa33aSEmmanuel Vadot  compatible:
19cb7aa33aSEmmanuel Vadot    enum:
20cb7aa33aSEmmanuel Vadot      - qcom,msm8996-mss-pil
21cb7aa33aSEmmanuel Vadot      - qcom,msm8998-mss-pil
22*aa1a8ff2SEmmanuel Vadot      - qcom,sdm660-mss-pil
23cb7aa33aSEmmanuel Vadot      - qcom,sdm845-mss-pil
24cb7aa33aSEmmanuel Vadot
25cb7aa33aSEmmanuel Vadot  reg:
26cb7aa33aSEmmanuel Vadot    items:
27cb7aa33aSEmmanuel Vadot      - description: MSS QDSP6 registers
28cb7aa33aSEmmanuel Vadot      - description: RMB registers
29cb7aa33aSEmmanuel Vadot
30cb7aa33aSEmmanuel Vadot  reg-names:
31cb7aa33aSEmmanuel Vadot    items:
32cb7aa33aSEmmanuel Vadot      - const: qdsp6
33cb7aa33aSEmmanuel Vadot      - const: rmb
34cb7aa33aSEmmanuel Vadot
35cb7aa33aSEmmanuel Vadot  iommus:
36cb7aa33aSEmmanuel Vadot    items:
37cb7aa33aSEmmanuel Vadot      - description: MSA Stream 1
38cb7aa33aSEmmanuel Vadot      - description: MSA Stream 2
39cb7aa33aSEmmanuel Vadot
40cb7aa33aSEmmanuel Vadot  interrupts:
41cb7aa33aSEmmanuel Vadot    items:
42cb7aa33aSEmmanuel Vadot      - description: Watchdog interrupt
43cb7aa33aSEmmanuel Vadot      - description: Fatal interrupt
44cb7aa33aSEmmanuel Vadot      - description: Ready interrupt
45cb7aa33aSEmmanuel Vadot      - description: Handover interrupt
46cb7aa33aSEmmanuel Vadot      - description: Stop acknowledge interrupt
47cb7aa33aSEmmanuel Vadot      - description: Shutdown acknowledge interrupt
48cb7aa33aSEmmanuel Vadot
49cb7aa33aSEmmanuel Vadot  interrupt-names:
50cb7aa33aSEmmanuel Vadot    items:
51cb7aa33aSEmmanuel Vadot      - const: wdog
52cb7aa33aSEmmanuel Vadot      - const: fatal
53cb7aa33aSEmmanuel Vadot      - const: ready
54cb7aa33aSEmmanuel Vadot      - const: handover
55cb7aa33aSEmmanuel Vadot      - const: stop-ack
56cb7aa33aSEmmanuel Vadot      - const: shutdown-ack
57cb7aa33aSEmmanuel Vadot
58cb7aa33aSEmmanuel Vadot  clocks:
59cb7aa33aSEmmanuel Vadot    minItems: 8
60cb7aa33aSEmmanuel Vadot    maxItems: 9
61cb7aa33aSEmmanuel Vadot
62cb7aa33aSEmmanuel Vadot  clock-names:
63cb7aa33aSEmmanuel Vadot    minItems: 8
64cb7aa33aSEmmanuel Vadot    maxItems: 9
65cb7aa33aSEmmanuel Vadot
66cb7aa33aSEmmanuel Vadot  power-domains:
67cb7aa33aSEmmanuel Vadot    items:
68cb7aa33aSEmmanuel Vadot      - description: CX power domain
69cb7aa33aSEmmanuel Vadot      - description: MX power domain
70cb7aa33aSEmmanuel Vadot      - description: MSS power domain (only valid for qcom,sdm845-mss-pil)
71cb7aa33aSEmmanuel Vadot    minItems: 2
72cb7aa33aSEmmanuel Vadot
73cb7aa33aSEmmanuel Vadot  power-domain-names:
74cb7aa33aSEmmanuel Vadot    items:
75cb7aa33aSEmmanuel Vadot      - const: cx
76cb7aa33aSEmmanuel Vadot      - const: mx
77cb7aa33aSEmmanuel Vadot      - const: mss # only valid for qcom,sdm845-mss-pil
78cb7aa33aSEmmanuel Vadot    minItems: 2
79cb7aa33aSEmmanuel Vadot
80cb7aa33aSEmmanuel Vadot  pll-supply:
81cb7aa33aSEmmanuel Vadot    description: PLL supply
82cb7aa33aSEmmanuel Vadot
83cb7aa33aSEmmanuel Vadot  resets:
84cb7aa33aSEmmanuel Vadot    items:
85cb7aa33aSEmmanuel Vadot      - description: AOSS restart
86cb7aa33aSEmmanuel Vadot      - description: PDC reset (only valid for qcom,sdm845-mss-pil)
87cb7aa33aSEmmanuel Vadot    minItems: 1
88cb7aa33aSEmmanuel Vadot
89cb7aa33aSEmmanuel Vadot  reset-names:
90cb7aa33aSEmmanuel Vadot    items:
91cb7aa33aSEmmanuel Vadot      - const: mss_restart
92cb7aa33aSEmmanuel Vadot      - const: pdc_reset # only valid for qcom,sdm845-mss-pil
93cb7aa33aSEmmanuel Vadot    minItems: 1
94cb7aa33aSEmmanuel Vadot
95cb7aa33aSEmmanuel Vadot  qcom,qmp:
96cb7aa33aSEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/phandle
97cb7aa33aSEmmanuel Vadot    description: Reference to the AOSS side-channel message RAM.
98cb7aa33aSEmmanuel Vadot
99cb7aa33aSEmmanuel Vadot  qcom,smem-states:
100cb7aa33aSEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/phandle-array
101cb7aa33aSEmmanuel Vadot    description: States used by the AP to signal the Hexagon core
102cb7aa33aSEmmanuel Vadot    items:
103cb7aa33aSEmmanuel Vadot      - description: Stop modem
104cb7aa33aSEmmanuel Vadot
105cb7aa33aSEmmanuel Vadot  qcom,smem-state-names:
106cb7aa33aSEmmanuel Vadot    description: Names of the states used by the AP to signal the Hexagon core
107cb7aa33aSEmmanuel Vadot    items:
108cb7aa33aSEmmanuel Vadot      - const: stop
109cb7aa33aSEmmanuel Vadot
110cb7aa33aSEmmanuel Vadot  qcom,halt-regs:
111cb7aa33aSEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/phandle-array
112cb7aa33aSEmmanuel Vadot    description:
113cb7aa33aSEmmanuel Vadot      Halt registers are used to halt transactions of various sub-components
114cb7aa33aSEmmanuel Vadot      within MSS.
115cb7aa33aSEmmanuel Vadot    items:
116cb7aa33aSEmmanuel Vadot      - items:
117cb7aa33aSEmmanuel Vadot          - description: phandle to TCSR syscon region
118cb7aa33aSEmmanuel Vadot          - description: offset to the Q6 halt register
119cb7aa33aSEmmanuel Vadot          - description: offset to the modem halt register
120cb7aa33aSEmmanuel Vadot          - description: offset to the nc halt register
121cb7aa33aSEmmanuel Vadot
122cb7aa33aSEmmanuel Vadot  memory-region:
123cb7aa33aSEmmanuel Vadot    items:
124cb7aa33aSEmmanuel Vadot      - description: MBA reserved region
125cb7aa33aSEmmanuel Vadot      - description: Modem reserved region
126cb7aa33aSEmmanuel Vadot      - description: Metadata reserved region
127cb7aa33aSEmmanuel Vadot
128cb7aa33aSEmmanuel Vadot  firmware-name:
129cb7aa33aSEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/string-array
130cb7aa33aSEmmanuel Vadot    items:
131cb7aa33aSEmmanuel Vadot      - description: Name of MBA firmware
132cb7aa33aSEmmanuel Vadot      - description: Name of modem firmware
133cb7aa33aSEmmanuel Vadot
134cb7aa33aSEmmanuel Vadot  smd-edge:
135cb7aa33aSEmmanuel Vadot    $ref: /schemas/remoteproc/qcom,smd-edge.yaml#
136cb7aa33aSEmmanuel Vadot    description:
137cb7aa33aSEmmanuel Vadot      Qualcomm Shared Memory subnode which represents communication edge,
138cb7aa33aSEmmanuel Vadot      channels and devices related to the Modem.
139cb7aa33aSEmmanuel Vadot    unevaluatedProperties: false
140cb7aa33aSEmmanuel Vadot
141cb7aa33aSEmmanuel Vadot  glink-edge:
142cb7aa33aSEmmanuel Vadot    $ref: /schemas/remoteproc/qcom,glink-edge.yaml#
143cb7aa33aSEmmanuel Vadot    description:
144cb7aa33aSEmmanuel Vadot      Qualcomm G-Link subnode which represents communication edge, channels
145cb7aa33aSEmmanuel Vadot      and devices related to the Modem.
146cb7aa33aSEmmanuel Vadot    unevaluatedProperties: false
147cb7aa33aSEmmanuel Vadot
148cb7aa33aSEmmanuel Vadot  # Deprecated properties
149cb7aa33aSEmmanuel Vadot  mba:
150cb7aa33aSEmmanuel Vadot    type: object
151cb7aa33aSEmmanuel Vadot    description:
152cb7aa33aSEmmanuel Vadot      MBA reserved region
153cb7aa33aSEmmanuel Vadot
154cb7aa33aSEmmanuel Vadot    properties:
155cb7aa33aSEmmanuel Vadot      memory-region: true
156cb7aa33aSEmmanuel Vadot
157cb7aa33aSEmmanuel Vadot    required:
158cb7aa33aSEmmanuel Vadot      - memory-region
159cb7aa33aSEmmanuel Vadot
160cb7aa33aSEmmanuel Vadot    additionalProperties: false
161cb7aa33aSEmmanuel Vadot    deprecated: true
162cb7aa33aSEmmanuel Vadot
163cb7aa33aSEmmanuel Vadot  mpss:
164cb7aa33aSEmmanuel Vadot    type: object
165cb7aa33aSEmmanuel Vadot    description:
166cb7aa33aSEmmanuel Vadot      MPSS reserved region
167cb7aa33aSEmmanuel Vadot
168cb7aa33aSEmmanuel Vadot    properties:
169cb7aa33aSEmmanuel Vadot      memory-region: true
170cb7aa33aSEmmanuel Vadot
171cb7aa33aSEmmanuel Vadot    required:
172cb7aa33aSEmmanuel Vadot      - memory-region
173cb7aa33aSEmmanuel Vadot
174cb7aa33aSEmmanuel Vadot    additionalProperties: false
175cb7aa33aSEmmanuel Vadot    deprecated: true
176cb7aa33aSEmmanuel Vadot
177cb7aa33aSEmmanuel Vadot  metadata:
178cb7aa33aSEmmanuel Vadot    type: object
179cb7aa33aSEmmanuel Vadot    description:
180cb7aa33aSEmmanuel Vadot      Metadata reserved region
181cb7aa33aSEmmanuel Vadot
182cb7aa33aSEmmanuel Vadot    properties:
183cb7aa33aSEmmanuel Vadot      memory-region: true
184cb7aa33aSEmmanuel Vadot
185cb7aa33aSEmmanuel Vadot    required:
186cb7aa33aSEmmanuel Vadot      - memory-region
187cb7aa33aSEmmanuel Vadot
188cb7aa33aSEmmanuel Vadot    additionalProperties: false
189cb7aa33aSEmmanuel Vadot    deprecated: true
190cb7aa33aSEmmanuel Vadot
191cb7aa33aSEmmanuel Vadotrequired:
192cb7aa33aSEmmanuel Vadot  - compatible
193cb7aa33aSEmmanuel Vadot  - reg
194cb7aa33aSEmmanuel Vadot  - reg-names
195cb7aa33aSEmmanuel Vadot  - interrupts
196cb7aa33aSEmmanuel Vadot  - interrupt-names
197cb7aa33aSEmmanuel Vadot  - clocks
198cb7aa33aSEmmanuel Vadot  - clock-names
199cb7aa33aSEmmanuel Vadot  - power-domains
200cb7aa33aSEmmanuel Vadot  - power-domain-names
201cb7aa33aSEmmanuel Vadot  - resets
202cb7aa33aSEmmanuel Vadot  - reset-names
203cb7aa33aSEmmanuel Vadot  - qcom,halt-regs
204cb7aa33aSEmmanuel Vadot  - qcom,smem-states
205cb7aa33aSEmmanuel Vadot  - qcom,smem-state-names
206cb7aa33aSEmmanuel Vadot
207cb7aa33aSEmmanuel VadotallOf:
208cb7aa33aSEmmanuel Vadot  - if:
209cb7aa33aSEmmanuel Vadot      properties:
210cb7aa33aSEmmanuel Vadot        compatible:
211cb7aa33aSEmmanuel Vadot          const: qcom,msm8996-mss-pil
212cb7aa33aSEmmanuel Vadot    then:
213cb7aa33aSEmmanuel Vadot      properties:
214cb7aa33aSEmmanuel Vadot        clocks:
215cb7aa33aSEmmanuel Vadot          items:
216cb7aa33aSEmmanuel Vadot            - description: GCC MSS IFACE clock
217cb7aa33aSEmmanuel Vadot            - description: GCC MSS BUS clock
218cb7aa33aSEmmanuel Vadot            - description: GCC MSS MEM clock
219*aa1a8ff2SEmmanuel Vadot            - description: RPM XO clock
220cb7aa33aSEmmanuel Vadot            - description: GCC MSS GPLL0 clock
221cb7aa33aSEmmanuel Vadot            - description: GCC MSS SNOC_AXI clock
222cb7aa33aSEmmanuel Vadot            - description: GCC MSS MNOC_AXI clock
223*aa1a8ff2SEmmanuel Vadot            - description: RPM QDSS clock
224cb7aa33aSEmmanuel Vadot        clock-names:
225cb7aa33aSEmmanuel Vadot          items:
226cb7aa33aSEmmanuel Vadot            - const: iface
227cb7aa33aSEmmanuel Vadot            - const: bus
228cb7aa33aSEmmanuel Vadot            - const: mem
229cb7aa33aSEmmanuel Vadot            - const: xo
230cb7aa33aSEmmanuel Vadot            - const: gpll0_mss
231cb7aa33aSEmmanuel Vadot            - const: snoc_axi
232cb7aa33aSEmmanuel Vadot            - const: mnoc_axi
233cb7aa33aSEmmanuel Vadot            - const: qdss
234cb7aa33aSEmmanuel Vadot        glink-edge: false
235cb7aa33aSEmmanuel Vadot      required:
236cb7aa33aSEmmanuel Vadot        - pll-supply
237cb7aa33aSEmmanuel Vadot        - smd-edge
238cb7aa33aSEmmanuel Vadot    else:
239cb7aa33aSEmmanuel Vadot      properties:
240cb7aa33aSEmmanuel Vadot        pll-supply: false
241cb7aa33aSEmmanuel Vadot        smd-edge: false
242cb7aa33aSEmmanuel Vadot
243cb7aa33aSEmmanuel Vadot  - if:
244cb7aa33aSEmmanuel Vadot      properties:
245cb7aa33aSEmmanuel Vadot        compatible:
246*aa1a8ff2SEmmanuel Vadot          enum:
247*aa1a8ff2SEmmanuel Vadot            - qcom,msm8998-mss-pil
248*aa1a8ff2SEmmanuel Vadot            - qcom,sdm660-mss-pil
249cb7aa33aSEmmanuel Vadot    then:
250cb7aa33aSEmmanuel Vadot      properties:
251cb7aa33aSEmmanuel Vadot        clocks:
252cb7aa33aSEmmanuel Vadot          items:
253cb7aa33aSEmmanuel Vadot            - description: GCC MSS IFACE clock
254cb7aa33aSEmmanuel Vadot            - description: GCC MSS BUS clock
255cb7aa33aSEmmanuel Vadot            - description: GCC MSS MEM clock
256cb7aa33aSEmmanuel Vadot            - description: GCC MSS GPLL0 clock
257cb7aa33aSEmmanuel Vadot            - description: GCC MSS SNOC_AXI clock
258cb7aa33aSEmmanuel Vadot            - description: GCC MSS MNOC_AXI clock
259cb7aa33aSEmmanuel Vadot            - description: RPMH QDSS clock
260cb7aa33aSEmmanuel Vadot            - description: RPMH XO clock
261cb7aa33aSEmmanuel Vadot        clock-names:
262cb7aa33aSEmmanuel Vadot          items:
263cb7aa33aSEmmanuel Vadot            - const: iface
264cb7aa33aSEmmanuel Vadot            - const: bus
265cb7aa33aSEmmanuel Vadot            - const: mem
266cb7aa33aSEmmanuel Vadot            - const: gpll0_mss
267cb7aa33aSEmmanuel Vadot            - const: snoc_axi
268cb7aa33aSEmmanuel Vadot            - const: mnoc_axi
269cb7aa33aSEmmanuel Vadot            - const: qdss
270cb7aa33aSEmmanuel Vadot            - const: xo
271cb7aa33aSEmmanuel Vadot      required:
272cb7aa33aSEmmanuel Vadot        - glink-edge
273cb7aa33aSEmmanuel Vadot
274cb7aa33aSEmmanuel Vadot  - if:
275cb7aa33aSEmmanuel Vadot      properties:
276cb7aa33aSEmmanuel Vadot        compatible:
277cb7aa33aSEmmanuel Vadot          const: qcom,sdm845-mss-pil
278cb7aa33aSEmmanuel Vadot    then:
279cb7aa33aSEmmanuel Vadot      properties:
280cb7aa33aSEmmanuel Vadot        power-domains:
281cb7aa33aSEmmanuel Vadot          minItems: 3
282cb7aa33aSEmmanuel Vadot        power-domain-names:
283cb7aa33aSEmmanuel Vadot          minItems: 3
284cb7aa33aSEmmanuel Vadot        resets:
285cb7aa33aSEmmanuel Vadot          minItems: 2
286cb7aa33aSEmmanuel Vadot        reset-names:
287cb7aa33aSEmmanuel Vadot          minItems: 2
288cb7aa33aSEmmanuel Vadot        clocks:
289cb7aa33aSEmmanuel Vadot          items:
290cb7aa33aSEmmanuel Vadot            - description: GCC MSS IFACE clock
291cb7aa33aSEmmanuel Vadot            - description: GCC MSS BUS clock
292cb7aa33aSEmmanuel Vadot            - description: GCC MSS MEM clock
293cb7aa33aSEmmanuel Vadot            - description: GCC MSS GPLL0 clock
294cb7aa33aSEmmanuel Vadot            - description: GCC MSS SNOC_AXI clock
295cb7aa33aSEmmanuel Vadot            - description: GCC MSS MNOC_AXI clock
296cb7aa33aSEmmanuel Vadot            - description: GCC MSS PRNG clock
297cb7aa33aSEmmanuel Vadot            - description: RPMH XO clock
298cb7aa33aSEmmanuel Vadot        clock-names:
299cb7aa33aSEmmanuel Vadot          items:
300cb7aa33aSEmmanuel Vadot            - const: iface
301cb7aa33aSEmmanuel Vadot            - const: bus
302cb7aa33aSEmmanuel Vadot            - const: mem
303cb7aa33aSEmmanuel Vadot            - const: gpll0_mss
304cb7aa33aSEmmanuel Vadot            - const: snoc_axi
305cb7aa33aSEmmanuel Vadot            - const: mnoc_axi
306cb7aa33aSEmmanuel Vadot            - const: prng
307cb7aa33aSEmmanuel Vadot            - const: xo
308cb7aa33aSEmmanuel Vadot      required:
309cb7aa33aSEmmanuel Vadot        - qcom,qmp
310cb7aa33aSEmmanuel Vadot        - glink-edge
311cb7aa33aSEmmanuel Vadot    else:
312cb7aa33aSEmmanuel Vadot      properties:
313cb7aa33aSEmmanuel Vadot        iommus: false
314cb7aa33aSEmmanuel Vadot        power-domains:
315cb7aa33aSEmmanuel Vadot          maxItems: 2
316cb7aa33aSEmmanuel Vadot        power-domain-names:
317cb7aa33aSEmmanuel Vadot          maxItems: 2
318cb7aa33aSEmmanuel Vadot        resets:
319cb7aa33aSEmmanuel Vadot          maxItems: 1
320cb7aa33aSEmmanuel Vadot        reset-names:
321cb7aa33aSEmmanuel Vadot          maxItems: 1
322cb7aa33aSEmmanuel Vadot        qcom,qmp: false
323cb7aa33aSEmmanuel Vadot
324cb7aa33aSEmmanuel Vadot  # Fallbacks for deprecated properties
325cb7aa33aSEmmanuel Vadot  - oneOf:
326cb7aa33aSEmmanuel Vadot      - required:
327cb7aa33aSEmmanuel Vadot          - memory-region
328cb7aa33aSEmmanuel Vadot      - required:
329cb7aa33aSEmmanuel Vadot          - mba
330cb7aa33aSEmmanuel Vadot          - mpss
331cb7aa33aSEmmanuel Vadot          - metadata
332cb7aa33aSEmmanuel Vadot
333cb7aa33aSEmmanuel VadotadditionalProperties: false
334cb7aa33aSEmmanuel Vadot
335cb7aa33aSEmmanuel Vadotexamples:
336cb7aa33aSEmmanuel Vadot  - |
337cb7aa33aSEmmanuel Vadot    #include <dt-bindings/clock/qcom,gcc-sdm845.h>
338cb7aa33aSEmmanuel Vadot    #include <dt-bindings/clock/qcom,rpmh.h>
339cb7aa33aSEmmanuel Vadot    #include <dt-bindings/interrupt-controller/arm-gic.h>
340cb7aa33aSEmmanuel Vadot    #include <dt-bindings/power/qcom-rpmpd.h>
341cb7aa33aSEmmanuel Vadot    #include <dt-bindings/reset/qcom,sdm845-aoss.h>
342cb7aa33aSEmmanuel Vadot    #include <dt-bindings/reset/qcom,sdm845-pdc.h>
343cb7aa33aSEmmanuel Vadot
344cb7aa33aSEmmanuel Vadot    remoteproc@4080000 {
345cb7aa33aSEmmanuel Vadot        compatible = "qcom,sdm845-mss-pil";
346cb7aa33aSEmmanuel Vadot        reg = <0x04080000 0x408>, <0x04180000 0x48>;
347cb7aa33aSEmmanuel Vadot        reg-names = "qdsp6", "rmb";
348cb7aa33aSEmmanuel Vadot
349cb7aa33aSEmmanuel Vadot        interrupts-extended = <&intc GIC_SPI 266 IRQ_TYPE_EDGE_RISING>,
350cb7aa33aSEmmanuel Vadot                              <&modem_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
351cb7aa33aSEmmanuel Vadot                              <&modem_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
352cb7aa33aSEmmanuel Vadot                              <&modem_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
353cb7aa33aSEmmanuel Vadot                              <&modem_smp2p_in 3 IRQ_TYPE_EDGE_RISING>,
354cb7aa33aSEmmanuel Vadot                              <&modem_smp2p_in 7 IRQ_TYPE_EDGE_RISING>;
355cb7aa33aSEmmanuel Vadot        interrupt-names = "wdog", "fatal", "ready", "handover", "stop-ack",
356cb7aa33aSEmmanuel Vadot                          "shutdown-ack";
357cb7aa33aSEmmanuel Vadot
358cb7aa33aSEmmanuel Vadot        clocks = <&gcc GCC_MSS_CFG_AHB_CLK>,
359cb7aa33aSEmmanuel Vadot                 <&gcc GCC_MSS_Q6_MEMNOC_AXI_CLK>,
360cb7aa33aSEmmanuel Vadot                 <&gcc GCC_BOOT_ROM_AHB_CLK>,
361cb7aa33aSEmmanuel Vadot                 <&gcc GCC_MSS_GPLL0_DIV_CLK_SRC>,
362cb7aa33aSEmmanuel Vadot                 <&gcc GCC_MSS_SNOC_AXI_CLK>,
363cb7aa33aSEmmanuel Vadot                 <&gcc GCC_MSS_MFAB_AXIS_CLK>,
364cb7aa33aSEmmanuel Vadot                 <&gcc GCC_PRNG_AHB_CLK>,
365cb7aa33aSEmmanuel Vadot                 <&rpmhcc RPMH_CXO_CLK>;
366cb7aa33aSEmmanuel Vadot        clock-names = "iface", "bus", "mem", "gpll0_mss",
367cb7aa33aSEmmanuel Vadot                      "snoc_axi", "mnoc_axi", "prng", "xo";
368cb7aa33aSEmmanuel Vadot
369cb7aa33aSEmmanuel Vadot        power-domains = <&rpmhpd SDM845_CX>,
370cb7aa33aSEmmanuel Vadot                        <&rpmhpd SDM845_MX>,
371cb7aa33aSEmmanuel Vadot                        <&rpmhpd SDM845_MSS>;
372cb7aa33aSEmmanuel Vadot        power-domain-names = "cx", "mx", "mss";
373cb7aa33aSEmmanuel Vadot
374cb7aa33aSEmmanuel Vadot        memory-region = <&mba_mem>, <&mpss_mem>, <&mdata_mem>;
375cb7aa33aSEmmanuel Vadot
376cb7aa33aSEmmanuel Vadot        resets = <&aoss_reset AOSS_CC_MSS_RESTART>,
377cb7aa33aSEmmanuel Vadot                 <&pdc_reset PDC_MODEM_SYNC_RESET>;
378cb7aa33aSEmmanuel Vadot        reset-names = "mss_restart", "pdc_reset";
379cb7aa33aSEmmanuel Vadot
380cb7aa33aSEmmanuel Vadot        qcom,halt-regs = <&tcsr_regs_1 0x3000 0x5000 0x4000>;
381cb7aa33aSEmmanuel Vadot
382cb7aa33aSEmmanuel Vadot        qcom,qmp = <&aoss_qmp>;
383cb7aa33aSEmmanuel Vadot
384cb7aa33aSEmmanuel Vadot        qcom,smem-states = <&modem_smp2p_out 0>;
385cb7aa33aSEmmanuel Vadot        qcom,smem-state-names = "stop";
386cb7aa33aSEmmanuel Vadot
387cb7aa33aSEmmanuel Vadot        glink-edge {
388cb7aa33aSEmmanuel Vadot            interrupts = <GIC_SPI 449 IRQ_TYPE_EDGE_RISING>;
389cb7aa33aSEmmanuel Vadot            label = "modem";
390cb7aa33aSEmmanuel Vadot            qcom,remote-pid = <1>;
391cb7aa33aSEmmanuel Vadot            mboxes = <&apss_shared 12>;
392cb7aa33aSEmmanuel Vadot        };
393cb7aa33aSEmmanuel Vadot    };
394