xref: /freebsd/sys/contrib/device-tree/Bindings/remoteproc/qcom,glink-edge.yaml (revision 7ef62cebc2f965b0f640263e179276928885e33d)
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: The names of the state bits used for SMP2P output
39
40  mboxes:
41    maxItems: 1
42
43  qcom,remote-pid:
44    $ref: /schemas/types.yaml#/definitions/uint32
45    description:
46      ID of the shared memory used by GLINK for communication with remote
47      processor.
48
49required:
50  - interrupts
51  - label
52  - mboxes
53  - qcom,remote-pid
54
55additionalProperties: false
56
57examples:
58  - |
59    #include <dt-bindings/interrupt-controller/arm-gic.h>
60    #include <dt-bindings/mailbox/qcom-ipcc.h>
61
62    remoteproc@8a00000 {
63        reg = <0x08a00000 0x10000>;
64        // ...
65
66        glink-edge {
67            interrupts-extended = <&ipcc IPCC_CLIENT_WPSS
68                                         IPCC_MPROC_SIGNAL_GLINK_QMP
69                                         IRQ_TYPE_EDGE_RISING>;
70            mboxes = <&ipcc IPCC_CLIENT_WPSS
71                            IPCC_MPROC_SIGNAL_GLINK_QMP>;
72
73            label = "wpss";
74            qcom,remote-pid = <13>;
75        };
76    };
77