xref: /freebsd/sys/contrib/device-tree/Bindings/remoteproc/qcom,sdx55-pas.yaml (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
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  memory-region:
49    minItems: 1
50    description: Reference to the reserved-memory for the Hexagon core
51
52  qcom,qmp:
53    $ref: /schemas/types.yaml#/definitions/phandle
54    description: Reference to the AOSS side-channel message RAM.
55
56  smd-edge: false
57
58  firmware-name:
59    $ref: /schemas/types.yaml#/definitions/string
60    description: Firmware name for the Hexagon core
61
62required:
63  - compatible
64  - reg
65
66allOf:
67  - $ref: /schemas/remoteproc/qcom,pas-common.yaml#
68
69unevaluatedProperties: false
70
71examples:
72  - |
73    #include <dt-bindings/clock/qcom,rpmh.h>
74    #include <dt-bindings/interrupt-controller/arm-gic.h>
75    #include <dt-bindings/power/qcom-rpmpd.h>
76
77    remoteproc@4080000 {
78        compatible = "qcom,sdx55-mpss-pas";
79        reg = <0x04080000 0x4040>;
80
81        clocks = <&rpmhcc RPMH_CXO_CLK>;
82        clock-names = "xo";
83
84        interrupts-extended = <&intc GIC_SPI 250 IRQ_TYPE_EDGE_RISING>,
85                              <&modem_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
86                              <&modem_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
87                              <&modem_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
88                              <&modem_smp2p_in 3 IRQ_TYPE_EDGE_RISING>,
89                              <&modem_smp2p_in 7 IRQ_TYPE_EDGE_RISING>;
90        interrupt-names = "wdog", "fatal", "ready", "handover",
91                          "stop-ack", "shutdown-ack";
92
93        memory-region = <&mpss_adsp_mem>;
94
95        power-domains = <&rpmhpd SDX55_CX>, <&rpmhpd SDX55_MSS>;
96        power-domain-names = "cx", "mss";
97
98        qcom,smem-states = <&modem_smp2p_out 0>;
99        qcom,smem-state-names = "stop";
100
101        glink-edge {
102            interrupts = <GIC_SPI 114 IRQ_TYPE_EDGE_RISING>;
103            label = "mpss";
104            mboxes = <&apcs 15>;
105            qcom,remote-pid = <1>;
106
107            /* ... */
108        };
109    };
110