1 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Cl 1 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/remoteproc/ 4 $id: http://devicetree.org/schemas/remoteproc/qcom,sm8550-pas.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Qualcomm SM8550 Peripheral Authenticati 7 title: Qualcomm SM8550 Peripheral Authentication Service 8 8 9 maintainers: 9 maintainers: 10 - Manivannan Sadhasivam <manivannan.sadhasiva 10 - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> 11 11 12 description: 12 description: 13 Qualcomm SM8550 SoC Peripheral Authenticatio 13 Qualcomm SM8550 SoC Peripheral Authentication Service loads and boots firmware 14 on the Qualcomm DSP Hexagon cores. 14 on the Qualcomm DSP Hexagon cores. 15 15 16 properties: 16 properties: 17 compatible: 17 compatible: 18 enum: 18 enum: 19 - qcom,sdx75-mpss-pas 19 - qcom,sdx75-mpss-pas 20 - qcom,sm8550-adsp-pas 20 - qcom,sm8550-adsp-pas 21 - qcom,sm8550-cdsp-pas 21 - qcom,sm8550-cdsp-pas 22 - qcom,sm8550-mpss-pas 22 - qcom,sm8550-mpss-pas 23 - qcom,sm8650-adsp-pas 23 - qcom,sm8650-adsp-pas 24 - qcom,sm8650-cdsp-pas 24 - qcom,sm8650-cdsp-pas 25 - qcom,sm8650-mpss-pas 25 - qcom,sm8650-mpss-pas 26 - qcom,x1e80100-adsp-pas 26 - qcom,x1e80100-adsp-pas 27 - qcom,x1e80100-cdsp-pas 27 - qcom,x1e80100-cdsp-pas 28 28 29 reg: 29 reg: 30 maxItems: 1 30 maxItems: 1 31 31 32 clocks: 32 clocks: 33 items: 33 items: 34 - description: XO clock 34 - description: XO clock 35 35 36 clock-names: 36 clock-names: 37 items: 37 items: 38 - const: xo 38 - const: xo 39 39 40 qcom,qmp: 40 qcom,qmp: 41 $ref: /schemas/types.yaml#/definitions/pha 41 $ref: /schemas/types.yaml#/definitions/phandle 42 description: Reference to the AOSS side-ch 42 description: Reference to the AOSS side-channel message RAM. 43 43 44 smd-edge: false 44 smd-edge: false 45 45 46 firmware-name: 46 firmware-name: 47 $ref: /schemas/types.yaml#/definitions/str 47 $ref: /schemas/types.yaml#/definitions/string-array 48 items: 48 items: 49 - description: Firmware name of the Hexa 49 - description: Firmware name of the Hexagon core 50 - description: Firmware name of the Hexa 50 - description: Firmware name of the Hexagon Devicetree 51 51 52 memory-region: 52 memory-region: 53 minItems: 2 53 minItems: 2 54 items: 54 items: 55 - description: Memory region for main Fi 55 - description: Memory region for main Firmware authentication 56 - description: Memory region for Devicet 56 - description: Memory region for Devicetree Firmware authentication 57 - description: DSM Memory region 57 - description: DSM Memory region 58 - description: DSM Memory region 2 58 - description: DSM Memory region 2 59 - description: Memory region for Qlink L 59 - description: Memory region for Qlink Logging 60 60 61 required: 61 required: 62 - compatible 62 - compatible 63 - reg 63 - reg 64 - memory-region 64 - memory-region 65 65 66 allOf: 66 allOf: 67 - $ref: /schemas/remoteproc/qcom,pas-common. 67 - $ref: /schemas/remoteproc/qcom,pas-common.yaml# 68 - if: 68 - if: 69 properties: 69 properties: 70 compatible: 70 compatible: 71 enum: 71 enum: 72 - qcom,sm8550-adsp-pas 72 - qcom,sm8550-adsp-pas 73 - qcom,sm8550-cdsp-pas 73 - qcom,sm8550-cdsp-pas 74 - qcom,sm8650-adsp-pas 74 - qcom,sm8650-adsp-pas 75 - qcom,x1e80100-adsp-pas 75 - qcom,x1e80100-adsp-pas 76 - qcom,x1e80100-cdsp-pas 76 - qcom,x1e80100-cdsp-pas 77 then: 77 then: 78 properties: 78 properties: 79 interrupts: 79 interrupts: 80 maxItems: 5 80 maxItems: 5 81 interrupt-names: 81 interrupt-names: 82 maxItems: 5 82 maxItems: 5 83 memory-region: 83 memory-region: 84 maxItems: 2 84 maxItems: 2 85 - if: 85 - if: 86 properties: 86 properties: 87 compatible: 87 compatible: 88 enum: 88 enum: 89 - qcom,sm8650-cdsp-pas 89 - qcom,sm8650-cdsp-pas 90 then: 90 then: 91 properties: 91 properties: 92 interrupts: 92 interrupts: 93 maxItems: 5 93 maxItems: 5 94 interrupt-names: 94 interrupt-names: 95 maxItems: 5 95 maxItems: 5 96 memory-region: 96 memory-region: 97 minItems: 3 97 minItems: 3 98 maxItems: 3 98 maxItems: 3 99 - if: 99 - if: 100 properties: 100 properties: 101 compatible: 101 compatible: 102 enum: 102 enum: 103 - qcom,sm8550-mpss-pas 103 - qcom,sm8550-mpss-pas 104 then: 104 then: 105 properties: 105 properties: 106 interrupts: 106 interrupts: 107 minItems: 6 107 minItems: 6 108 interrupt-names: 108 interrupt-names: 109 minItems: 6 109 minItems: 6 110 memory-region: 110 memory-region: 111 minItems: 3 111 minItems: 3 112 maxItems: 3 112 maxItems: 3 113 - if: 113 - if: 114 properties: 114 properties: 115 compatible: 115 compatible: 116 enum: 116 enum: 117 - qcom,sdx75-mpss-pas 117 - qcom,sdx75-mpss-pas 118 - qcom,sm8650-mpss-pas 118 - qcom,sm8650-mpss-pas 119 then: 119 then: 120 properties: 120 properties: 121 interrupts: 121 interrupts: 122 minItems: 6 122 minItems: 6 123 interrupt-names: 123 interrupt-names: 124 minItems: 6 124 minItems: 6 125 memory-region: 125 memory-region: 126 minItems: 5 126 minItems: 5 127 maxItems: 5 127 maxItems: 5 128 128 129 - if: 129 - if: 130 properties: 130 properties: 131 compatible: 131 compatible: 132 enum: 132 enum: 133 - qcom,sm8550-adsp-pas 133 - qcom,sm8550-adsp-pas 134 - qcom,sm8650-adsp-pas 134 - qcom,sm8650-adsp-pas 135 - qcom,x1e80100-adsp-pas 135 - qcom,x1e80100-adsp-pas 136 then: 136 then: 137 properties: 137 properties: 138 power-domains: 138 power-domains: 139 items: 139 items: 140 - description: LCX power domain 140 - description: LCX power domain 141 - description: LMX power domain 141 - description: LMX power domain 142 power-domain-names: 142 power-domain-names: 143 items: 143 items: 144 - const: lcx 144 - const: lcx 145 - const: lmx 145 - const: lmx 146 146 147 - if: 147 - if: 148 properties: 148 properties: 149 compatible: 149 compatible: 150 enum: 150 enum: 151 - qcom,sdx75-mpss-pas 151 - qcom,sdx75-mpss-pas 152 - qcom,sm8550-mpss-pas 152 - qcom,sm8550-mpss-pas 153 - qcom,sm8650-mpss-pas 153 - qcom,sm8650-mpss-pas 154 then: 154 then: 155 properties: 155 properties: 156 power-domains: 156 power-domains: 157 items: 157 items: 158 - description: CX power domain 158 - description: CX power domain 159 - description: MSS power domain 159 - description: MSS power domain 160 power-domain-names: 160 power-domain-names: 161 items: 161 items: 162 - const: cx 162 - const: cx 163 - const: mss 163 - const: mss 164 - if: 164 - if: 165 properties: 165 properties: 166 compatible: 166 compatible: 167 enum: 167 enum: 168 - qcom,sm8550-cdsp-pas 168 - qcom,sm8550-cdsp-pas 169 - qcom,sm8650-cdsp-pas 169 - qcom,sm8650-cdsp-pas 170 - qcom,x1e80100-cdsp-pas 170 - qcom,x1e80100-cdsp-pas 171 then: 171 then: 172 properties: 172 properties: 173 power-domains: 173 power-domains: 174 items: 174 items: 175 - description: CX power domain 175 - description: CX power domain 176 - description: MXC power domain 176 - description: MXC power domain 177 - description: NSP power domain 177 - description: NSP power domain 178 power-domain-names: 178 power-domain-names: 179 items: 179 items: 180 - const: cx 180 - const: cx 181 - const: mxc 181 - const: mxc 182 - const: nsp 182 - const: nsp 183 183 184 unevaluatedProperties: false 184 unevaluatedProperties: false 185 185 186 examples: 186 examples: 187 - | 187 - | 188 #include <dt-bindings/clock/qcom,rpmh.h> 188 #include <dt-bindings/clock/qcom,rpmh.h> 189 #include <dt-bindings/interrupt-controller 189 #include <dt-bindings/interrupt-controller/irq.h> 190 #include <dt-bindings/mailbox/qcom-ipcc.h> 190 #include <dt-bindings/mailbox/qcom-ipcc.h> 191 191 192 remoteproc@30000000 { 192 remoteproc@30000000 { 193 compatible = "qcom,sm8550-adsp-pas"; 193 compatible = "qcom,sm8550-adsp-pas"; 194 reg = <0x030000000 0x100>; 194 reg = <0x030000000 0x100>; 195 195 196 clocks = <&rpmhcc RPMH_CXO_CLK>; 196 clocks = <&rpmhcc RPMH_CXO_CLK>; 197 clock-names = "xo"; 197 clock-names = "xo"; 198 198 199 interrupts-extended = <&pdc 6 IRQ_TYPE 199 interrupts-extended = <&pdc 6 IRQ_TYPE_EDGE_RISING>, 200 <&smp2p_adsp_in 200 <&smp2p_adsp_in 0 IRQ_TYPE_EDGE_RISING>, 201 <&smp2p_adsp_in 201 <&smp2p_adsp_in 1 IRQ_TYPE_EDGE_RISING>, 202 <&smp2p_adsp_in 202 <&smp2p_adsp_in 2 IRQ_TYPE_EDGE_RISING>, 203 <&smp2p_adsp_in 203 <&smp2p_adsp_in 3 IRQ_TYPE_EDGE_RISING>; 204 interrupt-names = "wdog", "fatal", "re 204 interrupt-names = "wdog", "fatal", "ready", 205 "handover", "stop-ac 205 "handover", "stop-ack"; 206 206 207 memory-region = <&adsp_mem>, <&dtb_ads 207 memory-region = <&adsp_mem>, <&dtb_adsp_mem>; 208 208 209 firmware-name = "qcom/sm8550/adsp.mbn" 209 firmware-name = "qcom/sm8550/adsp.mbn", 210 "qcom/sm8550/adsp_dtb. 210 "qcom/sm8550/adsp_dtb.mbn"; 211 211 212 power-domains = <&rpmhpd_sm8550_lcx>, 212 power-domains = <&rpmhpd_sm8550_lcx>, 213 <&rpmhpd_sm8550_lmx>; 213 <&rpmhpd_sm8550_lmx>; 214 power-domain-names = "lcx", "lmx"; 214 power-domain-names = "lcx", "lmx"; 215 215 216 qcom,qmp = <&aoss_qmp>; 216 qcom,qmp = <&aoss_qmp>; 217 qcom,smem-states = <&smp2p_adsp_out 0> 217 qcom,smem-states = <&smp2p_adsp_out 0>; 218 qcom,smem-state-names = "stop"; 218 qcom,smem-state-names = "stop"; 219 219 220 glink-edge { 220 glink-edge { 221 interrupts-extended = <&ipcc IPCC_ 221 interrupts-extended = <&ipcc IPCC_CLIENT_LPASS 222 IPCC_ 222 IPCC_MPROC_SIGNAL_GLINK_QMP 223 IRQ_T 223 IRQ_TYPE_EDGE_RISING>; 224 mboxes = <&ipcc IPCC_CLIENT_LPASS 224 mboxes = <&ipcc IPCC_CLIENT_LPASS IPCC_MPROC_SIGNAL_GLINK_QMP>; 225 225 226 label = "lpass"; 226 label = "lpass"; 227 qcom,remote-pid = <2>; 227 qcom,remote-pid = <2>; 228 228 229 /* ... */ 229 /* ... */ 230 }; 230 }; 231 }; 231 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.