xref: /linux/Documentation/devicetree/bindings/remoteproc/qcom,glink-edge.yaml (revision 6f9c2f19a8743c880903a031c7f3f3c534d4b813)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/remoteproc/qcom,glink-edge.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm G-Link Edge communication channel nodes
8
9maintainers:
10  - Bjorn Andersson <bjorn.andersson@linaro.org>
11
12description:
13  Qualcomm G-Link subnode represents communication edge, channels and devices
14  related to the remote processor.
15
16properties:
17  $nodename:
18    const: "glink-edge"
19
20  apr:
21    $ref: /schemas/soc/qcom/qcom,apr.yaml#
22    required:
23      - qcom,glink-channels
24    description:
25      Qualcomm APR/GPR (Asynchronous/Generic Packet Router)
26
27  fastrpc:
28    $ref: /schemas/misc/qcom,fastrpc.yaml#
29    required:
30      - qcom,glink-channels
31    description:
32      Qualcomm FastRPC
33
34  interrupts:
35    maxItems: 1
36
37  label:
38    description:
39      Name of the edge, used for debugging and identification purposes. The
40      node name will be used if this is not present.
41
42  mboxes:
43    maxItems: 1
44
45  qcom,remote-pid:
46    $ref: /schemas/types.yaml#/definitions/uint32
47    description:
48      ID of the shared memory used by GLINK for communication with remote
49      processor.
50
51required:
52  - interrupts
53  - label
54  - mboxes
55  - qcom,remote-pid
56
57additionalProperties: false
58
59examples:
60  - |
61    #include <dt-bindings/interrupt-controller/arm-gic.h>
62    #include <dt-bindings/mailbox/qcom-ipcc.h>
63
64    remoteproc@8a00000 {
65        reg = <0x08a00000 0x10000>;
66        // ...
67
68        glink-edge {
69            interrupts-extended = <&ipcc IPCC_CLIENT_WPSS
70                                         IPCC_MPROC_SIGNAL_GLINK_QMP
71                                         IRQ_TYPE_EDGE_RISING>;
72            mboxes = <&ipcc IPCC_CLIENT_WPSS
73                            IPCC_MPROC_SIGNAL_GLINK_QMP>;
74
75            label = "wpss";
76            qcom,remote-pid = <13>;
77        };
78    };
79