1# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/remoteproc/qcom,sdx55-pas.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm SDX55 Peripheral Authentication Service
8
9maintainers:
10  - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
11
12description:
13  Qualcomm SDX55 SoC Peripheral Authentication Service loads and boots firmware
14  on the Qualcomm DSP Hexagon cores.
15
16properties:
17  compatible:
18    enum:
19      - qcom,sdx55-mpss-pas
20
21  reg:
22    maxItems: 1
23
24  clocks:
25    items:
26      - description: XO clock
27
28  clock-names:
29    items:
30      - const: xo
31
32  interrupts:
33    minItems: 6
34
35  interrupt-names:
36    minItems: 6
37
38  power-domains:
39    items:
40      - description: CX power domain
41      - description: MSS power domain
42
43  power-domain-names:
44    items:
45      - const: cx
46      - const: mss
47
48  qcom,qmp:
49    $ref: /schemas/types.yaml#/definitions/phandle
50    description: Reference to the AOSS side-channel message RAM.
51
52  smd-edge: false
53
54required:
55  - compatible
56  - reg
57
58allOf:
59  - $ref: /schemas/remoteproc/qcom,pas-common.yaml#
60
61unevaluatedProperties: false
62
63examples:
64  - |
65    #include <dt-bindings/clock/qcom,rpmh.h>
66    #include <dt-bindings/interrupt-controller/arm-gic.h>
67    #include <dt-bindings/power/qcom-rpmpd.h>
68
69    remoteproc@4080000 {
70        compatible = "qcom,sdx55-mpss-pas";
71        reg = <0x04080000 0x4040>;
72
73        clocks = <&rpmhcc RPMH_CXO_CLK>;
74        clock-names = "xo";
75
76        interrupts-extended = <&intc GIC_SPI 250 IRQ_TYPE_EDGE_RISING>,
77                              <&modem_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
78                              <&modem_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
79                              <&modem_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
80                              <&modem_smp2p_in 3 IRQ_TYPE_EDGE_RISING>,
81                              <&modem_smp2p_in 7 IRQ_TYPE_EDGE_RISING>;
82        interrupt-names = "wdog", "fatal", "ready", "handover",
83                          "stop-ack", "shutdown-ack";
84
85        memory-region = <&mpss_adsp_mem>;
86
87        power-domains = <&rpmhpd SDX55_CX>, <&rpmhpd SDX55_MSS>;
88        power-domain-names = "cx", "mss";
89
90        qcom,smem-states = <&modem_smp2p_out 0>;
91        qcom,smem-state-names = "stop";
92
93        glink-edge {
94            interrupts = <GIC_SPI 114 IRQ_TYPE_EDGE_RISING>;
95            label = "mpss";
96            mboxes = <&apcs 15>;
97            qcom,remote-pid = <1>;
98
99            /* ... */
100        };
101    };
102