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,sm6350-pas.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Qualcomm SM6350 Peripheral Authenticati 7 title: Qualcomm SM6350 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 SM6350 SoC Peripheral Authenticatio 13 Qualcomm SM6350 SoC Peripheral Authentication Service loads and boots 14 firmware on the Qualcomm DSP Hexagon cores. 14 firmware on the Qualcomm DSP Hexagon cores. 15 15 16 properties: 16 properties: 17 compatible: 17 compatible: 18 enum: 18 enum: 19 - qcom,sm6350-adsp-pas 19 - qcom,sm6350-adsp-pas 20 - qcom,sm6350-cdsp-pas 20 - qcom,sm6350-cdsp-pas 21 - qcom,sm6350-mpss-pas 21 - qcom,sm6350-mpss-pas 22 22 23 reg: 23 reg: 24 maxItems: 1 24 maxItems: 1 25 25 26 clocks: 26 clocks: 27 items: 27 items: 28 - description: XO clock 28 - description: XO clock 29 29 30 clock-names: 30 clock-names: 31 items: 31 items: 32 - const: xo 32 - const: xo 33 33 34 qcom,qmp: 34 qcom,qmp: 35 $ref: /schemas/types.yaml#/definitions/pha 35 $ref: /schemas/types.yaml#/definitions/phandle 36 description: Reference to the AOSS side-ch 36 description: Reference to the AOSS side-channel message RAM. 37 37 38 memory-region: 38 memory-region: 39 maxItems: 1 !! 39 minItems: 1 40 description: Reference to the reserved-mem 40 description: Reference to the reserved-memory for the Hexagon core 41 41 42 smd-edge: false 42 smd-edge: false 43 43 44 firmware-name: 44 firmware-name: 45 maxItems: 1 !! 45 $ref: /schemas/types.yaml#/definitions/string 46 description: Firmware name for the Hexagon 46 description: Firmware name for the Hexagon core 47 47 48 required: 48 required: 49 - compatible 49 - compatible 50 - reg 50 - reg 51 - memory-region << 52 51 53 allOf: 52 allOf: 54 - $ref: /schemas/remoteproc/qcom,pas-common. 53 - $ref: /schemas/remoteproc/qcom,pas-common.yaml# 55 - if: 54 - if: 56 properties: 55 properties: 57 compatible: 56 compatible: 58 enum: 57 enum: 59 - qcom,sm6350-adsp-pas 58 - qcom,sm6350-adsp-pas 60 - qcom,sm6350-cdsp-pas 59 - qcom,sm6350-cdsp-pas 61 then: 60 then: 62 properties: 61 properties: 63 interrupts: 62 interrupts: 64 maxItems: 5 63 maxItems: 5 65 interrupt-names: 64 interrupt-names: 66 maxItems: 5 65 maxItems: 5 67 else: 66 else: 68 properties: 67 properties: 69 interrupts: 68 interrupts: 70 minItems: 6 69 minItems: 6 71 interrupt-names: 70 interrupt-names: 72 minItems: 6 71 minItems: 6 73 72 74 - if: 73 - if: 75 properties: 74 properties: 76 compatible: 75 compatible: 77 enum: 76 enum: 78 - qcom,sm6350-adsp-pas 77 - qcom,sm6350-adsp-pas 79 then: 78 then: 80 properties: 79 properties: 81 power-domains: 80 power-domains: 82 items: 81 items: 83 - description: LCX power domain 82 - description: LCX power domain 84 - description: LMX power domain 83 - description: LMX power domain 85 power-domain-names: 84 power-domain-names: 86 items: 85 items: 87 - const: lcx 86 - const: lcx 88 - const: lmx 87 - const: lmx 89 88 90 - if: 89 - if: 91 properties: 90 properties: 92 compatible: 91 compatible: 93 enum: 92 enum: 94 - qcom,sm6350-cdsp-pas 93 - qcom,sm6350-cdsp-pas 95 then: 94 then: 96 properties: 95 properties: 97 power-domains: 96 power-domains: 98 items: 97 items: 99 - description: CX power domain 98 - description: CX power domain 100 - description: MX power domain 99 - description: MX power domain 101 power-domain-names: 100 power-domain-names: 102 items: 101 items: 103 - const: cx 102 - const: cx 104 - const: mx 103 - const: mx 105 104 106 - if: 105 - if: 107 properties: 106 properties: 108 compatible: 107 compatible: 109 enum: 108 enum: 110 - qcom,sm6350-mpss-pas 109 - qcom,sm6350-mpss-pas 111 then: 110 then: 112 properties: 111 properties: 113 power-domains: 112 power-domains: 114 items: 113 items: 115 - description: CX power domain 114 - description: CX power domain 116 - description: MSS power domain 115 - description: MSS power domain 117 power-domain-names: 116 power-domain-names: 118 items: 117 items: 119 - const: cx 118 - const: cx 120 - const: mss 119 - const: mss 121 120 122 unevaluatedProperties: false 121 unevaluatedProperties: false 123 122 124 examples: 123 examples: 125 - | 124 - | 126 #include <dt-bindings/clock/qcom,rpmh.h> 125 #include <dt-bindings/clock/qcom,rpmh.h> 127 #include <dt-bindings/interrupt-controller 126 #include <dt-bindings/interrupt-controller/irq.h> 128 #include <dt-bindings/mailbox/qcom-ipcc.h> 127 #include <dt-bindings/mailbox/qcom-ipcc.h> 129 #include <dt-bindings/power/qcom-rpmpd.h> 128 #include <dt-bindings/power/qcom-rpmpd.h> 130 129 131 remoteproc@3000000 { 130 remoteproc@3000000 { 132 compatible = "qcom,sm6350-adsp-pas"; 131 compatible = "qcom,sm6350-adsp-pas"; 133 reg = <0x03000000 0x100>; 132 reg = <0x03000000 0x100>; 134 133 135 clocks = <&rpmhcc RPMH_CXO_CLK>; 134 clocks = <&rpmhcc RPMH_CXO_CLK>; 136 clock-names = "xo"; 135 clock-names = "xo"; 137 136 138 interrupts-extended = <&pdc 6 IRQ_TYPE 137 interrupts-extended = <&pdc 6 IRQ_TYPE_LEVEL_HIGH>, 139 <&smp2p_adsp_in 138 <&smp2p_adsp_in 0 IRQ_TYPE_EDGE_RISING>, 140 <&smp2p_adsp_in 139 <&smp2p_adsp_in 1 IRQ_TYPE_EDGE_RISING>, 141 <&smp2p_adsp_in 140 <&smp2p_adsp_in 2 IRQ_TYPE_EDGE_RISING>, 142 <&smp2p_adsp_in 141 <&smp2p_adsp_in 3 IRQ_TYPE_EDGE_RISING>; 143 interrupt-names = "wdog", "fatal", "re 142 interrupt-names = "wdog", "fatal", "ready", 144 "handover", "stop-ac 143 "handover", "stop-ack"; 145 144 146 memory-region = <&pil_adsp_mem>; 145 memory-region = <&pil_adsp_mem>; 147 146 148 power-domains = <&rpmhpd SM6350_LCX>, 147 power-domains = <&rpmhpd SM6350_LCX>, 149 <&rpmhpd SM6350_LMX>; 148 <&rpmhpd SM6350_LMX>; 150 power-domain-names = "lcx", "lmx"; 149 power-domain-names = "lcx", "lmx"; 151 150 152 qcom,qmp = <&aoss_qmp>; 151 qcom,qmp = <&aoss_qmp>; 153 qcom,smem-states = <&smp2p_adsp_out 0> 152 qcom,smem-states = <&smp2p_adsp_out 0>; 154 qcom,smem-state-names = "stop"; 153 qcom,smem-state-names = "stop"; 155 154 156 glink-edge { 155 glink-edge { 157 interrupts-extended = <&ipcc IPCC_ 156 interrupts-extended = <&ipcc IPCC_CLIENT_LPASS 158 IPCC_ 157 IPCC_MPROC_SIGNAL_GLINK_QMP 159 IRQ_T 158 IRQ_TYPE_EDGE_RISING>; 160 mboxes = <&ipcc IPCC_CLIENT_LPASS 159 mboxes = <&ipcc IPCC_CLIENT_LPASS 161 IPCC_MPROC_SIGNAL_ 160 IPCC_MPROC_SIGNAL_GLINK_QMP>; 162 161 163 label = "lpass"; 162 label = "lpass"; 164 qcom,remote-pid = <2>; 163 qcom,remote-pid = <2>; 165 164 166 /* ... */ 165 /* ... */ 167 }; 166 }; 168 }; 167 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.