1# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/remoteproc/qcom,sm6115-pas.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Qualcomm SM6115 Peripheral Authentication Service 8 9maintainers: 10 - Bhupesh Sharma <bhupesh.sharma@linaro.org> 11 12description: 13 Qualcomm SM6115 SoC Peripheral Authentication Service loads and boots 14 firmware on the Qualcomm DSP Hexagon cores. 15 16properties: 17 compatible: 18 enum: 19 - qcom,sm6115-adsp-pas 20 - qcom,sm6115-cdsp-pas 21 - qcom,sm6115-mpss-pas 22 23 reg: 24 maxItems: 1 25 26 clocks: 27 items: 28 - description: XO clock 29 30 clock-names: 31 items: 32 - const: xo 33 34 memory-region: 35 maxItems: 1 36 description: Reference to the reserved-memory for the Hexagon core 37 38 smd-edge: false 39 40 firmware-name: 41 $ref: /schemas/types.yaml#/definitions/string 42 description: Firmware name for the Hexagon core 43 44required: 45 - compatible 46 - reg 47 - memory-region 48 49allOf: 50 - $ref: /schemas/remoteproc/qcom,pas-common.yaml# 51 - if: 52 properties: 53 compatible: 54 enum: 55 - qcom,sm6115-adsp-pas 56 - qcom,sm6115-cdsp-pas 57 then: 58 properties: 59 interrupts: 60 maxItems: 5 61 interrupt-names: 62 maxItems: 5 63 else: 64 properties: 65 interrupts: 66 minItems: 6 67 interrupt-names: 68 minItems: 6 69 70 - if: 71 properties: 72 compatible: 73 enum: 74 - qcom,sm6115-cdsp-pas 75 - qcom,sm6115-mpss-pas 76 then: 77 properties: 78 power-domains: 79 items: 80 - description: CX power domain 81 power-domain-names: 82 items: 83 - const: cx 84 85 - if: 86 properties: 87 compatible: 88 enum: 89 - qcom,sm6115-adsp-pas 90 then: 91 properties: 92 power-domains: 93 items: 94 - description: LPI CX power domain 95 - description: LPI MX power domain 96 power-domain-names: 97 items: 98 - const: lcx 99 - const: lmx 100 101unevaluatedProperties: false 102 103examples: 104 - | 105 #include <dt-bindings/clock/qcom,rpmcc.h> 106 #include <dt-bindings/interrupt-controller/arm-gic.h> 107 #include <dt-bindings/interrupt-controller/irq.h> 108 #include <dt-bindings/power/qcom-rpmpd.h> 109 110 remoteproc@ab00000 { 111 compatible = "qcom,sm6115-adsp-pas"; 112 reg = <0x0ab00000 0x100>; 113 114 clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>; 115 clock-names = "xo"; 116 117 firmware-name = "qcom/sm6115/adsp.mdt"; 118 119 interrupts-extended = <&intc GIC_SPI 282 IRQ_TYPE_EDGE_RISING>, 120 <&adsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>, 121 <&adsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>, 122 <&adsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>, 123 <&adsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>; 124 interrupt-names = "wdog", "fatal", "ready", 125 "handover", "stop-ack"; 126 127 memory-region = <&pil_adsp_mem>; 128 129 power-domains = <&rpmpd SM6115_VDD_LPI_CX>, 130 <&rpmpd SM6115_VDD_LPI_MX>; 131 132 qcom,smem-states = <&adsp_smp2p_out 0>; 133 qcom,smem-state-names = "stop"; 134 135 glink-edge { 136 interrupts = <GIC_SPI 277 IRQ_TYPE_EDGE_RISING>; 137 label = "lpass"; 138 qcom,remote-pid = <2>; 139 mboxes = <&apcs_glb 8>; 140 141 /* ... */ 142 143 }; 144 }; 145