1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/misc/qcom,fastrpc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm FastRPC Driver
10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
13 The FastRPC implements an IPC (Inter-Processor Communication)
14 mechanism that allows for clients to transparently make remote method
15 invocations across DSP and APPS boundaries. This enables developers
16 to offload tasks to the DSP and free up the application processor for
33 Phandle to a node describing memory to be used for remote heap CMA.
37 A list of channels tied to this function, used for matching
38 the function to a set of virtual channels.
39 $ref: /schemas/types.yaml#/definitions/string-array
41 - const: fastrpcglink-apps-dsp
43 qcom,non-secure-domain:
45 Used to mark the current domain as non-secure.
50 Channel name used for the RPM communication
51 $ref: /schemas/types.yaml#/definitions/string-array
53 - const: fastrpcsmd-apps-dsp
57 Virtual machine IDs for remote processor.
58 $ref: /schemas/types.yaml#/definitions/uint32-array
67 "(compute-)?cb@[0-9]*$":
71 Each subnode of the Fastrpc represents compute context banks available on the dsp.
75 const: qcom,fastrpc-compute-cb
85 $ref: /schemas/types.yaml#/definitions/uint32
88 A value indicating how many sessions can share this context bank.
94 additionalProperties: false
102 additionalProperties: false
106 #include <dt-bindings/interrupt-controller/arm-gic.h>
107 #include <dt-bindings/mailbox/qcom-ipcc.h>
110 interrupts-extended = <&ipcc IPCC_CLIENT_LPASS
111 IPCC_MPROC_SIGNAL_GLINK_QMP
112 IRQ_TYPE_EDGE_RISING>;
113 mboxes = <&ipcc IPCC_CLIENT_LPASS
114 IPCC_MPROC_SIGNAL_GLINK_QMP>;
116 qcom,remote-pid = <2>;
119 compatible = "qcom,fastrpc";
120 qcom,glink-channels = "fastrpcglink-apps-dsp";
122 qcom,non-secure-domain;
123 #address-cells = <1>;
127 compatible = "qcom,fastrpc-compute-cb";
129 iommus = <&apps_smmu 0x0541 0x0>;
133 compatible = "qcom,fastrpc-compute-cb";
135 iommus = <&apps_smmu 0x0542 0x0>;
139 compatible = "qcom,fastrpc-compute-cb";
141 iommus = <&apps_smmu 0x0543 0x0>;