184 lines · yaml
1# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/remoteproc/qcom,sm8350-pas.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Qualcomm SM8350/SM8450 Peripheral Authentication Service8 9maintainers:10 - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>11 12description:13 Qualcomm SM8350/SM8450 SoC Peripheral Authentication Service loads and boots14 firmware on the Qualcomm DSP Hexagon cores.15 16properties:17 compatible:18 enum:19 - qcom,sm8350-adsp-pas20 - qcom,sm8350-cdsp-pas21 - qcom,sm8350-slpi-pas22 - qcom,sm8350-mpss-pas23 - qcom,sm8450-adsp-pas24 - qcom,sm8450-cdsp-pas25 - qcom,sm8450-mpss-pas26 - qcom,sm8450-slpi-pas27 28 reg:29 maxItems: 130 31 clocks:32 items:33 - description: XO clock34 35 clock-names:36 items:37 - const: xo38 39 qcom,qmp:40 $ref: /schemas/types.yaml#/definitions/phandle41 description: Reference to the AOSS side-channel message RAM.42 43 smd-edge: false44 45 memory-region:46 maxItems: 147 description: Reference to the reserved-memory for the Hexagon core48 49 firmware-name:50 maxItems: 151 description: Firmware name for the Hexagon core52 53required:54 - compatible55 - reg56 - memory-region57 58allOf:59 - $ref: /schemas/remoteproc/qcom,pas-common.yaml#60 - if:61 properties:62 compatible:63 enum:64 - qcom,sm8350-adsp-pas65 - qcom,sm8350-cdsp-pas66 - qcom,sm8350-slpi-pas67 - qcom,sm8450-adsp-pas68 - qcom,sm8450-cdsp-pas69 - qcom,sm8450-slpi-pas70 then:71 properties:72 interrupts:73 maxItems: 574 interrupt-names:75 maxItems: 576 else:77 properties:78 interrupts:79 minItems: 680 interrupt-names:81 minItems: 682 83 - if:84 properties:85 compatible:86 enum:87 - qcom,sm8350-mpss-pas88 - qcom,sm8450-mpss-pas89 then:90 properties:91 power-domains:92 items:93 - description: CX power domain94 - description: MSS power domain95 power-domain-names:96 items:97 - const: cx98 - const: mss99 100 - if:101 properties:102 compatible:103 enum:104 - qcom,sm8350-adsp-pas105 - qcom,sm8350-slpi-pas106 - qcom,sm8450-adsp-pas107 - qcom,sm8450-slpi-pas108 then:109 properties:110 power-domains:111 items:112 - description: LCX power domain113 - description: LMX power domain114 power-domain-names:115 items:116 - const: lcx117 - const: lmx118 119 - if:120 properties:121 compatible:122 enum:123 - qcom,sm8350-cdsp-pas124 - qcom,sm8450-cdsp-pas125 then:126 properties:127 power-domains:128 items:129 - description: CX power domain130 - description: MXC power domain131 power-domain-names:132 items:133 - const: cx134 - const: mxc135 136unevaluatedProperties: false137 138examples:139 - |140 #include <dt-bindings/clock/qcom,rpmh.h>141 #include <dt-bindings/interrupt-controller/irq.h>142 #include <dt-bindings/mailbox/qcom-ipcc.h>143 #include <dt-bindings/power/qcom,rpmhpd.h>144 145 remoteproc@30000000 {146 compatible = "qcom,sm8450-adsp-pas";147 reg = <0x030000000 0x100>;148 149 clocks = <&rpmhcc RPMH_CXO_CLK>;150 clock-names = "xo";151 152 firmware-name = "qcom/sm8450/adsp.mbn";153 154 interrupts-extended = <&pdc 6 IRQ_TYPE_EDGE_RISING>,155 <&smp2p_adsp_in 0 IRQ_TYPE_EDGE_RISING>,156 <&smp2p_adsp_in 1 IRQ_TYPE_EDGE_RISING>,157 <&smp2p_adsp_in 2 IRQ_TYPE_EDGE_RISING>,158 <&smp2p_adsp_in 3 IRQ_TYPE_EDGE_RISING>;159 interrupt-names = "wdog", "fatal", "ready",160 "handover", "stop-ack";161 162 memory-region = <&adsp_mem>;163 164 power-domains = <&rpmhpd RPMHPD_LCX>,165 <&rpmhpd RPMHPD_LMX>;166 power-domain-names = "lcx", "lmx";167 168 qcom,qmp = <&aoss_qmp>;169 qcom,smem-states = <&smp2p_adsp_out 0>;170 qcom,smem-state-names = "stop";171 172 glink-edge {173 interrupts-extended = <&ipcc IPCC_CLIENT_LPASS174 IPCC_MPROC_SIGNAL_GLINK_QMP175 IRQ_TYPE_EDGE_RISING>;176 mboxes = <&ipcc IPCC_CLIENT_LPASS IPCC_MPROC_SIGNAL_GLINK_QMP>;177 178 label = "lpass";179 qcom,remote-pid = <2>;180 181 /* ... */182 };183 };184