# Qualcomm G-Link Edge communication channel nodes

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Remoteproc bindings_

> Device-tree binding reference for Qualcomm G-Link Edge communication channel nodes.

<!-- SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -->


<a id="dt-root"></a>

**Schema identifier (<code>&#36;id</code>):** <span id="dt-09f478f44eb202ea573e"><code>&#34;http&#58;&#47;&#47;devicetree&#46;org&#47;schemas&#47;remoteproc&#47;qcom&#44;glink&#45;edge&#46;yaml&#35;&#34;</code></span>

**Schema dialect (<code>&#36;schema</code>):** <span id="dt-dcb375baab6014763a68"><code>&#34;http&#58;&#47;&#47;devicetree&#46;org&#47;meta&#45;schemas&#47;core&#46;yaml&#35;&#34;</code></span>

<a id="dt-e46b5a5dd81dbd751c9f"></a>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Bjorn Andersson &#60;bjorn&#46;andersson&#64;linaro&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Qualcomm G-Link subnode represents communication edge, channels and devices related to the remote processor.</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-55cdbb88651982395fb9"></a>

### <code>apr</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-568128b2bd69803ce955">[<code>&#47;schemas&#47;soc&#47;qcom&#47;qcom&#44;apr&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-soc/qcom/qcom-apr.md#dt-root>)</span>

**Required in this object (<code>required</code>):** <a id="dt-48648e87303d37c7d2a5"></a> <span id="dt-5b79ab535f16847bfbbc"><code>&#34;qcom&#44;glink&#45;channels&#34;</code></span>

<div id="dt-278f16065219e082dd5c">
<p style="white-space: pre-wrap">Qualcomm APR (Asynchronous Packet Router)</p>
</div>

<a id="dt-ab913c0907fe106c07c8"></a>

### <code>fastrpc</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-082d14179017270ccbae">[<code>&#47;schemas&#47;misc&#47;qcom&#44;fastrpc&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-misc/qcom-fastrpc.md#dt-root>)</span>

**Required in this object (<code>required</code>):** <a id="dt-88d12d10921996633b2f"></a> <span id="dt-c5e74e8acc93beafb16d"><code>&#34;qcom&#44;glink&#45;channels&#34;</code></span>

<div id="dt-7080db43d5506359597b">
<p style="white-space: pre-wrap">Qualcomm FastRPC</p>
</div>

<a id="dt-b75eb70f9e04f72bb7f2"></a>

### <code>gpr</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-5739dfe2563065590127">[<code>&#47;schemas&#47;soc&#47;qcom&#47;qcom&#44;apr&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-soc/qcom/qcom-apr.md#dt-root>)</span>

**Required in this object (<code>required</code>):** <a id="dt-b9348811ada6ca92b806"></a> <span id="dt-0e71703c68b90d5e7d4d"><code>&#34;qcom&#44;glink&#45;channels&#34;</code></span>

<div id="dt-1674a445bd4f234c2793">
<p style="white-space: pre-wrap">Qualcomm GPR (Generic Packet Router)</p>
</div>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-0c6076cd9d6f109c5cc6"></a>

### <code>label</code> — required here

<div id="dt-f7c1a813bb0d2e9dd066">
<p style="white-space: pre-wrap">Name of the edge, used for debugging and identification purposes. The node name will be used if this is not present.</p>
</div>

<a id="dt-574e031ceefcc9ce5f61"></a>

### <code>mboxes</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-0d6020afe1bf116ee01c"><code>1</code></span>

<a id="dt-afc1bebf7d65664de852"></a>

### <code>qcom&#44;remote&#45;pid</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-27d5c16df5e6e9db8cfc">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

<div id="dt-875d90f2a2e25ae2575d">
<p style="white-space: pre-wrap">ID of the shared memory used by GLINK for communication with remote processor.</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;interrupts&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;label&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;mboxes&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;qcom&#44;remote&#45;pid&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

## All of these rules must match (<code>allOf</code>)

<a id="dt-d33de94ac1d3652cd22a"></a>

### Rule 1

> <a id="dt-3bbb54dfa1f05dfb4d25"></a>
>
> #### Condition (<code>if</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-8562362a36ebdbb1ff2a"></a> <span id="dt-31d648f7705dc578c2d6"><code>&#34;apr&#34;</code></span>
>
> <a id="dt-1ba25143802b75b74702"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-b212c2ef78c22fab2e20"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-e1e7de579711a7e514e3"></a>
> >
> > **<code>gpr</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<a id="dt-22ca5ec5b89308748ecc"></a>

### Rule 2

> <a id="dt-ffbf5afb799d5f07b3e1"></a>
>
> #### Condition (<code>if</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-5f135e3db8ef1aa53700"></a> <span id="dt-0164887f025a095456fa"><code>&#34;gpr&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-26d1c84fcc55a7d91dea"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-092ea85e4da5298d23b1"></a>
> >
> > **<code>apr</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<a id="dt-738c4b4f9e483441138b"></a>

## Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-1a130cabaa8a47b058bf"></a>

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
#include &lt;dt-bindings/mailbox/qcom-ipcc.h&gt;

remoteproc@8a00000 {
    reg = &lt;0x08a00000 0x10000&gt;;
    // ...

    glink-edge {
        interrupts-extended = &lt;&amp;ipcc IPCC_CLIENT_WPSS
                                     IPCC_MPROC_SIGNAL_GLINK_QMP
                                     IRQ_TYPE_EDGE_RISING&gt;;
        mboxes = &lt;&amp;ipcc IPCC_CLIENT_WPSS
                        IPCC_MPROC_SIGNAL_GLINK_QMP&gt;;

        label = "wpss";
        qcom,remote-pid = &lt;13&gt;;
    };
};
</code></pre>

## Source notes

<details>
<summary>Annotations retained from the schema source</summary>

<p id="dt-comment-0"><strong>Line 1:</strong> <span> SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)</span></p>

</details>
