1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only 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,sc7280-mss-pil.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Qualcomm SC7280 MSS Peripheral Image Lo 7 title: Qualcomm SC7280 MSS Peripheral Image Loader 8 8 9 maintainers: 9 maintainers: 10 - Sibi Sankar <quic_sibis@quicinc.com> 10 - Sibi Sankar <quic_sibis@quicinc.com> 11 11 12 description: 12 description: 13 This document describes the hardware for a c 13 This document describes the hardware for a component that loads and boots firmware 14 on the Qualcomm Technology Inc. SC7280 Modem 14 on the Qualcomm Technology Inc. SC7280 Modem Hexagon Core. 15 15 16 properties: 16 properties: 17 compatible: 17 compatible: 18 enum: 18 enum: 19 - qcom,sc7280-mss-pil 19 - qcom,sc7280-mss-pil 20 20 21 reg: 21 reg: 22 items: 22 items: 23 - description: MSS QDSP6 registers 23 - description: MSS QDSP6 registers 24 - description: RMB registers 24 - description: RMB registers 25 25 26 reg-names: 26 reg-names: 27 items: 27 items: 28 - const: qdsp6 28 - const: qdsp6 29 - const: rmb 29 - const: rmb 30 30 31 iommus: 31 iommus: 32 items: 32 items: 33 - description: MSA Stream 1 33 - description: MSA Stream 1 34 - description: MSA Stream 2 34 - description: MSA Stream 2 35 35 36 interconnects: 36 interconnects: 37 items: 37 items: 38 - description: Path leading to system me 38 - description: Path leading to system memory 39 39 40 interrupts: 40 interrupts: 41 items: 41 items: 42 - description: Watchdog interrupt 42 - description: Watchdog interrupt 43 - description: Fatal interrupt 43 - description: Fatal interrupt 44 - description: Ready interrupt 44 - description: Ready interrupt 45 - description: Handover interrupt 45 - description: Handover interrupt 46 - description: Stop acknowledge interrup 46 - description: Stop acknowledge interrupt 47 - description: Shutdown acknowledge inte 47 - description: Shutdown acknowledge interrupt 48 48 49 interrupt-names: 49 interrupt-names: 50 items: 50 items: 51 - const: wdog 51 - const: wdog 52 - const: fatal 52 - const: fatal 53 - const: ready 53 - const: ready 54 - const: handover 54 - const: handover 55 - const: stop-ack 55 - const: stop-ack 56 - const: shutdown-ack 56 - const: shutdown-ack 57 57 58 clocks: 58 clocks: 59 items: 59 items: 60 - description: GCC MSS IFACE clock 60 - description: GCC MSS IFACE clock 61 - description: GCC MSS OFFLINE clock 61 - description: GCC MSS OFFLINE clock 62 - description: GCC MSS SNOC_AXI clock 62 - description: GCC MSS SNOC_AXI clock 63 - description: RPMH PKA clock 63 - description: RPMH PKA clock 64 - description: RPMH XO clock 64 - description: RPMH XO clock 65 65 66 clock-names: 66 clock-names: 67 items: 67 items: 68 - const: iface 68 - const: iface 69 - const: offline 69 - const: offline 70 - const: snoc_axi 70 - const: snoc_axi 71 - const: pka 71 - const: pka 72 - const: xo 72 - const: xo 73 73 74 power-domains: 74 power-domains: 75 items: 75 items: 76 - description: CX power domain 76 - description: CX power domain 77 - description: MSS power domain 77 - description: MSS power domain 78 78 79 power-domain-names: 79 power-domain-names: 80 items: 80 items: 81 - const: cx 81 - const: cx 82 - const: mss 82 - const: mss 83 83 84 resets: 84 resets: 85 items: 85 items: 86 - description: AOSS restart 86 - description: AOSS restart 87 - description: PDC reset 87 - description: PDC reset 88 88 89 reset-names: 89 reset-names: 90 items: 90 items: 91 - const: mss_restart 91 - const: mss_restart 92 - const: pdc_reset 92 - const: pdc_reset 93 93 94 memory-region: 94 memory-region: 95 items: 95 items: 96 - description: MBA reserved region 96 - description: MBA reserved region 97 - description: modem reserved region 97 - description: modem reserved region 98 - description: metadata reserved region << 99 98 100 firmware-name: 99 firmware-name: 101 $ref: /schemas/types.yaml#/definitions/str 100 $ref: /schemas/types.yaml#/definitions/string-array 102 items: 101 items: 103 - description: Name of MBA firmware 102 - description: Name of MBA firmware 104 - description: Name of modem firmware 103 - description: Name of modem firmware 105 104 106 qcom,halt-regs: 105 qcom,halt-regs: 107 $ref: /schemas/types.yaml#/definitions/pha 106 $ref: /schemas/types.yaml#/definitions/phandle-array 108 description: 107 description: 109 Halt registers are used to halt transact 108 Halt registers are used to halt transactions of various sub-components 110 within MSS. 109 within MSS. 111 items: 110 items: 112 - items: 111 - items: 113 - description: phandle to TCSR_MUTEX 112 - description: phandle to TCSR_MUTEX registers 114 - description: offset to the Q6 halt 113 - description: offset to the Q6 halt register 115 - description: offset to the modem h 114 - description: offset to the modem halt register 116 - description: offset to the nc halt 115 - description: offset to the nc halt register 117 - description: offset to the vq6 hal 116 - description: offset to the vq6 halt register 118 117 119 qcom,ext-regs: 118 qcom,ext-regs: 120 $ref: /schemas/types.yaml#/definitions/pha 119 $ref: /schemas/types.yaml#/definitions/phandle-array 121 description: EXT registers are used for va 120 description: EXT registers are used for various power related functionality 122 items: 121 items: 123 - items: 122 - items: 124 - description: phandle to TCSR_REG r 123 - description: phandle to TCSR_REG registers 125 - description: offset to the force_c 124 - description: offset to the force_clk_en register 126 - description: offset to the rscc_di 125 - description: offset to the rscc_disable register 127 - items: 126 - items: 128 - description: phandle to TCSR_MUTEX 127 - description: phandle to TCSR_MUTEX registers 129 - description: offset to the axim1_c 128 - description: offset to the axim1_clk_off register 130 - description: offset to the crypto_ 129 - description: offset to the crypto_clk_off register 131 130 132 qcom,qaccept-regs: 131 qcom,qaccept-regs: 133 $ref: /schemas/types.yaml#/definitions/pha 132 $ref: /schemas/types.yaml#/definitions/phandle-array 134 description: QACCEPT registers are used to 133 description: QACCEPT registers are used to bring up/down Q-channels 135 items: 134 items: 136 - items: 135 - items: 137 - description: phandle to TCSR_MUTEX 136 - description: phandle to TCSR_MUTEX registers 138 - description: offset to the mdm qac 137 - description: offset to the mdm qaccept register 139 - description: offset to the cx qacc 138 - description: offset to the cx qaccept register 140 - description: offset to the axi qac 139 - description: offset to the axi qaccept register 141 140 142 qcom,qmp: 141 qcom,qmp: 143 $ref: /schemas/types.yaml#/definitions/pha 142 $ref: /schemas/types.yaml#/definitions/phandle 144 description: Reference to the AOSS side-ch 143 description: Reference to the AOSS side-channel message RAM. 145 144 146 qcom,smem-states: 145 qcom,smem-states: 147 $ref: /schemas/types.yaml#/definitions/pha 146 $ref: /schemas/types.yaml#/definitions/phandle-array 148 description: States used by the AP to sign 147 description: States used by the AP to signal the Hexagon core 149 items: 148 items: 150 - description: Stop the modem 149 - description: Stop the modem 151 150 152 qcom,smem-state-names: 151 qcom,smem-state-names: 153 description: The names of the state bits u 152 description: The names of the state bits used for SMP2P output 154 const: stop 153 const: stop 155 154 156 glink-edge: 155 glink-edge: 157 $ref: qcom,glink-edge.yaml# 156 $ref: qcom,glink-edge.yaml# 158 unevaluatedProperties: false 157 unevaluatedProperties: false 159 description: 158 description: 160 Qualcomm G-Link subnode which represents 159 Qualcomm G-Link subnode which represents communication edge, channels 161 and devices related to the DSP. 160 and devices related to the DSP. 162 161 163 properties: 162 properties: 164 interrupts: 163 interrupts: 165 items: 164 items: 166 - description: IRQ from MSS to GLINK 165 - description: IRQ from MSS to GLINK 167 166 168 mboxes: 167 mboxes: 169 items: 168 items: 170 - description: Mailbox for communica 169 - description: Mailbox for communication between APPS and MSS 171 170 172 label: 171 label: 173 const: modem 172 const: modem 174 173 175 apr: false 174 apr: false 176 fastrpc: false 175 fastrpc: false 177 176 178 required: 177 required: 179 - compatible 178 - compatible 180 - reg 179 - reg 181 - reg-names 180 - reg-names 182 - iommus 181 - iommus 183 - interconnects 182 - interconnects 184 - interrupts 183 - interrupts 185 - interrupt-names 184 - interrupt-names 186 - clocks 185 - clocks 187 - clock-names 186 - clock-names 188 - power-domains 187 - power-domains 189 - power-domain-names 188 - power-domain-names 190 - resets 189 - resets 191 - reset-names 190 - reset-names 192 - qcom,halt-regs 191 - qcom,halt-regs 193 - qcom,ext-regs 192 - qcom,ext-regs 194 - qcom,qaccept-regs 193 - qcom,qaccept-regs 195 - memory-region 194 - memory-region 196 - qcom,qmp 195 - qcom,qmp 197 - qcom,smem-states 196 - qcom,smem-states 198 - qcom,smem-state-names 197 - qcom,smem-state-names 199 - glink-edge 198 - glink-edge 200 199 201 additionalProperties: false 200 additionalProperties: false 202 201 203 examples: 202 examples: 204 - | 203 - | 205 #include <dt-bindings/clock/qcom,gcc-sc728 204 #include <dt-bindings/clock/qcom,gcc-sc7280.h> 206 #include <dt-bindings/clock/qcom,rpmh.h> 205 #include <dt-bindings/clock/qcom,rpmh.h> 207 #include <dt-bindings/interconnect/qcom,sc 206 #include <dt-bindings/interconnect/qcom,sc7280.h> 208 #include <dt-bindings/interrupt-controller 207 #include <dt-bindings/interrupt-controller/arm-gic.h> 209 #include <dt-bindings/mailbox/qcom-ipcc.h> 208 #include <dt-bindings/mailbox/qcom-ipcc.h> 210 #include <dt-bindings/power/qcom-rpmpd.h> 209 #include <dt-bindings/power/qcom-rpmpd.h> 211 #include <dt-bindings/reset/qcom,sdm845-ao 210 #include <dt-bindings/reset/qcom,sdm845-aoss.h> 212 #include <dt-bindings/reset/qcom,sdm845-pd 211 #include <dt-bindings/reset/qcom,sdm845-pdc.h> 213 212 214 remoteproc_mpss: remoteproc@4080000 { 213 remoteproc_mpss: remoteproc@4080000 { 215 compatible = "qcom,sc7280-mss-pil"; 214 compatible = "qcom,sc7280-mss-pil"; 216 reg = <0x04080000 0x10000>, <0x0418000 215 reg = <0x04080000 0x10000>, <0x04180000 0x48>; 217 reg-names = "qdsp6", "rmb"; 216 reg-names = "qdsp6", "rmb"; 218 217 219 iommus = <&apps_smmu 0x124 0x0>, <&app 218 iommus = <&apps_smmu 0x124 0x0>, <&apps_smmu 0x488 0x7>; 220 219 221 interconnects = <&mc_virt MASTER_LLCC 220 interconnects = <&mc_virt MASTER_LLCC 0 &mc_virt SLAVE_EBI1 0>; 222 221 223 interrupts-extended = <&intc GIC_SPI 2 222 interrupts-extended = <&intc GIC_SPI 264 IRQ_TYPE_EDGE_RISING>, 224 <&modem_smp2p_in 223 <&modem_smp2p_in 0 IRQ_TYPE_EDGE_RISING>, 225 <&modem_smp2p_in 224 <&modem_smp2p_in 1 IRQ_TYPE_EDGE_RISING>, 226 <&modem_smp2p_in 225 <&modem_smp2p_in 2 IRQ_TYPE_EDGE_RISING>, 227 <&modem_smp2p_in 226 <&modem_smp2p_in 3 IRQ_TYPE_EDGE_RISING>, 228 <&modem_smp2p_in 227 <&modem_smp2p_in 7 IRQ_TYPE_EDGE_RISING>; 229 228 230 interrupt-names = "wdog", "fatal", "re 229 interrupt-names = "wdog", "fatal", "ready", "handover", 231 "stop-ack", "shutdow 230 "stop-ack", "shutdown-ack"; 232 231 233 clocks = <&gcc GCC_MSS_CFG_AHB_CLK>, 232 clocks = <&gcc GCC_MSS_CFG_AHB_CLK>, 234 <&gcc GCC_MSS_OFFLINE_AXI_CLK 233 <&gcc GCC_MSS_OFFLINE_AXI_CLK>, 235 <&gcc GCC_MSS_SNOC_AXI_CLK>, 234 <&gcc GCC_MSS_SNOC_AXI_CLK>, 236 <&rpmhcc RPMH_PKA_CLK>, 235 <&rpmhcc RPMH_PKA_CLK>, 237 <&rpmhcc RPMH_CXO_CLK>; 236 <&rpmhcc RPMH_CXO_CLK>; 238 clock-names = "iface", "offline", "sno 237 clock-names = "iface", "offline", "snoc_axi", "pka", "xo"; 239 238 240 power-domains = <&rpmhpd SC7280_CX>, 239 power-domains = <&rpmhpd SC7280_CX>, 241 <&rpmhpd SC7280_MSS>; 240 <&rpmhpd SC7280_MSS>; 242 power-domain-names = "cx", "mss"; 241 power-domain-names = "cx", "mss"; 243 242 244 memory-region = <&mba_mem>, <&mpss_mem !! 243 memory-region = <&mba_mem>, <&mpss_mem>; 245 244 246 qcom,qmp = <&aoss_qmp>; 245 qcom,qmp = <&aoss_qmp>; 247 246 248 qcom,smem-states = <&modem_smp2p_out 0 247 qcom,smem-states = <&modem_smp2p_out 0>; 249 qcom,smem-state-names = "stop"; 248 qcom,smem-state-names = "stop"; 250 249 251 resets = <&aoss_reset AOSS_CC_MSS_REST 250 resets = <&aoss_reset AOSS_CC_MSS_RESTART>, 252 <&pdc_reset PDC_MODEM_SYNC_RE 251 <&pdc_reset PDC_MODEM_SYNC_RESET>; 253 reset-names = "mss_restart", "pdc_rese 252 reset-names = "mss_restart", "pdc_reset"; 254 253 255 qcom,halt-regs = <&tcsr_mutex 0x23000 254 qcom,halt-regs = <&tcsr_mutex 0x23000 0x25000 0x28000 0x33000>; 256 qcom,ext-regs = <&tcsr 0x10000 0x10004 255 qcom,ext-regs = <&tcsr 0x10000 0x10004>, <&tcsr_mutex 0x26004 0x26008>; 257 qcom,qaccept-regs = <&tcsr_mutex 0x230 256 qcom,qaccept-regs = <&tcsr_mutex 0x23030 0x23040 0x23020>; 258 257 259 glink-edge { 258 glink-edge { 260 interrupts-extended = <&ipcc IPCC_ 259 interrupts-extended = <&ipcc IPCC_CLIENT_MPSS 261 IPCC_MPROC_ 260 IPCC_MPROC_SIGNAL_GLINK_QMP 262 IRQ_TYPE_ED 261 IRQ_TYPE_EDGE_RISING>; 263 mboxes = <&ipcc IPCC_CLIENT_MPSS 262 mboxes = <&ipcc IPCC_CLIENT_MPSS 264 IPCC_MPROC_SIGNAL_GLINK_ 263 IPCC_MPROC_SIGNAL_GLINK_QMP>; 265 label = "modem"; 264 label = "modem"; 266 qcom,remote-pid = <1>; 265 qcom,remote-pid = <1>; 267 }; 266 }; 268 }; 267 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.