161 lines · yaml
1# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/remoteproc/qcom,sa8775p-pas.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Qualcomm SA8775p Peripheral Authentication Service8 9maintainers:10 - Bartosz Golaszewski <bartosz.golaszewski@linaro.org>11 12description:13 Qualcomm SA8775p SoC Peripheral Authentication Service loads and boots firmware14 on the Qualcomm DSP Hexagon cores.15 16properties:17 compatible:18 enum:19 - qcom,sa8775p-adsp-pas20 - qcom,sa8775p-cdsp0-pas21 - qcom,sa8775p-cdsp1-pas22 - qcom,sa8775p-gpdsp0-pas23 - qcom,sa8775p-gpdsp1-pas24 25 reg:26 maxItems: 127 28 clocks:29 items:30 - description: XO clock31 32 clock-names:33 items:34 - const: xo35 36 qcom,qmp:37 $ref: /schemas/types.yaml#/definitions/phandle38 description: Reference to the AOSS side-channel message RAM.39 40 firmware-name:41 $ref: /schemas/types.yaml#/definitions/string-array42 items:43 - description: Firmware name of the Hexagon core44 45 memory-region:46 items:47 - description: Memory region for main Firmware authentication48 49 interrupts:50 maxItems: 551 52 interrupt-names:53 maxItems: 554 55required:56 - compatible57 - reg58 - memory-region59 60allOf:61 - $ref: /schemas/remoteproc/qcom,pas-common.yaml#62 63 - if:64 properties:65 compatible:66 enum:67 - qcom,sa8775p-adsp-pas68 then:69 properties:70 power-domains:71 items:72 - description: LCX power domain73 - description: LMX power domain74 power-domain-names:75 items:76 - const: lcx77 - const: lmx78 79 - if:80 properties:81 compatible:82 enum:83 - qcom,sa8775p-cdsp0-pas84 - qcom,sa8775p-cdsp1-pas85 then:86 properties:87 power-domains:88 items:89 - description: CX power domain90 - description: MXC power domain91 - description: NSP0 power domain92 power-domain-names:93 items:94 - const: cx95 - const: mxc96 - const: nsp97 98 - if:99 properties:100 compatible:101 enum:102 - qcom,sa8775p-gpdsp0-pas103 - qcom,sa8775p-gpdsp1-pas104 then:105 properties:106 power-domains:107 items:108 - description: CX power domain109 - description: MXC power domain110 power-domain-names:111 items:112 - const: cx113 - const: mxc114 115unevaluatedProperties: false116 117examples:118 - |119 #include <dt-bindings/clock/qcom,rpmh.h>120 #include <dt-bindings/interconnect/qcom,sa8775p-rpmh.h>121 #include <dt-bindings/interrupt-controller/irq.h>122 #include <dt-bindings/mailbox/qcom-ipcc.h>123 #include <dt-bindings/power/qcom,rpmhpd.h>124 125 remoteproc@30000000 {126 compatible = "qcom,sa8775p-adsp-pas";127 reg = <0x30000000 0x100>;128 129 interrupts-extended = <&pdc 6 IRQ_TYPE_EDGE_RISING>,130 <&smp2p_adsp_in 0 IRQ_TYPE_EDGE_RISING>,131 <&smp2p_adsp_in 2 IRQ_TYPE_EDGE_RISING>,132 <&smp2p_adsp_in 1 IRQ_TYPE_EDGE_RISING>,133 <&smp2p_adsp_in 3 IRQ_TYPE_EDGE_RISING>;134 interrupt-names = "wdog", "fatal", "ready", "handover", "stop-ack";135 136 clocks = <&rpmhcc RPMH_CXO_CLK>;137 clock-names = "xo";138 139 power-domains = <&rpmhpd RPMHPD_LCX>, <&rpmhpd RPMHPD_LMX>;140 power-domain-names = "lcx", "lmx";141 142 interconnects = <&lpass_ag_noc MASTER_LPASS_PROC 0 &mc_virt SLAVE_EBI1 0>;143 144 memory-region = <&pil_adsp_mem>;145 146 qcom,qmp = <&aoss_qmp>;147 148 qcom,smem-states = <&smp2p_adsp_out 0>;149 qcom,smem-state-names = "stop";150 151 glink-edge {152 interrupts-extended = <&ipcc IPCC_CLIENT_LPASS153 IPCC_MPROC_SIGNAL_GLINK_QMP154 IRQ_TYPE_EDGE_RISING>;155 mboxes = <&ipcc IPCC_CLIENT_LPASS IPCC_MPROC_SIGNAL_GLINK_QMP>;156 157 label = "lpass";158 qcom,remote-pid = <2>;159 };160 };161