xref: /freebsd/sys/contrib/device-tree/Bindings/remoteproc/qcom,glink-edge.yaml (revision b077aed33b7b6aefca7b17ddb250cf521f938613)
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    description:
23      Qualcomm APR/GPR (Asynchronous/Generic Packet Router)
24
25  fastrpc:
26    type: object
27    description:
28      See Documentation/devicetree/bindings/misc/qcom,fastrpc.txt
29
30  interrupts:
31    maxItems: 1
32
33  label:
34    description: The names of the state bits used for SMP2P output
35
36  mboxes:
37    maxItems: 1
38
39  qcom,remote-pid:
40    $ref: /schemas/types.yaml#/definitions/uint32
41    description:
42      ID of the shared memory used by GLINK for communication with remote
43      processor.
44
45required:
46  - interrupts
47  - label
48  - mboxes
49  - qcom,remote-pid
50
51additionalProperties: false
52
53examples:
54  - |
55    #include <dt-bindings/interrupt-controller/arm-gic.h>
56    #include <dt-bindings/mailbox/qcom-ipcc.h>
57
58    remoteproc@8a00000 {
59        reg = <0x08a00000 0x10000>;
60        // ...
61
62        glink-edge {
63            interrupts-extended = <&ipcc IPCC_CLIENT_WPSS
64                                         IPCC_MPROC_SIGNAL_GLINK_QMP
65                                         IRQ_TYPE_EDGE_RISING>;
66            mboxes = <&ipcc IPCC_CLIENT_WPSS
67                            IPCC_MPROC_SIGNAL_GLINK_QMP>;
68
69            label = "wpss";
70            qcom,remote-pid = <13>;
71        };
72    };
73