# Qualcomm SMD Edge communication channel nodes

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

> Device-tree binding reference for Qualcomm SMD 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;smd&#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 SMD subnode represents a remote subsystem or a remote processor of some sort - or in SMD language an "edge". The name of the edges are not important.
In turn, subnodes of the "edges" represent devices tied to SMD channels on that "edge". The names of the devices are not important. The properties of these nodes are defined by the individual bindings for the SMD devices. See also Documentation/devicetree/bindings/soc/qcom/qcom,smd.yaml</p>
</div>

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

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

<a id="dt-5155525ecd924660ec0a"></a>

### <code>&#36;nodename</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-8cca737a574136d30da2"><code>&#34;smd&#45;edge&#34;</code></span>

<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;smd&#45;channels&#34;</code></span>

<div id="dt-278f16065219e082dd5c">
<p style="white-space: pre-wrap">Qualcomm APR/GPR (Asynchronous/Generic 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;smd&#45;channels&#34;</code></span>

<div id="dt-7080db43d5506359597b">
<p style="white-space: pre-wrap">Qualcomm FastRPC</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> — not listed as 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> — not listed as required here

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

<div id="dt-35048c35d9f2ceeeab93">
<p style="white-space: pre-wrap">Reference to the mailbox representing the outgoing doorbell in APCS for this client.</p>
</div>

<a id="dt-90be48a5a2d1e5fd1d97"></a>

### <code>qcom&#44;ipc</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-b4d03213f2aa5b0c81ca">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;phandle&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-8f5710c4314b4caa4970>)</span>

<a id="dt-5f5bc31e4b50be61cbbc"></a>

#### Array item rules (<code>items</code>)

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

**Item 1**

> <a id="dt-e156dfe8f50f31443c18"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-f9fef7ee3554a3291e09"></a>
>
> **Item 1**
>
> > <div id="dt-1b8e2e69c4853e518788">
> > <p style="white-space: pre-wrap">phandle to a syscon node representing the APCS registers</p>
> > </div>
>
> <a id="dt-36df8e569d7f097be581"></a>
>
> **Item 2**
>
> > <div id="dt-1695278cffe4be017bc2">
> > <p style="white-space: pre-wrap">u32 representing offset to the register within the syscon</p>
> > </div>
>
> <a id="dt-b9a698c60ac6e2dd8cdd"></a>
>
> **Item 3**
>
> > <div id="dt-6714f2e43cc1da72b7b8">
> > <p style="white-space: pre-wrap">u32 representing the ipc bit within the register</p>
> > </div>

<div id="dt-46a46c9a2afe52eb2941">
<p style="white-space: pre-wrap">Three entries specifying the outgoing ipc bit used for signaling the remote processor.</p>
</div>

**Deprecated (<code>deprecated</code>):** <span id="dt-977f845f988d884091d0"><code>true</code></span>

<a id="dt-496cbdfa788f2fa5d943"></a>

### <code>qcom&#44;smd&#45;edge</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-09a187e669e94ee26441">[<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-c957efc42602cb8d8f1a">
<p style="white-space: pre-wrap">The identifier of the remote processor in the smd channel allocation table.</p>
</div>

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

### <code>qcom&#44;remote&#45;pid</code> — not listed as 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">The identifier for the remote processor as known by the rest of the system.</p>
</div>

<a id="dt-4f786705e1274e538e49"></a>

### <code>rpm&#45;requests</code> — not listed as required here

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

**Required in this object (<code>required</code>):** <a id="dt-787eb5e7b7e8cbbcfdec"></a> <span id="dt-d977285d90f9d4dc8d53"><code>&#34;qcom&#44;smd&#45;channels&#34;</code></span>

<div id="dt-e64e1e1845d303f00960">
<p style="white-space: pre-wrap">Qualcomm Resource Power Manager (RPM) over SMD.</p>
</div>

<a id="dt-893e5e54ea851acbf375"></a>

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

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

**Required in this object (<code>required</code>):** <a id="dt-bad1caed0b8847ddcdbf"></a> <span id="dt-788ed305e0287111e836"><code>&#34;qcom&#44;smd&#45;channels&#34;</code></span>

<div id="dt-14d2b842074cf2ceb3a0">
<p style="white-space: pre-wrap">Qualcomm WCNSS for Bluetooth, WiFi and FM radio.</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;qcom&#44;smd&#45;edge&#34;</code></span>

<a id="dt-51356188806d31ca2021"></a>

## Exactly one of these rules must match (<code>oneOf</code>)

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

### Rule 1

> **Required in this object (<code>required</code>):** <a id="dt-48cc38ffec184df79a62"></a> <span id="dt-bbd3b687ebb435349af2"><code>&#34;mboxes&#34;</code></span>

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

### Rule 2

> **Required in this object (<code>required</code>):** <a id="dt-686ce4562589647d257c"></a> <span id="dt-8060cb7221f215eec82f"><code>&#34;qcom&#44;ipc&#34;</code></span>

<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 {
    // ...

    smd-edge {
        interrupts = &lt;GIC_SPI 156 IRQ_TYPE_EDGE_RISING&gt;;

        mboxes = &lt;&amp;apcs 8&gt;;
        qcom,smd-edge = &lt;1&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>
