187 lines · yaml
1# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/remoteproc/qcom,sc7180-pas.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Qualcomm SC7180/SC7280 Peripheral Authentication Service8 9maintainers:10 - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>11 12description:13 Qualcomm SC7180/SC7280 SoC Peripheral Authentication Service loads and boots14 firmware on the Qualcomm DSP Hexagon cores.15 16properties:17 compatible:18 enum:19 - qcom,sc7180-adsp-pas20 - qcom,sc7180-mpss-pas21 - qcom,sc7280-adsp-pas22 - qcom,sc7280-cdsp-pas23 - qcom,sc7280-mpss-pas24 - qcom,sc7280-wpss-pas25 26 reg:27 maxItems: 128 29 clocks:30 items:31 - description: XO clock32 33 clock-names:34 items:35 - const: xo36 37 memory-region:38 maxItems: 139 description: Reference to the reserved-memory for the Hexagon core40 41 qcom,qmp:42 $ref: /schemas/types.yaml#/definitions/phandle43 description: Reference to the AOSS side-channel message RAM.44 45 smd-edge: false46 47 firmware-name:48 maxItems: 149 description: Firmware name for the Hexagon core50 51required:52 - compatible53 - reg54 - memory-region55 56allOf:57 - $ref: /schemas/remoteproc/qcom,pas-common.yaml#58 - if:59 properties:60 compatible:61 enum:62 - qcom,sc7180-adsp-pas63 then:64 properties:65 interrupts:66 maxItems: 567 interrupt-names:68 maxItems: 569 else:70 properties:71 interrupts:72 minItems: 673 interrupt-names:74 minItems: 675 76 - if:77 properties:78 compatible:79 enum:80 - qcom,sc7180-adsp-pas81 - qcom,sc7280-adsp-pas82 then:83 properties:84 power-domains:85 items:86 - description: LCX power domain87 - description: LMX power domain88 power-domain-names:89 items:90 - const: lcx91 - const: lmx92 93 - if:94 properties:95 compatible:96 enum:97 - qcom,sc7180-mpss-pas98 then:99 properties:100 power-domains:101 items:102 - description: CX power domain103 - description: MX power domain104 - description: MSS power domain105 power-domain-names:106 items:107 - const: cx108 - const: mx109 - const: mss110 111 - if:112 properties:113 compatible:114 enum:115 - qcom,sc7280-mpss-pas116 then:117 properties:118 power-domains:119 items:120 - description: CX power domain121 - description: MSS power domain122 power-domain-names:123 items:124 - const: cx125 - const: mss126 127 - if:128 properties:129 compatible:130 enum:131 - qcom,sc7280-cdsp-pas132 - qcom,sc7280-wpss-pas133 then:134 properties:135 power-domains:136 items:137 - description: CX power domain138 - description: MX power domain139 power-domain-names:140 items:141 - const: cx142 - const: mx143 144unevaluatedProperties: false145 146examples:147 - |148 #include <dt-bindings/clock/qcom,rpmh.h>149 #include <dt-bindings/interrupt-controller/arm-gic.h>150 #include <dt-bindings/interrupt-controller/irq.h>151 #include <dt-bindings/power/qcom-rpmpd.h>152 153 remoteproc@4080000 {154 compatible = "qcom,sc7180-mpss-pas";155 reg = <0x04080000 0x4040>;156 157 clocks = <&rpmhcc RPMH_CXO_CLK>;158 clock-names = "xo";159 160 interrupts-extended = <&intc GIC_SPI 266 IRQ_TYPE_EDGE_RISING>,161 <&modem_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,162 <&modem_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,163 <&modem_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,164 <&modem_smp2p_in 3 IRQ_TYPE_EDGE_RISING>,165 <&modem_smp2p_in 7 IRQ_TYPE_EDGE_RISING>;166 interrupt-names = "wdog", "fatal", "ready", "handover",167 "stop-ack", "shutdown-ack";168 169 memory-region = <&mpss_mem>;170 171 power-domains = <&rpmhpd SC7180_CX>,172 <&rpmhpd SC7180_MX>,173 <&rpmhpd SC7180_MSS>;174 power-domain-names = "cx", "mx", "mss";175 176 qcom,qmp = <&aoss_qmp>;177 qcom,smem-states = <&modem_smp2p_out 0>;178 qcom,smem-state-names = "stop";179 180 glink-edge {181 interrupts = <GIC_SPI 449 IRQ_TYPE_EDGE_RISING>;182 label = "modem";183 qcom,remote-pid = <1>;184 mboxes = <&apss_shared 12>;185 };186 };187