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