232 lines · yaml
1# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/remoteproc/qcom,sm8550-pas.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Qualcomm SM8550 Peripheral Authentication Service8 9maintainers:10 - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>11 12description:13 Qualcomm SM8550 SoC Peripheral Authentication Service loads and boots firmware14 on the Qualcomm DSP Hexagon cores.15 16properties:17 compatible:18 enum:19 - qcom,sdx75-mpss-pas20 - qcom,sm8550-adsp-pas21 - qcom,sm8550-cdsp-pas22 - qcom,sm8550-mpss-pas23 - qcom,sm8650-adsp-pas24 - qcom,sm8650-cdsp-pas25 - qcom,sm8650-mpss-pas26 - qcom,x1e80100-adsp-pas27 - qcom,x1e80100-cdsp-pas28 29 reg:30 maxItems: 131 32 clocks:33 items:34 - description: XO clock35 36 clock-names:37 items:38 - const: xo39 40 qcom,qmp:41 $ref: /schemas/types.yaml#/definitions/phandle42 description: Reference to the AOSS side-channel message RAM.43 44 smd-edge: false45 46 firmware-name:47 $ref: /schemas/types.yaml#/definitions/string-array48 items:49 - description: Firmware name of the Hexagon core50 - description: Firmware name of the Hexagon Devicetree51 52 memory-region:53 minItems: 254 items:55 - description: Memory region for main Firmware authentication56 - description: Memory region for Devicetree Firmware authentication57 - description: DSM Memory region58 - description: DSM Memory region 259 - description: Memory region for Qlink Logging60 61required:62 - compatible63 - reg64 - memory-region65 66allOf:67 - $ref: /schemas/remoteproc/qcom,pas-common.yaml#68 - if:69 properties:70 compatible:71 enum:72 - qcom,sm8550-adsp-pas73 - qcom,sm8550-cdsp-pas74 - qcom,sm8650-adsp-pas75 - qcom,x1e80100-adsp-pas76 - qcom,x1e80100-cdsp-pas77 then:78 properties:79 interrupts:80 maxItems: 581 interrupt-names:82 maxItems: 583 memory-region:84 maxItems: 285 - if:86 properties:87 compatible:88 enum:89 - qcom,sm8650-cdsp-pas90 then:91 properties:92 interrupts:93 maxItems: 594 interrupt-names:95 maxItems: 596 memory-region:97 minItems: 398 maxItems: 399 - if:100 properties:101 compatible:102 enum:103 - qcom,sm8550-mpss-pas104 then:105 properties:106 interrupts:107 minItems: 6108 interrupt-names:109 minItems: 6110 memory-region:111 minItems: 3112 maxItems: 3113 - if:114 properties:115 compatible:116 enum:117 - qcom,sdx75-mpss-pas118 - qcom,sm8650-mpss-pas119 then:120 properties:121 interrupts:122 minItems: 6123 interrupt-names:124 minItems: 6125 memory-region:126 minItems: 5127 maxItems: 5128 129 - if:130 properties:131 compatible:132 enum:133 - qcom,sm8550-adsp-pas134 - qcom,sm8650-adsp-pas135 - qcom,x1e80100-adsp-pas136 then:137 properties:138 power-domains:139 items:140 - description: LCX power domain141 - description: LMX power domain142 power-domain-names:143 items:144 - const: lcx145 - const: lmx146 147 - if:148 properties:149 compatible:150 enum:151 - qcom,sdx75-mpss-pas152 - qcom,sm8550-mpss-pas153 - qcom,sm8650-mpss-pas154 then:155 properties:156 power-domains:157 items:158 - description: CX power domain159 - description: MSS power domain160 power-domain-names:161 items:162 - const: cx163 - const: mss164 - if:165 properties:166 compatible:167 enum:168 - qcom,sm8550-cdsp-pas169 - qcom,sm8650-cdsp-pas170 - qcom,x1e80100-cdsp-pas171 then:172 properties:173 power-domains:174 items:175 - description: CX power domain176 - description: MXC power domain177 - description: NSP power domain178 power-domain-names:179 items:180 - const: cx181 - const: mxc182 - const: nsp183 184unevaluatedProperties: false185 186examples:187 - |188 #include <dt-bindings/clock/qcom,rpmh.h>189 #include <dt-bindings/interrupt-controller/irq.h>190 #include <dt-bindings/mailbox/qcom-ipcc.h>191 192 remoteproc@30000000 {193 compatible = "qcom,sm8550-adsp-pas";194 reg = <0x030000000 0x100>;195 196 clocks = <&rpmhcc RPMH_CXO_CLK>;197 clock-names = "xo";198 199 interrupts-extended = <&pdc 6 IRQ_TYPE_EDGE_RISING>,200 <&smp2p_adsp_in 0 IRQ_TYPE_EDGE_RISING>,201 <&smp2p_adsp_in 1 IRQ_TYPE_EDGE_RISING>,202 <&smp2p_adsp_in 2 IRQ_TYPE_EDGE_RISING>,203 <&smp2p_adsp_in 3 IRQ_TYPE_EDGE_RISING>;204 interrupt-names = "wdog", "fatal", "ready",205 "handover", "stop-ack";206 207 memory-region = <&adsp_mem>, <&dtb_adsp_mem>;208 209 firmware-name = "qcom/sm8550/adsp.mbn",210 "qcom/sm8550/adsp_dtb.mbn";211 212 power-domains = <&rpmhpd_sm8550_lcx>,213 <&rpmhpd_sm8550_lmx>;214 power-domain-names = "lcx", "lmx";215 216 qcom,qmp = <&aoss_qmp>;217 qcom,smem-states = <&smp2p_adsp_out 0>;218 qcom,smem-state-names = "stop";219 220 glink-edge {221 interrupts-extended = <&ipcc IPCC_CLIENT_LPASS222 IPCC_MPROC_SIGNAL_GLINK_QMP223 IRQ_TYPE_EDGE_RISING>;224 mboxes = <&ipcc IPCC_CLIENT_LPASS IPCC_MPROC_SIGNAL_GLINK_QMP>;225 226 label = "lpass";227 qcom,remote-pid = <2>;228 229 /* ... */230 };231 };232