# Mailbox bindings

---

# Allwinner sunxi Message Box

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

> Device-tree binding reference for Allwinner sunxi Message Box.

<!-- SPDX-License-Identifier: GPL-2.0 -->


<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;mailbox&#47;allwinner&#44;sun6i&#45;a31&#45;msgbox&#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;Samuel Holland &#60;samuel&#64;sholland&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The hardware message box on sun6i, sun8i, sun9i, and sun50i SoCs is a
two-user mailbox controller containing 8 unidirectional FIFOs. An interrupt
is raised for received messages, but software must poll to know when a
transmitted message has been acknowledged by the remote user. Each FIFO can
hold four 32-bit messages; when a FIFO is full, clients must wait before
attempting more transmissions.</p>
<p style="white-space: pre-wrap">Refer to ./mailbox.txt for generic information about mailbox device-tree
bindings.</p>
</div>

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

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

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

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

<a id="dt-39566f01414e34c67b85"></a>

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

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

**Rule 1**

> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-3b212051dcd0fc641cd8"></a> <span id="dt-bd6e6716d05ec45653db"><code>&#34;allwinner&#44;sun8i&#45;a83t&#45;msgbox&#34;</code></span>, <span id="dt-3e7fb897881b12f43f81"><code>&#34;allwinner&#44;sun8i&#45;h3&#45;msgbox&#34;</code></span>, <span id="dt-b7d19de74fd35364d49f"><code>&#34;allwinner&#44;sun9i&#45;a80&#45;msgbox&#34;</code></span>, <span id="dt-6cbdeefc52e7132bc62c"><code>&#34;allwinner&#44;sun50i&#45;a64&#45;msgbox&#34;</code></span>, <span id="dt-fd88adda17227ca32776"><code>&#34;allwinner&#44;sun50i&#45;h6&#45;msgbox&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1da74b37131fdcec1073"><code>&#34;allwinner&#44;sun6i&#45;a31&#45;msgbox&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> **Exact value (<code>const</code>):** <span id="dt-58a429cd4bf531951c0d"><code>&#34;allwinner&#44;sun6i&#45;a31&#45;msgbox&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

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

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

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

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

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

<div id="dt-853257adf43f6880d753">
<p style="white-space: pre-wrap">bus clock</p>
</div>

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

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

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

<div id="dt-d372137de588ae9d23ee">
<p style="white-space: pre-wrap">bus reset</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-02ba4fa8955648673731"></a>

### <code>&#35;mbox&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-35dce2a22cd12b009c30"><code>1</code></span>

<div id="dt-c8db8f9a4474894f1bab">
<p style="white-space: pre-wrap">first cell is the channel number (0-7)</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;clocks&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;resets&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;interrupts&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;&#35;mbox&#45;cells&#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/clock/sun8i-h3-ccu.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
#include &lt;dt-bindings/reset/sun8i-h3-ccu.h&gt;

msgbox: mailbox@1c17000 {
    compatible = "allwinner,sun8i-h3-msgbox",
                 "allwinner,sun6i-a31-msgbox";
    reg = &lt;0x01c17000 0x1000&gt;;
    clocks = &lt;&amp;ccu CLK_BUS_MSGBOX&gt;;
    resets = &lt;&amp;ccu RST_BUS_MSGBOX&gt;;
    interrupts = &lt;GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH&gt;;
    #mbox-cells = &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</span></p>

</details>

---

# Amlogic Meson Message-Handling-Unit Controller

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

> Device-tree binding reference for Amlogic Meson Message-Handling-Unit Controller.

<!-- SPDX-License-Identifier: (GPL-2.0 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;mailbox&#47;amlogic&#44;meson&#45;gxbb&#45;mhu&#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;Neil Armstrong &#60;neil&#46;armstrong&#64;linaro&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Amlogic's Meson SoCs Message-Handling-Unit (MHU) is a mailbox controller
that has 3 independent channels/links to communicate with remote processor(s).
MHU links are hardwired on a platform. A link raises interrupt for any
received data. However, there is no specified way of knowing if the sent
data has been read by the remote. This driver assumes the sender polls
STAT register and the remote clears it after having read the data.</p>
</div>

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

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

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

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

**Allowed values (<code>enum</code>):** <a id="dt-207128c21dbd6355c894"></a> <span id="dt-bd234eb96375d77ca611"><code>&#34;amlogic&#44;meson&#45;gxbb&#45;mhu&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

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

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

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

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

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

<div id="dt-b3ddec0f69e9f0c0dc40">
<p style="white-space: pre-wrap">Contains the interrupt information corresponding to each of the 3 links of MHU.</p>
</div>

<a id="dt-02ba4fa8955648673731"></a>

### <code>&#35;mbox&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-35dce2a22cd12b009c30"><code>1</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;mbox&#45;cells&#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">mailbox@c883c404 {
    compatible = "amlogic,meson-gxbb-mhu";
    reg = &lt;0xc883c404 0x4c&gt;;
    interrupts = &lt;208&gt;, &lt;209&gt;, &lt;210&gt;;
    #mbox-cells = &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 OR BSD-2-Clause)</span></p>

<p id="dt-comment-1"><strong>Line 2:</strong> <span> Copyright 2019 BayLibre, SAS</span></p>

</details>

---

# APM X-Gene SLIMpro mailbox

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

> Device-tree binding reference for APM X-Gene SLIMpro mailbox.

<!-- 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;apm&#44;xgene&#45;slimpro&#45;mbox&#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;Khuong Dinh &#60;khuong&#64;os&#46;amperecomputing&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The APM X-Gene SLIMpro mailbox is used to communicate messages between the ARM64 processors and the Cortex M3 (dubbed SLIMpro). It uses a simple interrupt based door bell mechanism and can exchange simple messages using the internal registers.</p>
</div>

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;apm&#44;xgene&#45;slimpro&#45;mbox&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

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

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

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

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

<a id="dt-985aed94c3a5de8e946a"></a>

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

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

**Item 1**

> <div id="dt-094ee990c529b33ab668">
> <p style="white-space: pre-wrap">mailbox channel 0 doorbell</p>
> </div>

<a id="dt-14fdf3275cf454d3c593"></a>

**Item 2**

> <div id="dt-f26fcb0c97f34db34fe4">
> <p style="white-space: pre-wrap">mailbox channel 1 doorbell</p>
> </div>

<a id="dt-6825e597892563d56556"></a>

**Item 3**

> <div id="dt-2c85367ad575dfda8b35">
> <p style="white-space: pre-wrap">mailbox channel 2 doorbell</p>
> </div>

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

**Item 4**

> <div id="dt-aa4f93a6c04967e709f9">
> <p style="white-space: pre-wrap">mailbox channel 3 doorbell</p>
> </div>

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

**Item 5**

> <div id="dt-69853563c80e815c6939">
> <p style="white-space: pre-wrap">mailbox channel 4 doorbell</p>
> </div>

<a id="dt-15718b5dec69bc52428d"></a>

**Item 6**

> <div id="dt-920611eed93e73d017a3">
> <p style="white-space: pre-wrap">mailbox channel 5 doorbell</p>
> </div>

<a id="dt-94298e6976f5850d80c1"></a>

**Item 7**

> <div id="dt-7b2ecc1799e8158d6a05">
> <p style="white-space: pre-wrap">mailbox channel 6 doorbell</p>
> </div>

<a id="dt-6cc837b0e9b0401db501"></a>

**Item 8**

> <div id="dt-eda38108022550d2d36c">
> <p style="white-space: pre-wrap">mailbox channel 7 doorbell</p>
> </div>

<a id="dt-02ba4fa8955648673731"></a>

### <code>&#35;mbox&#45;cells</code> — required here

<div id="dt-c8db8f9a4474894f1bab">
<p style="white-space: pre-wrap">Number of mailbox channel.</p>
</div>

**Exact value (<code>const</code>):** <span id="dt-35dce2a22cd12b009c30"><code>1</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;mbox&#45;cells&#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">mailbox@10540000 {
    compatible = "apm,xgene-slimpro-mbox";
    reg = &lt;0x10540000 0xa000&gt;;
    #mbox-cells = &lt;1&gt;;
    interrupts = &lt;0x0 0x0 0x4&gt;,
                 &lt;0x0 0x1 0x4&gt;,
                 &lt;0x0 0x2 0x4&gt;,
                 &lt;0x0 0x3 0x4&gt;,
                 &lt;0x0 0x4 0x4&gt;,
                 &lt;0x0 0x5 0x4&gt;,
                 &lt;0x0 0x6 0x4&gt;,
                 &lt;0x0 0x7 0x4&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>

---

# Apple Mailbox Controller

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

> Device-tree binding reference for Apple Mailbox Controller.

<!-- SPDX-License-Identifier: GPL-2.0 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;mailbox&#47;apple&#44;mailbox&#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;Hector Martin &#60;marcan&#64;marcan&#46;st&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Sven Peter &#60;sven&#64;svenpeter&#46;dev&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Apple mailbox consists of two FIFOs used to exchange 64+32 bit messages between the main CPU and a co-processor. Multiple instances of this mailbox can be found on Apple SoCs. One of the two FIFOs is used to send data to a co-processor while the other FIFO is used for the other direction. Various clients implement different IPC protocols based on these simple messages and shared memory buffers.</p>
</div>

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

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

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

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

<a id="dt-39566f01414e34c67b85"></a>

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

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

**Rule 1**

> <div id="dt-ab1c3e7063bd95dc962e">
> <p style="white-space: pre-wrap">ASC mailboxes are the most common variant found on the M1 used for example for the display controller, the system management controller and the NVMe coprocessor.</p>
> </div>
>
> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-3b212051dcd0fc641cd8"></a> <span id="dt-bd6e6716d05ec45653db"><code>&#34;apple&#44;t8103&#45;asc&#45;mailbox&#34;</code></span>, <span id="dt-3e7fb897881b12f43f81"><code>&#34;apple&#44;t8112&#45;asc&#45;mailbox&#34;</code></span>, <span id="dt-b7d19de74fd35364d49f"><code>&#34;apple&#44;t6000&#45;asc&#45;mailbox&#34;</code></span>, <span id="dt-6cbdeefc52e7132bc62c"><code>&#34;apple&#44;t6020&#45;asc&#45;mailbox&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1da74b37131fdcec1073"><code>&#34;apple&#44;asc&#45;mailbox&#45;v4&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <div id="dt-4b64ce44adfe069638c4">
> <p style="white-space: pre-wrap">An older ASC mailbox interface found on T2 and A11 that is also used for the NVMe coprocessor and the system management controller.</p>
> </div>
>
> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-82dceb5784ff71f5fdf5"><code>&#34;apple&#44;t8015&#45;asc&#45;mailbox&#34;</code></span>

<a id="dt-39cb5b72c94e12bd53ea"></a>

**Rule 3**

> <div id="dt-34ebc3371373135d1528">
> <p style="white-space: pre-wrap">M3 mailboxes are an older variant with a slightly different MMIO interface still found on the M1. It is used for the Thunderbolt co-processors.</p>
> </div>
>
> <a id="dt-e626d61e9d5d76cc48f9"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-6b46935eab08de6d1f0a"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-9d5b9f6fd2f9759f6e43"></a> <span id="dt-73fb2f4b762df7b35870"><code>&#34;apple&#44;t8103&#45;m3&#45;mailbox&#34;</code></span>, <span id="dt-4f2dd487e4b2e6e79827"><code>&#34;apple&#44;t8112&#45;m3&#45;mailbox&#34;</code></span>, <span id="dt-dba59cbb664a09df0380"><code>&#34;apple&#44;t6000&#45;m3&#45;mailbox&#34;</code></span>
>
> <a id="dt-5ea82ea034747ba6da29"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-e9c55cb91230c7ee5a28"><code>&#34;apple&#44;m3&#45;mailbox&#45;v2&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

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

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

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

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

<a id="dt-985aed94c3a5de8e946a"></a>

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

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

**Item 1**

> <div id="dt-094ee990c529b33ab668">
> <p style="white-space: pre-wrap">send fifo is empty interrupt</p>
> </div>

<a id="dt-14fdf3275cf454d3c593"></a>

**Item 2**

> <div id="dt-f26fcb0c97f34db34fe4">
> <p style="white-space: pre-wrap">send fifo is not empty interrupt</p>
> </div>

<a id="dt-6825e597892563d56556"></a>

**Item 3**

> <div id="dt-2c85367ad575dfda8b35">
> <p style="white-space: pre-wrap">receive fifo is empty interrupt</p>
> </div>

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

**Item 4**

> <div id="dt-aa4f93a6c04967e709f9">
> <p style="white-space: pre-wrap">receive fifo is not empty interrupt</p>
> </div>

<a id="dt-8aa4fd7705c68de75d2b"></a>

### <code>interrupt&#45;names</code> — required here

<a id="dt-77e94e63ca0b20bb5ef1"></a>

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

<a id="dt-1198ecbdbe49337cf73e"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-7f7686a533ef09dda0b1"><code>&#34;send&#45;empty&#34;</code></span>

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

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-5af1964d23a153c89b8a"><code>&#34;send&#45;not&#45;empty&#34;</code></span>

<a id="dt-01a6f91e38388cdf0f5a"></a>

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-25e85adf3e7caf29cd92"><code>&#34;recv&#45;empty&#34;</code></span>

<a id="dt-96b5fc50d1d5da0ddc64"></a>

**Item 4**

> **Exact value (<code>const</code>):** <span id="dt-bb507334c2bd56c85638"><code>&#34;recv&#45;not&#45;empty&#34;</code></span>

<a id="dt-02ba4fa8955648673731"></a>

### <code>&#35;mbox&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-35dce2a22cd12b009c30"><code>0</code></span>

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — not listed as required here

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

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;interrupt&#45;names&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;&#35;mbox&#45;cells&#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">mailbox@77408000 {
    compatible = "apple,t8103-asc-mailbox", "apple,asc-mailbox-v4";
    reg = &lt;0x77408000 0x4000&gt;;
    interrupts = &lt;1 583 4&gt;, &lt;1 584 4&gt;, &lt;1 585 4&gt;, &lt;1 586 4&gt;;
    interrupt-names = "send-empty", "send-not-empty",
                      "recv-empty", "recv-not-empty";
    #mbox-cells = &lt;0&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 OR BSD-2-Clause</span></p>

</details>

---

# ARM MHU Mailbox Controller

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

> Device-tree binding reference for ARM MHU Mailbox Controller.

<!-- 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;mailbox&#47;arm&#44;mhu&#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;Jassi Brar &#60;jaswinder&#46;singh&#64;linaro&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The ARM's Message-Handling-Unit (MHU) is a mailbox controller that has 3
independent channels/links to communicate with remote processor(s).  MHU links
are hardwired on a platform. A link raises interrupt for any received data.
However, there is no specified way of knowing if the sent data has been read
by the remote. This driver assumes the sender polls STAT register and the
remote clears it after having read the data.  The last channel is specified to
be a 'Secure' resource, hence can't be used by Linux running NS.</p>
<p style="white-space: pre-wrap">The MHU hardware also allows operations in doorbell mode. The MHU drives the
interrupt signal using a 32-bit register, with all 32-bits logically ORed
together. It provides a set of registers to enable software to set, clear and
check the status of each of the bits of this register independently. The use
of 32 bits per interrupt line enables software to provide more information
about the source of the interrupt. For example, each bit of the register can
be associated with a type of event that can contribute to raising the
interrupt. Each of the 32-bits can be used as "doorbell" to alert the remote
processor.</p>
</div>

<a id="dt-865ef19e891fb9fe7b15"></a>

## Automatic schema selection (<code>select</code>)

> <a id="dt-54d143fae2406295c883"></a>
>
> ### Properties and child nodes (<code>properties</code>)
>
> <a id="dt-e3400bab629503b08322"></a>
>
> #### <code>compatible</code> — required here
>
> <a id="dt-2ae4f0f9580bb5b2e406"></a>
>
> **Rule for matching array elements (<code>contains</code>)**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-ce9b069a8031ff280c23"></a> <span id="dt-e79f31d4eec3cf736314"><code>&#34;arm&#44;mhu&#34;</code></span>, <span id="dt-b228f13d1a3291d89dd4"><code>&#34;arm&#44;mhu&#45;doorbell&#34;</code></span>
>
> **Required in this object (<code>required</code>):** <a id="dt-c7b135d3aebb6d627788"></a> <span id="dt-7b7a89ef483af1198868"><code>&#34;compatible&#34;</code></span>

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

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

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

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

<a id="dt-39566f01414e34c67b85"></a>

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

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

**Rule 1**

> <div id="dt-ab1c3e7063bd95dc962e">
> <p style="white-space: pre-wrap">Data transfer mode</p>
> </div>
>
> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-5deec2612224d8d915da"><code>&#34;arm&#44;mhu&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1da74b37131fdcec1073"><code>&#34;arm&#44;primecell&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <div id="dt-4b64ce44adfe069638c4">
> <p style="white-space: pre-wrap">Doorbell mode</p>
> </div>
>
> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-82dceb5784ff71f5fdf5"><code>&#34;arm&#44;mhu&#45;doorbell&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;arm&#44;primecell&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

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

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

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

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

**Minimum number of items (<code>minItems</code>):** <span id="dt-1691b9edf145244244a0"><code>2</code></span>

<a id="dt-985aed94c3a5de8e946a"></a>

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

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

**Item 1**

> <div id="dt-094ee990c529b33ab668">
> <p style="white-space: pre-wrap">low-priority non-secure</p>
> </div>

<a id="dt-14fdf3275cf454d3c593"></a>

**Item 2**

> <div id="dt-f26fcb0c97f34db34fe4">
> <p style="white-space: pre-wrap">high-priority non-secure</p>
> </div>

<a id="dt-6825e597892563d56556"></a>

**Item 3**

> <div id="dt-2c85367ad575dfda8b35">
> <p style="white-space: pre-wrap">Secure</p>
> </div>

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

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

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

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

<a id="dt-3d1de59bdfddccf00eed"></a>

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;apb&#95;pclk&#34;</code></span>

<a id="dt-02ba4fa8955648673731"></a>

### <code>&#35;mbox&#45;cells</code> — required here

<div id="dt-c8db8f9a4474894f1bab">
<p style="white-space: pre-wrap">Set to 1 in data transfer mode and represents index of the channel.
Set to 2 in doorbell mode and represents index of the channel and doorbell
number.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-a4de2be73a0e57ef9726"></a> <span id="dt-594c8157253b9bef7bb3"><code>1</code></span>, <span id="dt-00fae157922f1d3a8ae7"><code>2</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;mbox&#45;cells&#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">soc {
    #address-cells = &lt;2&gt;;
    #size-cells = &lt;2&gt;;

    mhuA: mailbox@2b1f0000 {
        #mbox-cells = &lt;1&gt;;
        compatible = "arm,mhu", "arm,primecell";
        reg = &lt;0 0x2b1f0000 0 0x1000&gt;;
        interrupts = &lt;0 36 4&gt;, /* LP-NonSecure */
                     &lt;0 35 4&gt;, /* HP-NonSecure */
                     &lt;0 37 4&gt;; /* Secure */
        clocks = &lt;&amp;clock 0 2 1&gt;;
        clock-names = "apb_pclk";
    };
};

firmware {
    scpi {
        compatible = "arm,scpi";
        mboxes = &lt;&amp;mhuA 1&gt;; /* HP-NonSecure */
        shmem = &lt;&amp;cpu_scp_hpri&gt;; /* HP-NonSecure */

        scpi_devpd: power-controller {
            compatible = "arm,scpi-power-domains";
            num-domains = &lt;2&gt;;
            #power-domain-cells = &lt;1&gt;;
        };
    };
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">soc {
    #address-cells = &lt;2&gt;;
    #size-cells = &lt;2&gt;;

    mhuB: mailbox@2b2f0000 {
        #mbox-cells = &lt;2&gt;;
        compatible = "arm,mhu-doorbell", "arm,primecell";
        reg = &lt;0 0x2b2f0000 0 0x1000&gt;;
        interrupts = &lt;0 36 4&gt;, /* LP-NonSecure */
                     &lt;0 35 4&gt;, /* HP-NonSecure */
                     &lt;0 37 4&gt;; /* Secure */
        clocks = &lt;&amp;clock 0 2 1&gt;;
        clock-names = "apb_pclk";
    };
};

firmware {
    scmi {
        compatible = "arm,scmi";
        mboxes = &lt;&amp;mhuB 0 0&gt;, /* LP-NonSecure, 1st doorbell */
                 &lt;&amp;mhuB 0 1&gt;; /* LP-NonSecure, 2nd doorbell */
        mbox-names = "tx", "rx";
        shmem = &lt;&amp;cpu_scp_lpri0&gt;,
                &lt;&amp;cpu_scp_lpri1&gt;;

        #address-cells = &lt;1&gt;;
        #size-cells = &lt;0&gt;;

        scmi_devpd: protocol@11 {
            reg = &lt;0x11&gt;;
            #power-domain-cells = &lt;1&gt;;
        };

        scmi_dvfs: protocol@13 {
            reg = &lt;0x13&gt;;
            #clock-cells = &lt;1&gt;;

            mboxes = &lt;&amp;mhuB 1 2&gt;, /* HP-NonSecure, 3rd doorbell */
                     &lt;&amp;mhuB 1 3&gt;; /* HP-NonSecure, 4th doorbell */
            mbox-names = "tx", "rx";
            shmem = &lt;&amp;cpu_scp_hpri0&gt;,
                    &lt;&amp;cpu_scp_hpri1&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>

<p id="dt-comment-1"><strong>Line 31:</strong> <span> We need a select here so we don't match all nodes with 'arm,primecell'</span></p>

<p id="dt-comment-2"><strong>Line 88:</strong> <span> Data transfer mode.</span></p>

<p id="dt-comment-3"><strong>Line 120:</strong> <span> Doorbell mode.</span></p>

</details>

---

# ARM MHUv2 Mailbox Controller

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

> Device-tree binding reference for ARM MHUv2 Mailbox Controller.

<!-- 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;mailbox&#47;arm&#44;mhuv2&#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;Tushar Khandelwal &#60;tushar&#46;khandelwal&#64;arm&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Viresh Kumar &#60;viresh&#46;kumar&#64;linaro&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Arm Message Handling Unit (MHU) Version 2 is a mailbox controller that has
between 1 and 124 channel windows (each 32-bit wide) to provide unidirectional
communication with remote processor(s), where the number of channel windows
are implementation dependent.</p>
<p style="white-space: pre-wrap">Given the unidirectional nature of the controller, an MHUv2 mailbox may only
be written to or read from. If a pair of MHU controllers is implemented
between two processing elements to provide bidirectional communication, these
must be specified as two separate mailboxes.</p>
<p style="white-space: pre-wrap">If the interrupts property is present in device tree node, then its treated as
a "receiver" mailbox, otherwise a "sender".</p>
<p style="white-space: pre-wrap">An MHU controller must be specified along with the supported transport
protocols. The transport protocols determine the method of data transmission
as well as the number of provided mailbox channels.</p>
<p style="white-space: pre-wrap">Following are the possible transport protocols.</p>
<pre><code>- Data-transfer: Each transfer is made of one or more words, using one or more
  channel windows.</code></pre>
<pre><code>- Doorbell: Each transfer is made up of single bit flag, using any one of the
  bits in a channel window. A channel window can support up to 32 doorbells
  and the entire window shall be used in doorbell protocol.  Optionally, data
  may be transmitted through a shared memory region, wherein the MHU is used
  strictly as an interrupt generation mechanism but that is out of the scope
  of these bindings.</code></pre>
</div>

<a id="dt-865ef19e891fb9fe7b15"></a>

## Automatic schema selection (<code>select</code>)

> <a id="dt-54d143fae2406295c883"></a>
>
> ### Properties and child nodes (<code>properties</code>)
>
> <a id="dt-e3400bab629503b08322"></a>
>
> #### <code>compatible</code> — required here
>
> <a id="dt-2ae4f0f9580bb5b2e406"></a>
>
> **Rule for matching array elements (<code>contains</code>)**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-ce9b069a8031ff280c23"></a> <span id="dt-e79f31d4eec3cf736314"><code>&#34;arm&#44;mhuv2&#45;tx&#34;</code></span>, <span id="dt-b228f13d1a3291d89dd4"><code>&#34;arm&#44;mhuv2&#45;rx&#34;</code></span>
>
> **Required in this object (<code>required</code>):** <a id="dt-c7b135d3aebb6d627788"></a> <span id="dt-7b7a89ef483af1198868"><code>&#34;compatible&#34;</code></span>

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

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

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

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

<a id="dt-39566f01414e34c67b85"></a>

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

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

**Rule 1**

> <div id="dt-ab1c3e7063bd95dc962e">
> <p style="white-space: pre-wrap">Sender mode</p>
> </div>
>
> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-5deec2612224d8d915da"><code>&#34;arm&#44;mhuv2&#45;tx&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1da74b37131fdcec1073"><code>&#34;arm&#44;primecell&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <div id="dt-4b64ce44adfe069638c4">
> <p style="white-space: pre-wrap">Receiver-mode</p>
> </div>
>
> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-82dceb5784ff71f5fdf5"><code>&#34;arm&#44;mhuv2&#45;rx&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;arm&#44;primecell&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

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

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

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

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

<div id="dt-b3ddec0f69e9f0c0dc40">
<p style="white-space: pre-wrap">The MHUv2 controller always implements an interrupt in the "receiver"
mode, while the interrupt in the "sender" mode was not available in the
version MHUv2.0, but the later versions do have it.</p>
</div>

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

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

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

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

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

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

<a id="dt-3372b8a873ee856acf4c"></a>

### <code>arm&#44;mhuv2&#45;protocols</code> — required here

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

<div id="dt-e8fa47b9758b4d2e9b6a">
<p style="white-space: pre-wrap">The MHUv2 controller may contain up to 124 channel windows (each 32-bit
wide). The hardware and the DT bindings allows any combination of those to
be used for various transport protocols.</p>
<p style="white-space: pre-wrap">This property allows a platform to describe how these channel windows are
used in various transport protocols. The entries in this property shall be
present as an array of tuples, where each tuple describes details about
one of the transport protocol being implemented over some channel
window(s).</p>
<p style="white-space: pre-wrap">The first field of a tuple signifies the transfer protocol, 0 is reserved
for doorbell protocol, and 1 is reserved for data-transfer protocol.
Using any other value in the first field of a tuple makes it invalid.</p>
<p style="white-space: pre-wrap">The second field of a tuple signifies the number of channel windows where
the protocol would be used and should be set to a non zero value. For
doorbell protocol this field signifies the number of 32-bit channel
windows that implement the doorbell protocol. For data-transfer protocol,
this field signifies the number of 32-bit channel windows that implement
the data-transfer protocol.</p>
<p style="white-space: pre-wrap">The total number of channel windows specified here shouldn't be more than
the ones implemented by the platform, though one can specify lesser number
of windows here than what the platform implements.</p>
<pre><code>mhu: mailbox@2b1f0000 {
    ...</code></pre>
<pre><code>    arm,mhuv2-protocols = &lt;0 2&gt;, &lt;1 1&gt;, &lt;1 5&gt;, &lt;1 7&gt;;
}</code></pre>
<p style="white-space: pre-wrap">The above example defines the protocols of an ARM MHUv2 mailbox
controller, where a total of 15 channel windows are used. The first two
windows are used in doorbell protocol (64 doorbells), followed by 1, 5 and
7 windows (separately) used in data-transfer protocol.</p>
</div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-c7d37678788e5f9fbd4b"><code>1</code></span>

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

<a id="dt-2d0b52e71d064b761f19"></a>

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

> <a id="dt-96319588c17aed7ef830"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-7395abcc5d38e05d630c"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-ce5c74fd2a9ef63fa151"></a> <span id="dt-07acd1a8a9d9728747fa"><code>0</code></span>, <span id="dt-7fa30e2a345ace066337"><code>1</code></span>
>
> <a id="dt-5087dbd7c03f51a4ce1f"></a>
>
> **Item 2**
>
> > **Minimum value (<code>minimum</code>):** <span id="dt-fc905246cce0c9d53d66"><code>0</code></span>
> >
> > **Maximum value (<code>maximum</code>):** <span id="dt-e6c106c7605f329fec5b"><code>124</code></span>

<a id="dt-02ba4fa8955648673731"></a>

### <code>&#35;mbox&#45;cells</code> — required here

<div id="dt-c8db8f9a4474894f1bab">
<p style="white-space: pre-wrap">It is always set to 2. The first argument in the consumers 'mboxes'
property represents the channel window group, which may be used in
doorbell, or data-transfer protocol, and the second argument (only
relevant in doorbell protocol, should be 0 otherwise) represents the
doorbell number within the 32 bit wide channel window.</p>
<p style="white-space: pre-wrap">From the example given above for arm,mhuv2-protocols, here is how a client
node can reference them.</p>
<p style="white-space: pre-wrap">mboxes = &lt;&amp;mhu 0 5&gt;; // Channel Window Group 0, doorbell 5.
mboxes = &lt;&amp;mhu 1 7&gt;; // Channel Window Group 1, doorbell 7.
mboxes = &lt;&amp;mhu 2 0&gt;; // Channel Window Group 2, data transfer protocol with 1 window.
mboxes = &lt;&amp;mhu 3 0&gt;; // Channel Window Group 3, data transfer protocol with 5 windows.
mboxes = &lt;&amp;mhu 4 0&gt;; // Channel Window Group 4, data transfer protocol with 7 windows.</p>
</div>

**Exact value (<code>const</code>):** <span id="dt-35dce2a22cd12b009c30"><code>2</code></span>

<a id="dt-158e3f6339df9dc0e448"></a>

## Condition (<code>if</code>)

> <a id="dt-0c7b6d12024f922c1b96"></a>
>
> ### Properties and child nodes (<code>properties</code>)
>
> <a id="dt-824fdc441f7c94ae56ca"></a>
>
> #### <code>compatible</code> — not listed as required here
>
> <a id="dt-8239149d6c8b0a5dabbe"></a>
>
> **Rule for matching array elements (<code>contains</code>)**
>
> > **Exact value (<code>const</code>):** <span id="dt-0259836b095562054cc8"><code>&#34;arm&#44;mhuv2&#45;rx&#34;</code></span>

<a id="dt-94d3067a06aec87aad7f"></a>

## When the condition matches (<code>then</code>)

> **Required in this object (<code>required</code>):** <a id="dt-824165741bab07e919e7"></a> <span id="dt-0be16f81402541b26aff"><code>&#34;interrupts&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;mbox&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;arm&#44;mhuv2&#45;protocols&#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">soc {
    #address-cells = &lt;2&gt;;
    #size-cells = &lt;2&gt;;

    mhu_tx: mailbox@2b1f0000 {
        #mbox-cells = &lt;2&gt;;
        compatible = "arm,mhuv2-tx", "arm,primecell";
        reg = &lt;0 0x2b1f0000 0 0x1000&gt;;
        clocks = &lt;&amp;clock 0&gt;;
        clock-names = "apb_pclk";
        interrupts = &lt;0 45 4&gt;;
        arm,mhuv2-protocols = &lt;1 5&gt;, &lt;1 2&gt;, &lt;1 5&gt;, &lt;1 7&gt;, &lt;0 2&gt;;
    };

    mhu_rx: mailbox@2b1f1000 {
        #mbox-cells = &lt;2&gt;;
        compatible = "arm,mhuv2-rx", "arm,primecell";
        reg = &lt;0 0x2b1f1000 0 0x1000&gt;;
        clocks = &lt;&amp;clock 0&gt;;
        clock-names = "apb_pclk";
        interrupts = &lt;0 46 4&gt;;
        arm,mhuv2-protocols = &lt;1 1&gt;, &lt;1 7&gt;, &lt;0 2&gt;;
    };

    mhu_client: dsp@596e8000 {
        compatible = "fsl,imx8qxp-dsp";
        reg = &lt;0 0x596e8000 0 0x88000&gt;;
        clocks = &lt;&amp;adma_lpcg 0&gt;, &lt;&amp;adma_lpcg 1&gt;, &lt;&amp;adma_lpcg 2&gt;;
        clock-names = "ipg", "ocram", "core";
        power-domains = &lt;&amp;pd 0&gt;, &lt;&amp;pd 1&gt;;
        mbox-names = "txdb0", "txdb1", "rxdb0", "rxdb1";
        mboxes = &lt;&amp;mhu_tx 2 0&gt;, //data-transfer protocol with 5 windows, mhu-tx
                 &lt;&amp;mhu_tx 3 0&gt;, //data-transfer protocol with 7 windows, mhu-tx
                 &lt;&amp;mhu_rx 2 27&gt;, //doorbell protocol channel 2, doorbell 27, mhu-rx
                 &lt;&amp;mhu_rx 0 0&gt;;  //data-transfer protocol with 1 window, mhu-rx
        memory-region = &lt;&amp;dsp_reserved&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>

<p id="dt-comment-1"><strong>Line 43:</strong> <span> We need a select here so we don't match all nodes with 'arm,primecell'</span></p>

<p id="dt-comment-2"><strong>Line 150:</strong> <span> Interrupt is compulsory for receiver</span></p>

<p id="dt-comment-3"><strong>Line 168:</strong> <span> Multiple transport protocols implemented by the mailbox controllers</span></p>

</details>

---

# ARM MHUv3 Mailbox Controller

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

> Device-tree binding reference for ARM MHUv3 Mailbox Controller.

<!-- 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;mailbox&#47;arm&#44;mhuv3&#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;Sudeep Holla &#60;sudeep&#46;holla&#64;arm&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Cristian Marussi &#60;cristian&#46;marussi&#64;arm&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Arm Message Handling Unit (MHU) Version 3 is a mailbox controller that
enables unidirectional communications with remote processors through various
possible transport protocols.
The controller can optionally support a varying number of extensions that, in
turn, enable different kinds of transport to be used for communication.
Number, type and characteristics of each supported extension can be discovered
dynamically at runtime.</p>
<p style="white-space: pre-wrap">Given the unidirectional nature of the controller, an MHUv3 mailbox controller
is composed of a MHU Sender (MHUS) containing a PostBox (PBX) block and a MHU
Receiver (MHUR) containing a MailBox (MBX) block, where</p>
<pre><code> PBX is used to
    - Configure the MHU
    - Send Transfers to the Receiver
    - Optionally receive acknowledgment of a Transfer from the Receiver</code></pre>
<pre><code> MBX is used to
    - Configure the MHU
    - Receive Transfers from the Sender
    - Optionally acknowledge Transfers sent by the Sender</code></pre>
<p style="white-space: pre-wrap">Both PBX and MBX need to be present and defined in the DT description if you
need to establish a bidirectional communication, since you will have to
acquire two distinct unidirectional channels, one for each block.</p>
<p style="white-space: pre-wrap">As a consequence both blocks needs to be represented separately and specified
as distinct DT nodes in order to properly describe their resources.</p>
<p style="white-space: pre-wrap">Note that, though, thanks to the runtime discoverability, there is no need to
identify the type of blocks with distinct compatibles.</p>
<p style="white-space: pre-wrap">Following are the MHUv3 possible extensions.</p>
<pre><code>- Doorbell Extension (DBE): DBE defines a type of channel called a Doorbell
  Channel (DBCH). DBCH enables a single bit Transfer to be sent from the
  Sender to Receiver. The Transfer indicates that an event has occurred.
  When DBE is implemented, the number of DBCHs that an implementation of the
  MHU can support is between 1 and 128, numbered starting from 0 in ascending
  order and discoverable at run-time.
  Each DBCH contains 32 individual fields, referred to as flags, each of which
  can be used independently. It is possible for the Sender to send multiple
  Transfers at once using a single DBCH, so long as each Transfer uses
  a different flag in the DBCH.
  Optionally, data may be transmitted through an out-of-band shared memory
  region, wherein the MHU Doorbell is used strictly as an interrupt generation
  mechanism, but this is out of the scope of these bindings.</code></pre>
<pre><code>- FastChannel Extension (FCE): FCE defines a type of channel called a Fast
  Channel (FCH). FCH is intended for lower overhead communication between
  Sender and Receiver at the expense of determinism. An FCH allows the Sender
  to update the channel value at any time, regardless of whether the previous
  value has been seen by the Receiver. When the Receiver reads the channel's
  content it gets the last value written to the channel.
  FCH is considered lossy in nature, and means that the Sender has no way of
  knowing if, or when, the Receiver will act on the Transfer.
  FCHs are expected to behave as RAM which generates interrupts when writes
  occur to the locations within the RAM.
  When FCE is implemented, the number of FCHs that an implementation of the
  MHU can support is between 1-1024, if the FastChannel word-size is 32-bits,
  or between 1-512, when the FastChannel word-size is 64-bits.
  FCHs are numbered from 0 in ascending order.
  Note that the number of FCHs and the word-size are implementation defined,
  not configurable but discoverable at run-time.
  Optionally, data may be transmitted through an out-of-band shared memory
  region, wherein the MHU FastChannel is used as an interrupt generation
  mechanism which carries also a pointer to such out-of-band data, but this
  is out of the scope of these bindings.</code></pre>
<pre><code>- FIFO Extension (FE): FE defines a Channel type called a FIFO Channel (FFCH).
  FFCH allows a Sender to send
     - Multiple Transfers to the Receiver without having to wait for the
       previous Transfer to be acknowledged by the Receiver, as long as the
       FIFO has room for the Transfer.
     - Transfers which require the Receiver to provide acknowledgment.
     - Transfers which have in-band payload.
  In all cases, the data is guaranteed to be observed by the Receiver in the
  same order which the Sender sent it.
  When FE is implemented, the number of FFCHs that an implementation of the
  MHU can support is between 1 and 64, numbered starting from 0 in ascending
  order. The number of FFCHs, their depth (same for all implemented FFCHs) and
  the access-granularity are implementation defined, not configurable but
  discoverable at run-time.
  Optionally, additional data may be transmitted through an out-of-band shared
  memory region, wherein the MHU FIFO is used to transmit, in order, a small
  part of the payload (like a header) and a reference to the shared memory
  area holding the remaining, bigger, chunk of the payload, but this is out of
  the scope of these bindings.</code></pre>
</div>

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;arm&#44;mhuv3&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

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

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

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

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

**Minimum number of items (<code>minItems</code>):** <span id="dt-1691b9edf145244244a0"><code>1</code></span>

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

<a id="dt-8aa4fd7705c68de75d2b"></a>

### <code>interrupt&#45;names</code> — required here

<div id="dt-3c9c5232b17bbf88febb">
<p style="white-space: pre-wrap">The MHUv3 controller generates a number of events some of which are used
to generate interrupts; as a consequence it can expose a varying number of
optional PBX/MBX interrupts, representing the events generated during the
operation of the various transport protocols associated with different
extensions. All interrupts of the MHU are level-sensitive.
Some of these optional interrupts are defined per-channel, where the
number of channels effectively available is implementation defined and
run-time discoverable.
In the following names are enumerated using patterns, with per-channel
interrupts implicitly capped at the maximum channels allowed by the
specification for each extension type.
For the sake of simplicity maxItems is anyway capped to a most plausible
number, assuming way less channels would be implemented than actually
possible.</p>
<pre><code>The only mandatory interrupts on the MHU are:
  - combined
  - mbx-fch-xfer-&lt;N&gt; but only if mbx-fcgrp-xfer-&lt;N&gt; is not implemented.</code></pre>
</div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-30089c7b6e408306475b"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-718f7c4b526ed5355ff2"><code>74</code></span>

<a id="dt-77e94e63ca0b20bb5ef1"></a>

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

> <a id="dt-e0b766d7be30927f4483"></a>
>
> **Exactly one of these rules must match (<code>oneOf</code>)**
>
> <a id="dt-80861a13f5c8c72768cc"></a>
>
> **Rule 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-a1433149f3bc33924dcb"><code>&#34;combined&#34;</code></span>
> >
> > <div id="dt-f3732731ccad68e0a991">
> > <p style="white-space: pre-wrap">PBX/MBX Combined interrupt</p>
> > </div>
>
> <a id="dt-2b1f822be8da8477332d"></a>
>
> **Rule 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-4f36f4f40e452f75b5b9"><code>&#34;combined&#45;ffch&#34;</code></span>
> >
> > <div id="dt-5f7eb67dd900af4ecac2">
> > <p style="white-space: pre-wrap">PBX/MBX FIFO Combined interrupt</p>
> > </div>
>
> <a id="dt-cb7c80ea9df505674878"></a>
>
> **Rule 3**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-bc3449256a91ba7469b7"><code>&#34;&#94;ffch&#45;low&#45;tide&#45;&#91;0&#45;9&#93;&#43;&#36;&#34;</code></span>
> >
> > <div id="dt-74b636d7c4fddbccbb85">
> > <p style="white-space: pre-wrap">PBX/MBX FIFO Channel &lt;N&gt; Low Tide interrupt</p>
> > </div>
>
> <a id="dt-0d49e846bbaa59d34c25"></a>
>
> **Rule 4**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-200d71ac54808a409b50"><code>&#34;&#94;ffch&#45;high&#45;tide&#45;&#91;0&#45;9&#93;&#43;&#36;&#34;</code></span>
> >
> > <div id="dt-2d68a75db1203793c694">
> > <p style="white-space: pre-wrap">PBX/MBX FIFO Channel &lt;N&gt; High Tide interrupt</p>
> > </div>
>
> <a id="dt-c1b1d320e94acfe6eeb7"></a>
>
> **Rule 5**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-10604f1fe3cd6a28e0c0"><code>&#34;&#94;ffch&#45;flush&#45;&#91;0&#45;9&#93;&#43;&#36;&#34;</code></span>
> >
> > <div id="dt-354d0e7d2dd22f46fdc8">
> > <p style="white-space: pre-wrap">PBX/MBX FIFO Channel &lt;N&gt; Flush interrupt</p>
> > </div>
>
> <a id="dt-857d5c8bf3f723bf4337"></a>
>
> **Rule 6**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-931324f7be54fd36275c"><code>&#34;&#94;mbx&#45;dbch&#45;xfer&#45;&#91;0&#45;9&#93;&#43;&#36;&#34;</code></span>
> >
> > <div id="dt-bbb6107945923fb8a9ad">
> > <p style="white-space: pre-wrap">MBX Doorbell Channel &lt;N&gt; Transfer interrupt</p>
> > </div>
>
> <a id="dt-73bf2d6eb973e054f010"></a>
>
> **Rule 7**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-37e136915a5307e7afce"><code>&#34;&#94;mbx&#45;fch&#45;xfer&#45;&#91;0&#45;9&#93;&#43;&#36;&#34;</code></span>
> >
> > <div id="dt-03d4c101518a44ddc8c3">
> > <p style="white-space: pre-wrap">MBX FastChannel &lt;N&gt; Transfer interrupt</p>
> > </div>
>
> <a id="dt-ba6137bd553c5257de6a"></a>
>
> **Rule 8**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-29fe878cc69597ae9a31"><code>&#34;&#94;mbx&#45;fchgrp&#45;xfer&#45;&#91;0&#45;9&#93;&#43;&#36;&#34;</code></span>
> >
> > <div id="dt-676430f6e19fc6719d3d">
> > <p style="white-space: pre-wrap">MBX FastChannel &lt;N&gt; Group Transfer interrupt</p>
> > </div>
>
> <a id="dt-61e767256332f33311c8"></a>
>
> **Rule 9**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-7ee3c8cbd196fbf02d5a"><code>&#34;&#94;mbx&#45;ffch&#45;xfer&#45;&#91;0&#45;9&#93;&#43;&#36;&#34;</code></span>
> >
> > <div id="dt-9e75b06f8b276a7c8902">
> > <p style="white-space: pre-wrap">MBX FIFO Channel &lt;N&gt; Transfer interrupt</p>
> > </div>
>
> <a id="dt-60f426958cff50b5adbd"></a>
>
> **Rule 10**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-85d1a8b99175f88ede7b"><code>&#34;&#94;pbx&#45;dbch&#45;xfer&#45;ack&#45;&#91;0&#45;9&#93;&#43;&#36;&#34;</code></span>
> >
> > <div id="dt-56d9b10e1a5f29eb8636">
> > <p style="white-space: pre-wrap">PBX Doorbell Channel &lt;N&gt; Transfer Ack interrupt</p>
> > </div>
>
> <a id="dt-338e8ad0bd0aeffba077"></a>
>
> **Rule 11**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-bca862d84be4030a3da5"><code>&#34;&#94;pbx&#45;ffch&#45;xfer&#45;ack&#45;&#91;0&#45;9&#93;&#43;&#36;&#34;</code></span>
> >
> > <div id="dt-73d0e09d7fa96029a287">
> > <p style="white-space: pre-wrap">PBX FIFO Channel &lt;N&gt; Transfer Ack interrupt</p>
> > </div>

<a id="dt-02ba4fa8955648673731"></a>

### <code>&#35;mbox&#45;cells</code> — required here

<div id="dt-c8db8f9a4474894f1bab">
<p style="white-space: pre-wrap">The first argument in the consumers 'mboxes' property represents the
extension type, the second is for the channel number while the third
depends on extension type.</p>
<p style="white-space: pre-wrap">Extension types constants are defined in &lt;dt-bindings/arm/mhuv3-dt.h&gt;.</p>
<p style="white-space: pre-wrap">Extension type for DBE is DBE_EXT and the third parameter represents the
doorbell flag number to use.
Extension type for FCE is FCE_EXT, third parameter unused.
Extension type for FE is FE_EXT, third parameter unused.</p>
<p style="white-space: pre-wrap">mboxes = &lt;&amp;mhu DBE_EXT 0 5&gt;; // DBE, Doorbell Channel Window 0, doorbell 5.
mboxes = &lt;&amp;mhu DBE_EXT 7&gt;; // DBE, Doorbell Channel Window 1, doorbell 7.
mboxes = &lt;&amp;mhu FCE_EXT 0 0&gt;; // FCE, FastChannel Window 0.
mboxes = &lt;&amp;mhu FCE_EXT 3 0&gt;; // FCE, FastChannel Window 3.
mboxes = &lt;&amp;mhu FE_EXT 1 0&gt;; // FE, FIFO Channel Window 1.
mboxes = &lt;&amp;mhu FE_EXT 7 0&gt;; // FE, FIFO Channel Window 7.</p>
</div>

**Exact value (<code>const</code>):** <span id="dt-35dce2a22cd12b009c30"><code>3</code></span>

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

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

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

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;interrupt&#45;names&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;&#35;mbox&#45;cells&#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;

soc {
    #address-cells = &lt;2&gt;;
    #size-cells = &lt;2&gt;;

    mailbox@2aaa0000 {
        compatible = "arm,mhuv3";
        #mbox-cells = &lt;3&gt;;
        reg = &lt;0 0x2aaa0000 0 0x10000&gt;;
        clocks = &lt;&amp;clock 0&gt;;
        interrupt-names = "combined", "pbx-dbch-xfer-ack-1",
                           "ffch-high-tide-0";
        interrupts = &lt;GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH&gt;,
                     &lt;GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH&gt;;
    };

    mailbox@2ab00000 {
        compatible = "arm,mhuv3";
        #mbox-cells = &lt;3&gt;;
        reg = &lt;0 0x2aab0000 0 0x10000&gt;;
        clocks = &lt;&amp;clock 0&gt;;
        interrupt-names = "combined", "mbx-dbch-xfer-1", "ffch-low-tide-0";
        interrupts = &lt;GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH&gt;,
                     &lt;GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH&gt;,
                     &lt;GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH&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>

---

# ASPEED AST2700 mailbox controller

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

> Device-tree binding reference for ASPEED AST2700 mailbox controller.

<!-- SPDX-License-Identifier: (GPL-2.0 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;mailbox&#47;aspeed&#44;ast2700&#45;mailbox&#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;Jammy Huang &#60;jammy&#95;huang&#64;aspeedtech&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">ASPEED AST2700 has multiple processors that need to communicate with each other. The mailbox controller provides a way for these processors to send messages to each other. It is a hardware-based inter-processor communication mechanism that allows processors to send and receive messages through dedicated channels.
The mailbox's tx/rx are independent, meaning that one processor can send a message while another processor is receiving a message simultaneously. There are 4 channels available for both tx and rx operations. Each channel has a FIFO buffer that can hold messages of a fixed size (32 bytes in this case).
The mailbox controller also supports interrupt generation, allowing processors to notify each other when a message is available or when an event occurs.</p>
</div>

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;aspeed&#44;ast2700&#45;mailbox&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

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

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

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

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

**Item 1**

> <div id="dt-e773fec0b410a1422253">
> <p style="white-space: pre-wrap">TX control register</p>
> </div>

<a id="dt-302751dd79bfd514b9d7"></a>

**Item 2**

> <div id="dt-b729cb065b03c20c0e01">
> <p style="white-space: pre-wrap">RX control register</p>
> </div>

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

### <code>reg&#45;names</code> — required here

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-69afd9f8af3b0c5757d2"><code>&#34;tx&#34;</code></span>

<a id="dt-12013039402717d72b48"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-8472c6e17fb2491b6ba3"><code>&#34;rx&#34;</code></span>

<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-02ba4fa8955648673731"></a>

### <code>&#35;mbox&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-35dce2a22cd12b009c30"><code>1</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;reg&#45;names&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;interrupts&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;&#35;mbox&#45;cells&#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;

mailbox@12c1c200 {
    compatible = "aspeed,ast2700-mailbox";
    reg = &lt;0x12c1c200 0x100&gt;, &lt;0x12c1c300 0x100&gt;;
    reg-names = "tx", "rx";
    interrupts = &lt;GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH&gt;;
    #mbox-cells = &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 OR BSD-2-Clause)</span></p>

</details>

---

# Broadcom BCM2835 VideoCore mailbox IPC

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

> Device-tree binding reference for Broadcom BCM2835 VideoCore mailbox IPC.

<!-- 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;mailbox&#47;brcm&#44;bcm2835&#45;mbox&#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;Stefan Wahren &#60;stefan&#46;wahren&#64;i2se&#46;com&#62;&#34;</code></span>

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;brcm&#44;bcm2835&#45;mbox&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

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

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

<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-02ba4fa8955648673731"></a>

### <code>&#35;mbox&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-35dce2a22cd12b009c30"><code>0</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;mbox&#45;cells&#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">mailbox@7e00b880 {
  compatible = "brcm,bcm2835-mbox";
  reg = &lt;0x7e00b880 0x40&gt;;
  interrupts = &lt;0 1&gt;;
  #mbox-cells = &lt;0&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>

---

# Broadcom BCM74110 Mailbox

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

> Device-tree binding reference for Broadcom BCM74110 Mailbox.

<!-- 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;mailbox&#47;brcm&#44;bcm74110&#45;mbox&#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;Justin Chen &#60;justin&#46;chen&#64;broadcom&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Florian Fainelli &#60;florian&#46;fainelli&#64;broadcom&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Broadcom mailbox hardware first introduced with 74110</p>
</div>

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

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

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

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

**Allowed values (<code>enum</code>):** <a id="dt-207128c21dbd6355c894"></a> <span id="dt-bd234eb96375d77ca611"><code>&#34;brcm&#44;bcm74110&#45;mbox&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

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

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

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

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

<a id="dt-985aed94c3a5de8e946a"></a>

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

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

**Item 1**

> <div id="dt-094ee990c529b33ab668">
> <p style="white-space: pre-wrap">RX doorbell and watermark interrupts</p>
> </div>

<a id="dt-14fdf3275cf454d3c593"></a>

**Item 2**

> <div id="dt-f26fcb0c97f34db34fe4">
> <p style="white-space: pre-wrap">TX doorbell and watermark interrupts</p>
> </div>

<a id="dt-02ba4fa8955648673731"></a>

### <code>&#35;mbox&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-35dce2a22cd12b009c30"><code>2</code></span>

<div id="dt-c8db8f9a4474894f1bab">
<p style="white-space: pre-wrap">The first cell is channel type and second cell is shared memory slot</p>
</div>

<a id="dt-403a84277d727a866a14"></a>

### <code>brcm&#44;rx</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1a99c7e5e54063e63840">[<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-4ddd21ec35c84be98d7a">
<p style="white-space: pre-wrap">RX Mailbox number</p>
</div>

<a id="dt-9803c43ff94cd7479e87"></a>

### <code>brcm&#44;tx</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-dc7e27f7f99cd76981ff">[<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-337414878fe68dba6014">
<p style="white-space: pre-wrap">TX Mailbox number</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;mbox&#45;cells&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;brcm&#44;rx&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;brcm&#44;tx&#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/irq.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;

mailbox@a552000 {
    compatible = "brcm,bcm74110-mbox";
    reg = &lt;0xa552000 0x1104&gt;;
    interrupts = &lt;GIC_SPI 0x67 IRQ_TYPE_LEVEL_HIGH&gt;,
                 &lt;GIC_SPI 0x66 IRQ_TYPE_LEVEL_HIGH&gt;;
    #mbox-cells = &lt;0x2&gt;;
    brcm,rx = &lt;0x7&gt;;
    brcm,tx = &lt;0x6&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>

---

# Broadcom FlexRM Ring Manager

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

> Device-tree binding reference for Broadcom FlexRM Ring Manager.

<!-- 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;mailbox&#47;brcm&#44;iproc&#45;flexrm&#45;mbox&#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;Ray Jui &#60;rjui&#64;broadcom&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Scott Branden &#60;sbranden&#64;broadcom&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Broadcom FlexRM ring manager provides a set of rings which can be used to submit work to offload engines. An SoC may have multiple FlexRM hardware blocks. There is one device tree entry per FlexRM block. The FlexRM driver will create a mailbox-controller instance for given FlexRM hardware block where each mailbox channel is a separate FlexRM ring.</p>
</div>

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;brcm&#44;iproc&#45;flexrm&#45;mbox&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

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

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

<a id="dt-7f9784704b6acffabda3"></a>

### <code>msi&#45;parent</code> — required here

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

<a id="dt-02ba4fa8955648673731"></a>

### <code>&#35;mbox&#45;cells</code> — required here

<div id="dt-c8db8f9a4474894f1bab">
<p style="white-space: pre-wrap">The 1st cell is the mailbox channel number.
The 2nd cell contains MSI completion threshold. This is the number of completion messages for which FlexRM will inject one MSI interrupt to CPU.
The 3rd cell contains MSI timer value representing time for which FlexRM will wait to accumulate N completion messages where N is the value specified by 2nd cell above. If FlexRM does not get required number of completion messages in time specified by this cell then it will inject one MSI interrupt to CPU provided at least one completion message is available.</p>
</div>

**Exact value (<code>const</code>):** <span id="dt-35dce2a22cd12b009c30"><code>3</code></span>

<a id="dt-4603ee192633e8dffc49"></a>

### <code>dma&#45;coherent</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;msi&#45;parent&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;mbox&#45;cells&#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">mailbox@67000000 {
    compatible = "brcm,iproc-flexrm-mbox";
    reg = &lt;0x67000000 0x200000&gt;;
    msi-parent = &lt;&amp;gic_its 0x7f00&gt;;
    #mbox-cells = &lt;3&gt;;
    dma-coherent;
};
</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>

---

# Broadcom iProc PDC mailbox

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

> Device-tree binding reference for Broadcom iProc PDC mailbox.

<!-- 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;mailbox&#47;brcm&#44;iproc&#45;pdc&#45;mbox&#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;Ray Jui &#60;rjui&#64;broadcom&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Scott Branden &#60;sbranden&#64;broadcom&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The PDC driver manages data transfer to and from various offload engines on some Broadcom SoCs. An SoC may have multiple PDC hardware blocks. There is one device tree entry per block. On some chips, the PDC functionality is handled by the FA2 (Northstar Plus).</p>
</div>

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

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

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

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

**Allowed values (<code>enum</code>):** <a id="dt-207128c21dbd6355c894"></a> <span id="dt-bd234eb96375d77ca611"><code>&#34;brcm&#44;iproc&#45;pdc&#45;mbox&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;brcm&#44;iproc&#45;fa2&#45;mbox&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

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

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

<a id="dt-4603ee192633e8dffc49"></a>

### <code>dma&#45;coherent</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<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-02ba4fa8955648673731"></a>

### <code>&#35;mbox&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-35dce2a22cd12b009c30"><code>1</code></span>

<a id="dt-61d123fe694973883ccb"></a>

### <code>brcm&#44;rx&#45;status&#45;len</code> — required here

<div id="dt-e5327063f242fc7eb94e">
<p style="white-space: pre-wrap">Length of metadata preceding received frames, in bytes.</p>
</div>

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

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

### <code>brcm&#44;use&#45;bcm&#45;hdr</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-56bfa14d376ad665649a"><code>&#34;boolean&#34;</code></span>

<div id="dt-43e23548f0b61596f1fb">
<p style="white-space: pre-wrap">Present if a BCM header precedes each frame.</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;mbox&#45;cells&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;brcm&#44;rx&#45;status&#45;len&#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;

mailbox0@612c0000 {
    compatible = "brcm,iproc-pdc-mbox";
    reg = &lt;0x612c0000 0x445&gt;;
    interrupts = &lt;GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH&gt;;
    #mbox-cells = &lt;1&gt;;
    brcm,rx-status-len = &lt;32&gt;;
    brcm,use-bcm-hdr;
};
</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>

---

# Cixtech mailbox controller

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

> Device-tree binding reference for Cixtech mailbox controller.

<!-- SPDX-License-Identifier: (GPL-2.0 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;mailbox&#47;cix&#44;sky1&#45;mbox&#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;Guomin Chen &#60;Guomin&#46;Chen&#64;cixtech&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Cixtech mailbox controller, used in the Cixtech Sky1 SoC, is used for message transmission between multiple processors within the SoC, such as the AP, PM, audio DSP, SensorHub MCU, and others
Each Cixtech mailbox controller is unidirectional, so they are typically used in pairs-one for receiving and one for transmitting.
Each Cixtech mailbox supports 11 channels with different transmission modes channel 0-7 - Fast channel with 32bit transmit register and IRQ support channel 8   - Doorbell mode,using the mailbox as an interrupt-generating mechanism. channel 9   - Fifo based channel with 32*32bit depth fifo and IRQ support channel 10  - Reg based channel with 32*32bit transmit register and Doorbell+transmit acknowledgment IRQ support
In the CIX Sky1 SoC use case, there are 4 pairs of mailbox controllers AP &lt;--&gt; PM - using Doorbell transfer mode AP &lt;--&gt; SE - using REG transfer mode AP &lt;--&gt; DSP - using FIFO transfer mode AP &lt;--&gt; SensorHub - using FIFO transfer mode</p>
</div>

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;cix&#44;sky1&#45;mbox&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

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

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

<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-02ba4fa8955648673731"></a>

### <code>&#35;mbox&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-35dce2a22cd12b009c30"><code>1</code></span>

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

### <code>cix&#44;mbox&#45;dir</code> — required here

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

<div id="dt-fe8688a7f1c79fa7f47e">
<p style="white-space: pre-wrap">Direction of the mailbox relative to the AP</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-84dfede5c460db3ca237"></a> <span id="dt-7d757b731865fffa8b4f"><code>&#34;tx&#34;</code></span>, <span id="dt-0e17e6f9ee0d0452d6cb"><code>&#34;rx&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;mbox&#45;cells&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;cix&#44;mbox&#45;dir&#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;

soc {
    #address-cells = &lt;2&gt;;
    #size-cells = &lt;2&gt;;

    mbox_ap2pm: mailbox@30000000 {
        compatible = "cix,sky1-mbox";
        reg = &lt;0 0x30000000 0 0x10000&gt;;
        interrupts = &lt;GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH 0&gt;;
        #mbox-cells = &lt;1&gt;;
        cix,mbox-dir = "tx";
    };
};
</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 OR BSD-2-Clause)</span></p>

</details>

---

# NXP i.MX Messaging Unit (MU)

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

> Device-tree binding reference for NXP i.MX Messaging Unit (MU).

<!-- 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;mailbox&#47;fsl&#44;mu&#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;Dong Aisheng &#60;aisheng&#46;dong&#64;nxp&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Messaging Unit module enables two processors within the SoC to
communicate and coordinate by passing messages (e.g. data, status
and control) through the MU interface. The MU also provides the ability
for one processor to signal the other processor using interrupts.</p>
<p style="white-space: pre-wrap">Because the MU manages the messaging between processors, the MU uses
different clocks (from each side of the different peripheral buses).
Therefore, the MU must synchronize the accesses from one side to the
other. The MU accomplishes synchronization using two sets of matching
registers (Processor A-facing, Processor B-facing).</p>
</div>

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

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

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

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

<a id="dt-39566f01414e34c67b85"></a>

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

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

**Rule 1**

> **Exact value (<code>const</code>):** <span id="dt-d1fe1b456a54b64074d3"><code>&#34;fsl&#44;imx6sx&#45;mu&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> **Exact value (<code>const</code>):** <span id="dt-58a429cd4bf531951c0d"><code>&#34;fsl&#44;imx7ulp&#45;mu&#34;</code></span>

<a id="dt-39cb5b72c94e12bd53ea"></a>

**Rule 3**

> **Exact value (<code>const</code>):** <span id="dt-710bc579d54b8b6b1f6c"><code>&#34;fsl&#44;imx8ulp&#45;mu&#34;</code></span>

<a id="dt-61219c29f99de6d21702"></a>

**Rule 4**

> **Exact value (<code>const</code>):** <span id="dt-bb8aa9a35453860e510c"><code>&#34;fsl&#44;imx8&#45;mu&#45;scu&#34;</code></span>

<a id="dt-6932ba24e194ea67730d"></a>

**Rule 5**

> **Exact value (<code>const</code>):** <span id="dt-db09842262b0bfa9d4c5"><code>&#34;fsl&#44;imx8&#45;mu&#45;seco&#34;</code></span>

<a id="dt-264a99ec2691e9f8d8d2"></a>

**Rule 6**

> **Exact value (<code>const</code>):** <span id="dt-c300a8811f2c7ccc81ad"><code>&#34;fsl&#44;imx8ulp&#45;mu&#45;s4&#34;</code></span>

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

**Rule 7**

> **Exact value (<code>const</code>):** <span id="dt-2ac514c95c227d8b07a6"><code>&#34;fsl&#44;imx93&#45;mu&#45;s4&#34;</code></span>

<a id="dt-60b24f68de01e59cfd70"></a>

**Rule 8**

> **Exact value (<code>const</code>):** <span id="dt-27c8ffe3d76e28ae72d6"><code>&#34;fsl&#44;imx95&#45;mu&#34;</code></span>

<a id="dt-840363fe85852843a5d5"></a>

**Rule 9**

> **Exact value (<code>const</code>):** <span id="dt-bec40614635fcd46f2cb"><code>&#34;fsl&#44;imx95&#45;mu&#45;ele&#34;</code></span>

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

**Rule 10**

> **Exact value (<code>const</code>):** <span id="dt-02326b96b5c4be808cd1"><code>&#34;fsl&#44;imx95&#45;mu&#45;v2x&#34;</code></span>

<a id="dt-9e5b336e2f404d465807"></a>

**Rule 11**

> <a id="dt-faea6b3b07a11a6b4fc5"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-891c5ab1bad141abef42"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-21f911a0ae61278054c4"><code>&#34;fsl&#44;imx93&#45;mu&#34;</code></span>
>
> <a id="dt-3e9fd6c1b10a37d78f8c"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-dd5ef2a516845eddf09e"><code>&#34;fsl&#44;imx8ulp&#45;mu&#34;</code></span>

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

**Rule 12**

> <a id="dt-33109fc49d56b91832ce"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-7eb532f222d132c85283"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-d736cf8e3c0a5c51bf0a"></a> <span id="dt-70f66d9bf2d16054e64e"><code>&#34;fsl&#44;imx7s&#45;mu&#34;</code></span>, <span id="dt-9e24b832e4bf5e72b184"><code>&#34;fsl&#44;imx8mq&#45;mu&#34;</code></span>, <span id="dt-670dbf9bf78183b4d4ba"><code>&#34;fsl&#44;imx8mm&#45;mu&#34;</code></span>, <span id="dt-79d85a551f2109b8eee2"><code>&#34;fsl&#44;imx8mn&#45;mu&#34;</code></span>, <span id="dt-2000cae9ca47e155db21"><code>&#34;fsl&#44;imx8mp&#45;mu&#34;</code></span>, <span id="dt-a1da489e5b346b47e233"><code>&#34;fsl&#44;imx8qm&#45;mu&#34;</code></span>, <span id="dt-792a3b08fe22c54a6415"><code>&#34;fsl&#44;imx8qxp&#45;mu&#34;</code></span>
>
> <a id="dt-953f1fb32cd13a07ca2d"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-e3078a6c8c34cce23f8c"><code>&#34;fsl&#44;imx6sx&#45;mu&#34;</code></span>

<a id="dt-6d942b3e5c7b6045d73a"></a>

**Rule 13**

> <div id="dt-e79316e4e832974191f5">
> <p style="white-space: pre-wrap">To communicate with i.MX8 SCU with fast IPC</p>
> </div>
>
> <a id="dt-7d7d49b152c4307412c9"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-699ce4b8788bb023fb82"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-ad2254d823c757442fde"><code>&#34;fsl&#44;imx8&#45;mu&#45;scu&#34;</code></span>
>
> <a id="dt-7c595c2f962b766708fe"></a>
>
> **Item 2**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-5bd56ec9612b2fdeaa82"></a> <span id="dt-f870440a74a0e94e8711"><code>&#34;fsl&#44;imx8qm&#45;mu&#34;</code></span>, <span id="dt-8428a50f4912b981b23e"><code>&#34;fsl&#44;imx8qxp&#45;mu&#34;</code></span>
>
> <a id="dt-f7112c388f0614077143"></a>
>
> **Item 3**
>
> > **Exact value (<code>const</code>):** <span id="dt-6029e02e87a312ae63f8"><code>&#34;fsl&#44;imx6sx&#45;mu&#34;</code></span>

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

**Rule 14**

> <a id="dt-c09f524cba0eac1fe1b5"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-28b2780838c7376d177c"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-708ff26f2dc9d64525bb"></a> <span id="dt-a782d840925fa35d8c04"><code>&#34;fsl&#44;imx94&#45;mu&#34;</code></span>
>
> <a id="dt-1384db688f3c012fd714"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-a7baf6f9d04ca812eb39"><code>&#34;fsl&#44;imx95&#45;mu&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

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

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

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

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

**Minimum number of items (<code>minItems</code>):** <span id="dt-1691b9edf145244244a0"><code>1</code></span>

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

<a id="dt-8aa4fd7705c68de75d2b"></a>

### <code>interrupt&#45;names</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-30089c7b6e408306475b"><code>1</code></span>

<a id="dt-77e94e63ca0b20bb5ef1"></a>

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

<a id="dt-1198ecbdbe49337cf73e"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-7f7686a533ef09dda0b1"><code>&#34;tx&#34;</code></span>

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

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-5af1964d23a153c89b8a"><code>&#34;rx&#34;</code></span>

<a id="dt-02ba4fa8955648673731"></a>

### <code>&#35;mbox&#45;cells</code> — required here

<div id="dt-c8db8f9a4474894f1bab">
<p style="white-space: pre-wrap">&lt;&amp;phandle type channel&gt;
phandle   : Label name of controller
type      : Channel type
channel   : Channel number</p>
<pre><code>This MU support 6 type of unidirectional channels, each type
has 4 channels except RST channel which only has 1 channel.
A total of 21 channels.  Following types are
supported:
0 - TX channel with 32bit transmit register and IRQ transmit
    acknowledgment support.
1 - RX channel with 32bit receive register and IRQ support
2 - TX doorbell channel. Without own register and no ACK support.
3 - RX doorbell channel.
4 - RST channel
5 - Tx doorbell channel. With S/W ACK from the other side.</code></pre>
</div>

**Exact value (<code>const</code>):** <span id="dt-35dce2a22cd12b009c30"><code>2</code></span>

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

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

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

<a id="dt-9ffc6665e1ff914fa164"></a>

### <code>fsl&#44;mu&#45;side&#45;b</code> — not listed as required here

<div id="dt-4f93b9d94f7da18730bd">
<p style="white-space: pre-wrap">boolean, if present, means it is for side B MU.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-b62cdd846eec09bcd823"><code>&#34;boolean&#34;</code></span>

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — not listed as required here

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

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

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

<code>true</code> — No constraints added by this property rule.

<a id="dt-2efe70314a961a652abe"></a>

### <code>&#35;address&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-e6e6af09ab617572731b"><code>1</code></span>

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

### <code>&#35;size&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-793e842f88ef513a8f93"><code>1</code></span>

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

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-1080054300ddb0f9a70c"></a>

### <code>&#94;sram&#64;&#91;a&#45;f0&#45;9&#93;&#43;</code> — name matches this regular expression

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

<a id="dt-88de03c200031c119555"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;mbox&#45;cells&#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>)
>
> > <a id="dt-97f47e9dc804c839f86d"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-bbadeeb73dfaefabae79"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > **Allowed values (<code>enum</code>):** <a id="dt-867fe1927430e9b33ede"></a> <span id="dt-7226965ee25a457638c7"><code>&#34;fsl&#44;imx93&#45;mu&#45;s4&#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-c34ab5a282220afd648a"></a>
> >
> > **<code>interrupt&#45;names</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-962544ecf52606cd6d6e"><code>2</code></span>
> >
> > <a id="dt-7787b28725c144fbfc92"></a>
> >
> > **<code>interrupts</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-434103e5dab0dc9821c6"><code>2</code></span>
>
> <a id="dt-f985d6aaa3f73a650205"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-0b56c96a40292905ded0"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-c67bbe72af985902ec8f"></a>
> >
> > **<code>interrupts</code> — not listed as required here**
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-1acbcc4149f500ebfc36"><code>1</code></span>
> >
> > <a id="dt-ed629b4bf137024f02fb"></a>
> >
> > **This rule must not match (<code>not</code>)**
> >
> > > **Required in this object (<code>required</code>):** <a id="dt-3a0d1beeb24e91979581"></a> <span id="dt-8f66915696c3e76d2597"><code>&#34;interrupt&#45;names&#34;</code></span>

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

### Rule 2

> <a id="dt-ffbf5afb799d5f07b3e1"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-1f5272cb1d084137975e"></a>
> >
> > **This rule must not match (<code>not</code>)**
> >
> > > <a id="dt-eebbb9d41b21f12566d7"></a>
> > >
> > > **Properties and child nodes (<code>properties</code>)**
> > >
> > > <a id="dt-6aeb4c84797e4c678f3d"></a>
> > >
> > > **<code>compatible</code> — not listed as required here**
> > >
> > > <a id="dt-80145746a4351c4efa1b"></a>
> > >
> > > **Rule for matching array elements (<code>contains</code>)**
> > >
> > > > **Exact value (<code>const</code>):** <span id="dt-36a35d0b3eb4ef922a1c"><code>&#34;fsl&#44;imx95&#45;mu&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-8b91e530d80f7cc46df3"></a>
> >
> > **Properties matching a name pattern (<code>patternProperties</code>)**
> >
> > <a id="dt-b97ad8b31e550a2af741"></a>
> >
> > **<code>&#94;sram&#64;&#91;a&#45;f0&#45;9&#93;&#43;</code> — name matches this regular expression**
> >
> > <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;

mailbox@5d1b0000 {
    compatible = "fsl,imx8qxp-mu", "fsl,imx6sx-mu";
    reg = &lt;0x5d1b0000 0x10000&gt;;
    interrupts = &lt;GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH&gt;;
    #mbox-cells = &lt;2&gt;;
};
</code></pre>

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

mailbox@445b0000 {
    compatible = "fsl,imx95-mu";
    reg = &lt;0x445b0000 0x10000&gt;;
    ranges;
    interrupts = &lt;GIC_SPI 226 IRQ_TYPE_LEVEL_HIGH&gt;;
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;1&gt;;
    #mbox-cells = &lt;2&gt;;

    sram@445b1000 {
        compatible = "mmio-sram";
        reg = &lt;0x445b1000 0x400&gt;;
        ranges = &lt;0x0 0x445b1000 0x400&gt;;
        #address-cells = &lt;1&gt;;
        #size-cells = &lt;1&gt;;

        scmi-sram-section@0 {
            compatible = "arm,scmi-shmem";
            reg = &lt;0x0 0x80&gt;;
        };

        scmi-sram-section@80 {
            compatible = "arm,scmi-shmem";
            reg = &lt;0x80 0x80&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>

---

# Samsung Exynos Mailbox Controller

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

> Device-tree binding reference for Samsung Exynos Mailbox Controller.

<!-- 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;mailbox&#47;google&#44;gs101&#45;mbox&#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;Tudor Ambarus &#60;tudor&#46;ambarus&#64;linaro&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Samsung Exynos mailbox controller, used on Google GS101 SoC, has 16 flag bits for hardware interrupt generation and a shared register for passing mailbox messages. When the controller is used by the ACPM interface the shared register is ignored and the mailbox controller acts as a doorbell. The controller just raises the interrupt to the firmware after the ACPM interface has written the message to SRAM.</p>
</div>

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;google&#44;gs101&#45;mbox&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

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

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

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

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

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

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;pclk&#34;</code></span>

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

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

<div id="dt-b3ddec0f69e9f0c0dc40">
<p style="white-space: pre-wrap">IRQ line for the RX mailbox.</p>
</div>

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

<a id="dt-02ba4fa8955648673731"></a>

### <code>&#35;mbox&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-35dce2a22cd12b009c30"><code>0</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;clocks&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;interrupts&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;&#35;mbox&#45;cells&#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/clock/google,gs101.h&gt;

soc {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;1&gt;;

    ap2apm_mailbox: mailbox@17610000 {
        compatible = "google,gs101-mbox";
        reg = &lt;0x17610000 0x1000&gt;;
        clocks = &lt;&amp;cmu_apm CLK_GOUT_APM_MAILBOX_APM_AP_PCLK&gt;;
        clock-names = "pclk";
        interrupts = &lt;GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH 0&gt;;
        #mbox-cells = &lt;0&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>

<p id="dt-comment-1"><strong>Line 2:</strong> <span> Copyright 2024 Linaro Ltd.</span></p>

</details>

---

# Marvell Armada 3700 rWTM Mailbox

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

> Device-tree binding reference for Marvell Armada 3700 rWTM Mailbox.

<!-- 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;mailbox&#47;marvell&#44;armada&#45;3700&#45;rwtm&#45;mailbox&#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;Marek Behún &#60;kabel&#64;kernel&#46;org&#62;&#34;</code></span>

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;marvell&#44;armada&#45;3700&#45;rwtm&#45;mailbox&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

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

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

<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-02ba4fa8955648673731"></a>

### <code>&#35;mbox&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-35dce2a22cd12b009c30"><code>1</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;mbox&#45;cells&#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;

mailbox@b0000 {
    compatible = "marvell,armada-3700-rwtm-mailbox";
    reg = &lt;0xb0000 0x100&gt;;
    interrupts = &lt;GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH&gt;;
    #mbox-cells = &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>

---

# Mediatek Global Command Engine Mailbox

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

> Device-tree binding reference for Mediatek Global Command Engine Mailbox.

<!-- 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;mailbox&#47;mediatek&#44;gce&#45;mailbox&#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;Houlong Wei &#60;houlong&#46;wei&#64;mediatek&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Global Command Engine (GCE) is used to help read/write registers with critical time limitation, such as updating display configuration during the vblank. The GCE can be used to implement the Command Queue (CMDQ) driver.</p>
</div>

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

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

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

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

<a id="dt-39566f01414e34c67b85"></a>

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

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

**Rule 1**

> **Allowed values (<code>enum</code>):** <a id="dt-617e1a2040e2496013d4"></a> <span id="dt-c31075c43df89b2793e3"><code>&#34;mediatek&#44;mt6779&#45;gce&#34;</code></span>, <span id="dt-44b402f75e7bf3caf313"><code>&#34;mediatek&#44;mt8173&#45;gce&#34;</code></span>, <span id="dt-f03e1478792ca587ff5c"><code>&#34;mediatek&#44;mt8183&#45;gce&#34;</code></span>, <span id="dt-34cab0afbb7f2b55efc5"><code>&#34;mediatek&#44;mt8186&#45;gce&#34;</code></span>, <span id="dt-d29c3f554eb9a606c63a"><code>&#34;mediatek&#44;mt8188&#45;gce&#34;</code></span>, <span id="dt-6abdfa16ccd722b794e6"><code>&#34;mediatek&#44;mt8192&#45;gce&#34;</code></span>, <span id="dt-7775c6eae6cdca3e9809"><code>&#34;mediatek&#44;mt8195&#45;gce&#34;</code></span>, <span id="dt-9727c2c60e912d553bb7"><code>&#34;mediatek&#44;mt8196&#45;gce&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-82dceb5784ff71f5fdf5"><code>&#34;mediatek&#44;mt6795&#45;gce&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;mediatek&#44;mt8173&#45;gce&#34;</code></span>

<a id="dt-02ba4fa8955648673731"></a>

### <code>&#35;mbox&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-35dce2a22cd12b009c30"><code>2</code></span>

<div id="dt-c8db8f9a4474894f1bab">
<p style="white-space: pre-wrap">The first cell describes the Thread ID of the GCE, the second cell describes the priority of the GCE thread</p>
</div>

<a id="dt-9c1635fdb65d87e33d77"></a>

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

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

<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-4e9a371963ac013ad39d"></a>

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

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

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

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">Global Command Engine clock</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

<a id="dt-3d1de59bdfddccf00eed"></a>

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;gce&#34;</code></span>

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

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

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

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;&#35;mbox&#45;cells&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;reg&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;interrupts&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clocks&#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/clock/mt8173-clk.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
#include &lt;dt-bindings/interrupt-controller/irq.h&gt;

soc {
    #address-cells = &lt;2&gt;;
    #size-cells = &lt;2&gt;;

    gce: mailbox@10212000 {
        compatible = "mediatek,mt8173-gce";
        reg = &lt;0 0x10212000 0 0x1000&gt;;
        interrupts = &lt;GIC_SPI 135 IRQ_TYPE_LEVEL_LOW&gt;;
        #mbox-cells = &lt;2&gt;;
        clocks = &lt;&amp;infracfg CLK_INFRA_GCE&gt;;
        clock-names = "gce";
    };
};
</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>

---

# MediaTek Global Command Engine Common Properties

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

> Device-tree binding reference for MediaTek Global Command Engine Common Properties.

<!-- 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;mailbox&#47;mediatek&#44;gce&#45;props&#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;Houlong Wei &#60;houlong&#46;wei&#64;mediatek&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Global Command Engine (GCE) is an instruction based, multi-threaded, single-core command dispatcher for MediaTek hardware. The Command Queue (CMDQ) mailbox driver is a driver for GCE, implemented using the Linux mailbox framework. It is used to receive messages from mailbox consumers and configure GCE to execute the specified instruction set in the message. We use mediatek,gce-mailbox.yaml to define the properties for CMDQ mailbox driver. A device driver that uses the CMDQ driver to configure its hardware registers is a mailbox consumer. The mailbox consumer can request a mailbox channel corresponding to a GCE hardware thread to send a message, specifying that the GCE thread to configure its hardware. The mailbox provider can also reserve a mailbox channel to configure GCE hardware register by the specific GCE thread. This binding defines the common GCE properties for both mailbox provider and consumers.</p>
</div>

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

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

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

### <code>mediatek&#44;gce&#45;events</code> — not listed as required here

<div id="dt-a5c7360ed4305fd55a50">
<p style="white-space: pre-wrap">GCE has an event table in SRAM, consisting of 1024 event IDs (0~1023). Each event ID has a boolean event value with the default value 0. The property mediatek,gce-events is used to obtain the event IDs. Some gce-events are hardware-bound and cannot be changed by software. For instance, in MT8195, when VDO0_MUTEX is stream done, VDO_MUTEX will send an event signal to GCE, setting the value of event ID 597 to 1. Similarly, in MT8188, the value of event ID 574 will be set to 1 when VOD0_MUTEX is stream done. On the other hand, some gce-events are not hardware-bound and can be changed by software. For example, in MT8188, we can set the value of event ID 855, which is not bound to any hardware, to 1 when the driver in the secure world completes a task. However, in MT8195, event ID 855 is already bound to VDEC_LAT1, so we need to select another event ID to achieve the same purpose. This event ID can be any ID that is not bound to any hardware and is not yet used in any software driver. To determine if the event ID is bound to the hardware or used by a software driver, refer to the GCE header include/dt-bindings/gce/&lt;chip&gt;-gce.h of each chip.</p>
</div>

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

**Minimum number of items (<code>minItems</code>):** <span id="dt-3947be375a408bf62c01"><code>1</code></span>

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

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

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

<code>true</code>

Allowed by this rule.

## 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>

---

# MediaTek MFlexGraphics GPUEB Mailbox Controller

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

> Device-tree binding reference for MediaTek MFlexGraphics GPUEB Mailbox Controller.

<!-- 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;mailbox&#47;mediatek&#44;mt8196&#45;gpueb&#45;mbox&#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;Nicolas Frattaroli &#60;nicolas&#46;frattaroli&#64;collabora&#46;com&#62;&#34;</code></span>

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

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

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

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

**Allowed values (<code>enum</code>):** <a id="dt-207128c21dbd6355c894"></a> <span id="dt-bd234eb96375d77ca611"><code>&#34;mediatek&#44;mt8196&#45;gpueb&#45;mbox&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

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

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

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

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

**Item 1**

> <div id="dt-e773fec0b410a1422253">
> <p style="white-space: pre-wrap">mailbox data registers</p>
> </div>

<a id="dt-302751dd79bfd514b9d7"></a>

**Item 2**

> <div id="dt-b729cb065b03c20c0e01">
> <p style="white-space: pre-wrap">mailbox control registers</p>
> </div>

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

### <code>reg&#45;names</code> — required here

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-69afd9f8af3b0c5757d2"><code>&#34;data&#34;</code></span>

<a id="dt-12013039402717d72b48"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-8472c6e17fb2491b6ba3"><code>&#34;ctl&#34;</code></span>

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

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

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

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

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">main clock of the GPUEB MCU</p>
> </div>

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

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

<a id="dt-985aed94c3a5de8e946a"></a>

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

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

**Item 1**

> <div id="dt-094ee990c529b33ab668">
> <p style="white-space: pre-wrap">fires when a new message is received</p>
> </div>

<a id="dt-02ba4fa8955648673731"></a>

### <code>&#35;mbox&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-35dce2a22cd12b009c30"><code>1</code></span>

<div id="dt-c8db8f9a4474894f1bab">
<p style="white-space: pre-wrap">The number of the mailbox channel.</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;reg&#45;names&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;interrupts&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;&#35;mbox&#45;cells&#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/clock/mediatek,mt8196-clock.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
#include &lt;dt-bindings/interrupt-controller/irq.h&gt;

mailbox@4b09fd80 {
    compatible = "mediatek,mt8196-gpueb-mbox";
    reg = &lt;0x4b09fd80 0x280&gt;,
          &lt;0x4b170000 0x7c&gt;;
    reg-names = "data", "ctl";
    clocks = &lt;&amp;topckgen CLK_TOP_MFG_EB&gt;;
    interrupts = &lt;GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH 0&gt;;
    #mbox-cells = &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>

---

# MediaTek Video Companion Processor (VCP) mailbox

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

> Device-tree binding reference for MediaTek Video Companion Processor (VCP) mailbox.

<!-- 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;mailbox&#47;mediatek&#44;mt8196&#45;vcp&#45;mbox&#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;Jjian Zhou &#60;Jjian&#46;Zhou&#64;mediatek&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The MTK VCP mailbox enables the SoC to communicate with the VCP by passing messages through 64 32-bit wide registers. It has 32 interrupt vectors in either direction for signalling purposes.</p>
</div>

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

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

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

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

**Allowed values (<code>enum</code>):** <a id="dt-207128c21dbd6355c894"></a> <span id="dt-bd234eb96375d77ca611"><code>&#34;mediatek&#44;mt8196&#45;vcp&#45;mbox&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

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

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

<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-02ba4fa8955648673731"></a>

### <code>&#35;mbox&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-35dce2a22cd12b009c30"><code>0</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;mbox&#45;cells&#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/interrupt-controller/irq.h&gt;

mailbox@31b80000 {
    compatible = "mediatek,mt8196-vcp-mbox";
    reg = &lt;0x31b80000 0x1000&gt;;
    interrupts = &lt;GIC_SPI 789 IRQ_TYPE_LEVEL_HIGH 0&gt;;
    #mbox-cells = &lt;0&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>

---

# Microchip PolarFire SoC (MPFS) MSS (microprocessor subsystem) mailbox controller

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

> Device-tree binding reference for Microchip PolarFire SoC (MPFS) MSS (microprocessor subsystem) mailbox controller.

<!-- 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;mailbox&#47;microchip&#44;mpfs&#45;mailbox&#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;Conor Dooley &#60;conor&#46;dooley&#64;microchip&#46;com&#62;&#34;</code></span>

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

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

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

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

<a id="dt-39566f01414e34c67b85"></a>

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

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

**Rule 1**

> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-5deec2612224d8d915da"><code>&#34;microchip&#44;pic64gx&#45;mailbox&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1da74b37131fdcec1073"><code>&#34;microchip&#44;mpfs&#45;mailbox&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> **Exact value (<code>const</code>):** <span id="dt-58a429cd4bf531951c0d"><code>&#34;microchip&#44;mpfs&#45;mailbox&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

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

<a id="dt-801f7d487c42b86b5f7d"></a>

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

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

**Rule 1**

> <a id="dt-a152c07baf7d68dede0b"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-3d0154060929c4dd4704"></a>
>
> **Item 1**
>
> > <div id="dt-de2bf2d1b533cb543e49">
> > <p style="white-space: pre-wrap">mailbox data registers</p>
> > </div>

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

**Rule 2**

> <a id="dt-b25dea93dcbe89a3ef8f"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-9742628c434e3b0d8071"></a>
>
> **Item 1**
>
> > <div id="dt-179aaca3d716e678853e">
> > <p style="white-space: pre-wrap">mailbox control &amp; data registers</p>
> > </div>
>
> <a id="dt-871677129428f17d65c3"></a>
>
> **Item 2**
>
> > <div id="dt-6ee0b1926d929038d38c">
> > <p style="white-space: pre-wrap">mailbox interrupt registers</p>
> > </div>
>
> **Deprecated (<code>deprecated</code>):** <span id="dt-9314995a06317f2c23be"><code>true</code></span>

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

**Rule 3**

> <a id="dt-4691b647139db2c0d433"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-0db13ab708a8843876f0"></a>
>
> **Item 1**
>
> > <div id="dt-95bdf74205b0f780970c">
> > <p style="white-space: pre-wrap">mailbox control registers</p>
> > </div>
>
> <a id="dt-1f18e17f8b6e6c00c054"></a>
>
> **Item 2**
>
> > <div id="dt-8a268816564098130de8">
> > <p style="white-space: pre-wrap">mailbox interrupt registers</p>
> > </div>
>
> <a id="dt-313d493f86dbd8dd0115"></a>
>
> **Item 3**
>
> > <div id="dt-f155e3e003ebf0430994">
> > <p style="white-space: pre-wrap">mailbox data registers</p>
> > </div>
>
> **Deprecated (<code>deprecated</code>):** <span id="dt-a692aae7ad8b2152517b"><code>true</code></span>

<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-02ba4fa8955648673731"></a>

### <code>&#35;mbox&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-35dce2a22cd12b009c30"><code>1</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;mbox&#45;cells&#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">soc {
  #address-cells = &lt;1&gt;;
  #size-cells = &lt;1&gt;;

  mailbox@37020800 {
    compatible = "microchip,mpfs-mailbox";
    reg = &lt;0x37020800 0x100&gt;;
    interrupt-parent = &lt;&amp;L1&gt;;
    interrupts = &lt;96&gt;;
    #mbox-cells = &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>

---

# Microchip Inter-processor communication (IPC) mailbox controller

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

> Device-tree binding reference for Microchip Inter-processor communication (IPC) mailbox controller.

<!-- 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;mailbox&#47;microchip&#44;sbi&#45;ipc&#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;Valentina Fernandez &#60;valentina&#46;fernandezalanis&#64;microchip&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Microchip Inter-processor Communication (IPC) facilitates message passing between processors using an interrupt signaling mechanism.</p>
</div>

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

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

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

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

<a id="dt-39566f01414e34c67b85"></a>

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

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

**Rule 1**

> <div id="dt-ab1c3e7063bd95dc962e">
> <p style="white-space: pre-wrap">Intended for use by software running in supervisor privileged mode (s-mode). This SBI interface is compatible with the Mi-V Inter-hart Communication (IHC) IP.</p>
> </div>
>
> **Exact value (<code>const</code>):** <span id="dt-d1fe1b456a54b64074d3"><code>&#34;microchip&#44;sbi&#45;ipc&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <div id="dt-4b64ce44adfe069638c4">
> <p style="white-space: pre-wrap">Intended for use by the SBI implementation in machine mode (m-mode), this compatible string is for the MIV_IHC Soft-IP.</p>
> </div>
>
> **Exact value (<code>const</code>):** <span id="dt-58a429cd4bf531951c0d"><code>&#34;microchip&#44;miv&#45;ihc&#45;rtl&#45;v2&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

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

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

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

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

**Minimum number of items (<code>minItems</code>):** <span id="dt-1691b9edf145244244a0"><code>1</code></span>

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

<a id="dt-8aa4fd7705c68de75d2b"></a>

### <code>interrupt&#45;names</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-30089c7b6e408306475b"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-718f7c4b526ed5355ff2"><code>5</code></span>

<a id="dt-77e94e63ca0b20bb5ef1"></a>

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

> **Allowed values (<code>enum</code>):** <a id="dt-5db41c6b97ee97a03ba4"></a> <span id="dt-740be24d54c040792aec"><code>&#34;hart&#45;0&#34;</code></span>, <span id="dt-6c9c7b9c30651175ddeb"><code>&#34;hart&#45;1&#34;</code></span>, <span id="dt-304ac5fda3c96083752b"><code>&#34;hart&#45;2&#34;</code></span>, <span id="dt-fe291a44b490f2c74a72"><code>&#34;hart&#45;3&#34;</code></span>, <span id="dt-b34e09aebd279114445c"><code>&#34;hart&#45;4&#34;</code></span>, <span id="dt-791e37fe3cdc4fe8d248"><code>&#34;hart&#45;5&#34;</code></span>

<a id="dt-02ba4fa8955648673731"></a>

### <code>&#35;mbox&#45;cells</code> — required here

<div id="dt-c8db8f9a4474894f1bab">
<p style="white-space: pre-wrap">For "microchip,sbi-ipc", the cell represents the global "logical" channel IDs. The meaning of channel IDs are platform firmware dependent.
For "microchip,miv-ihc-rtl-v2", the cell represents the physical channel and does not vary based on the platform firmware.</p>
</div>

**Exact value (<code>const</code>):** <span id="dt-35dce2a22cd12b009c30"><code>1</code></span>

<a id="dt-47510f252a378a7159c3"></a>

### <code>microchip&#44;ihc&#45;chan&#45;disabled&#45;mask</code> — not listed as required here

<div id="dt-9dbe939a3cc26f64ccb3">
<p style="white-space: pre-wrap">Represents the enable/disable state of the bi-directional IHC channels within the MIV-IHC IP configuration.
A bit set to '1' indicates that the corresponding channel is disabled, and any read or write operations to that channel will return zero.
A bit set to '0' indicates that the corresponding channel is enabled and will be accessible through its dedicated address range registers.
The actual enable/disable state of each channel is determined by the IP block’s configuration.</p>
</div>

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

**Maximum value (<code>maximum</code>):** <span id="dt-03bbc6fa7252d28262f5"><code>32767</code></span>

**Default value (<code>default</code>):** <span id="dt-8c4cee05423059e79202"><code>0</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;interrupts&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupt&#45;names&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;mbox&#45;cells&#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>)
>
> > <a id="dt-97f47e9dc804c839f86d"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-bbadeeb73dfaefabae79"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-ebe43a424f4497a78746"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-8997992e7087b5549d86"><code>&#34;microchip&#44;sbi&#45;ipc&#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-f6af340cf87a1ddfe255"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > <a id="dt-8d22a1c20da2bd25a03a"></a>
> >
> > **This rule must not match (<code>not</code>)**
> >
> > > This rule adds no constraints.
> >
> > <div id="dt-4014adb50a728271a471">
> > <p style="white-space: pre-wrap">The 'microchip,sbi-ipc' operates in a programming model that does not require memory-mapped I/O (MMIO) registers since it uses SBI ecalls provided by the m-mode/firmware SBI implementation to access hardware registers.</p>
> > </div>
> >
> > <a id="dt-f5c8a5c6d3512feada61"></a>
> >
> > **<code>microchip&#44;ihc&#45;chan&#45;disabled&#45;mask</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
>
> <a id="dt-f985d6aaa3f73a650205"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-9f814971a49b2b16029a"></a> <span id="dt-37139fbd463ab3b18082"><code>&#34;reg&#34;</code></span>, <span id="dt-8c03dcb3d185395e0247"><code>&#34;microchip&#44;ihc&#45;chan&#45;disabled&#45;mask&#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">mailbox {
  compatible = "microchip,sbi-ipc";
  interrupt-parent = &lt;&amp;plic&gt;;
  interrupts = &lt;180&gt;, &lt;179&gt;, &lt;178&gt;;
  interrupt-names = "hart-1", "hart-2", "hart-3";
  #mbox-cells = &lt;1&gt;;
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">mailbox@50000000 {
  compatible = "microchip,miv-ihc-rtl-v2";
  microchip,ihc-chan-disabled-mask = /bits/ 16 &lt;0&gt;;
  reg = &lt;0x50000000 0x1c000&gt;;
  interrupt-parent = &lt;&amp;plic&gt;;
  interrupts = &lt;180&gt;, &lt;179&gt;, &lt;178&gt;;
  interrupt-names = "hart-1", "hart-2", "hart-3";
  #mbox-cells = &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>

---

# Mediatek ADSP mailbox

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

> Device-tree binding reference for Mediatek ADSP mailbox.

<!-- 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;mailbox&#47;mtk&#44;adsp&#45;mbox&#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;Allen&#45;KH Cheng &#60;Allen&#45;KH&#46;Cheng&#64;mediatek&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The MTK ADSP mailbox Inter-Processor Communication (IPC) enables the SoC
to communicate with ADSP by passing messages through two mailbox channels.
The MTK ADSP mailbox IPC also provides the ability for one processor to
signal the other processor using interrupts.</p>
</div>

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

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

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

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

<a id="dt-39566f01414e34c67b85"></a>

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

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

**Rule 1**

> **Allowed values (<code>enum</code>):** <a id="dt-617e1a2040e2496013d4"></a> <span id="dt-c31075c43df89b2793e3"><code>&#34;mediatek&#44;mt8186&#45;adsp&#45;mbox&#34;</code></span>, <span id="dt-44b402f75e7bf3caf313"><code>&#34;mediatek&#44;mt8195&#45;adsp&#45;mbox&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;mediatek&#44;mt8188&#45;adsp&#45;mbox&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;mediatek&#44;mt8186&#45;adsp&#45;mbox&#34;</code></span>

<a id="dt-02ba4fa8955648673731"></a>

### <code>&#35;mbox&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-35dce2a22cd12b009c30"><code>0</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

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

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

<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>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;&#35;mbox&#45;cells&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;reg&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;interrupts&#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/interrupt-controller/irq.h&gt;

adsp_mailbox0:mailbox@10816000 {
    compatible = "mediatek,mt8195-adsp-mbox";
    #mbox-cells = &lt;0&gt;;
    reg = &lt;0x10816000 0x1000&gt;;
    interrupts = &lt;GIC_SPI 702 IRQ_TYPE_LEVEL_HIGH 0&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>

---

# NVIDIA Tegra Hardware Synchronization Primitives (HSP)

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

> Device-tree binding reference for NVIDIA Tegra Hardware Synchronization Primitives (HSP).

<!-- 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;mailbox&#47;nvidia&#44;tegra186&#45;hsp&#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;Thierry Reding &#60;thierry&#46;reding&#64;gmail&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Jon Hunter &#60;jonathanh&#64;nvidia&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The HSP modules are used for the processors to share resources and
communicate together. It provides a set of hardware synchronization
primitives for interprocessor communication. So the interprocessor
communication (IPC) protocols can use hardware synchronization
primitives, when operating between two processors not in an SMP
relationship.</p>
<p style="white-space: pre-wrap">The features that HSP supported are shared mailboxes, shared
semaphores, arbitrated semaphores and doorbells.</p>
<p style="white-space: pre-wrap">The mbox specifier of the "mboxes" property in the client node should
contain two cells. The first cell determines the HSP type and the
second cell is used to identify the mailbox that the client is going
to use.</p>
<pre><code>For shared mailboxes, the first cell composed of two fields:
  - bits 15..8:
      A bit mask of flags that further specifies the type of shared
      mailbox to be used (based on the data size). If no flag is
      specified then, 32-bit shared mailbox is used.
  - bits 7..0:
      Defines the type of the mailbox to be used. This field should be
      TEGRA_HSP_MBOX_TYPE_SM for shared mailboxes.</code></pre>
<p style="white-space: pre-wrap">For doorbells, the second cell specifies the index of the doorbell to
use.</p>
<pre><code>For shared mailboxes, the second cell is composed of two fields:
  - bits 31..24:
      A bit mask of flags that further specify how the shared mailbox
      will be used. Valid flags are:
        - bit 31:
            Defines the direction of the mailbox. If set, the mailbox
            will be used as a producer (i.e. used to send data). If
            cleared, the mailbox is the consumer of data sent by a
            producer.</code></pre>
<pre><code>  - bits 23..0:
      The index of the shared mailbox to use. The number of available
      mailboxes may vary by instance of the HSP block and SoC
      generation.</code></pre>
<pre><code>  The following file contains definitions that can be used to
  construct mailbox specifiers:</code></pre>
<pre><code>      &lt;dt-bindings/mailbox/tegra186-hsp.h&gt;</code></pre>
</div>

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

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

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

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

<a id="dt-39566f01414e34c67b85"></a>

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

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

**Rule 1**

> **Allowed values (<code>enum</code>):** <a id="dt-617e1a2040e2496013d4"></a> <span id="dt-c31075c43df89b2793e3"><code>&#34;nvidia&#44;tegra186&#45;hsp&#34;</code></span>, <span id="dt-44b402f75e7bf3caf313"><code>&#34;nvidia&#44;tegra194&#45;hsp&#34;</code></span>, <span id="dt-f03e1478792ca587ff5c"><code>&#34;nvidia&#44;tegra264&#45;hsp&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-82dceb5784ff71f5fdf5"><code>&#34;nvidia&#44;tegra234&#45;hsp&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;nvidia&#44;tegra194&#45;hsp&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

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

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

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

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

**Minimum number of items (<code>minItems</code>):** <span id="dt-1691b9edf145244244a0"><code>1</code></span>

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

<a id="dt-8aa4fd7705c68de75d2b"></a>

### <code>interrupt&#45;names</code> — not listed as required here

<a id="dt-7c87f4c4d6ae5b67cb69"></a>

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

<a id="dt-6f3c3caf871198d0891a"></a>

**Rule 1**

> <a id="dt-884cf2259e7919782d91"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-ae566b1863c35904fd78"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-70b44ca6c048c5d3a3af"><code>&#34;doorbell&#34;</code></span>

<a id="dt-49450ca309f7fa677720"></a>

**Rule 2**

> <a id="dt-3f5226d3358b9f7233cd"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-168695c518f0a2b5192f"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-219a5f51cbccd7444454"><code>&#34;doorbell&#34;</code></span>
>
> <a id="dt-74dea7eca44399918292"></a>
>
> **Item 2**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-229e264f0e83241fa40c"><code>&#34;&#94;shared&#40;&#91;0&#45;9&#93;&#124;1&#91;0&#45;5&#93;&#41;&#36;&#34;</code></span>
>
> <a id="dt-c5cfc6a5b382577118b4"></a>
>
> **Item 3**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-6db7ee32700203c3bc6d"><code>&#34;&#94;shared&#40;&#91;0&#45;9&#93;&#124;1&#91;0&#45;5&#93;&#41;&#36;&#34;</code></span>
>
> <a id="dt-49e904b35cf148fa04a1"></a>
>
> **Item 4**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-2a8babf457a57278be9e"><code>&#34;&#94;shared&#40;&#91;0&#45;9&#93;&#124;1&#91;0&#45;5&#93;&#41;&#36;&#34;</code></span>
>
> <a id="dt-aca97ad6b05856b2ff86"></a>
>
> **Item 5**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-2290518130bc44497d95"><code>&#34;&#94;shared&#40;&#91;0&#45;9&#93;&#124;1&#91;0&#45;5&#93;&#41;&#36;&#34;</code></span>
>
> <a id="dt-b2830d2e7c8601d01a26"></a>
>
> **Item 6**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-3bda6a87e098f56228c4"><code>&#34;&#94;shared&#40;&#91;0&#45;9&#93;&#124;1&#91;0&#45;5&#93;&#41;&#36;&#34;</code></span>
>
> <a id="dt-ff78428506c9d25ff2ca"></a>
>
> **Item 7**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-82670106cbd68975dccd"><code>&#34;&#94;shared&#40;&#91;0&#45;9&#93;&#124;1&#91;0&#45;5&#93;&#41;&#36;&#34;</code></span>
>
> <a id="dt-706218495f27514079f3"></a>
>
> **Item 8**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-877e9313e8ec16142196"><code>&#34;&#94;shared&#40;&#91;0&#45;9&#93;&#124;1&#91;0&#45;5&#93;&#41;&#36;&#34;</code></span>
>
> <a id="dt-372b995893291e33a41f"></a>
>
> **Item 9**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-cdf785a6edc5dafbdaf6"><code>&#34;&#94;shared&#40;&#91;0&#45;9&#93;&#124;1&#91;0&#45;5&#93;&#41;&#36;&#34;</code></span>
>
> <a id="dt-95a5fd50c48693f760ea"></a>
>
> **Item 10**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-9386558dbf84a056779e"><code>&#34;&#94;shared&#40;&#91;0&#45;9&#93;&#124;1&#91;0&#45;5&#93;&#41;&#36;&#34;</code></span>
>
> <a id="dt-7c21cf099ffb8bba512e"></a>
>
> **Item 11**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-8e4da5845b8d91878a6b"><code>&#34;&#94;shared&#40;&#91;0&#45;9&#93;&#124;1&#91;0&#45;5&#93;&#41;&#36;&#34;</code></span>
>
> <a id="dt-da7846cef98cbedfeb74"></a>
>
> **Item 12**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-30e57dc61c1c2ef66b90"><code>&#34;&#94;shared&#40;&#91;0&#45;9&#93;&#124;1&#91;0&#45;5&#93;&#41;&#36;&#34;</code></span>
>
> <a id="dt-723c0ff9f459d57596b7"></a>
>
> **Item 13**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-1a142f73ddc458808117"><code>&#34;&#94;shared&#40;&#91;0&#45;9&#93;&#124;1&#91;0&#45;5&#93;&#41;&#36;&#34;</code></span>
>
> <a id="dt-e31ce77f29ac50c2f1db"></a>
>
> **Item 14**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-b43e58f17cb0e5a76f64"><code>&#34;&#94;shared&#40;&#91;0&#45;9&#93;&#124;1&#91;0&#45;5&#93;&#41;&#36;&#34;</code></span>
>
> <a id="dt-7c49298f281829cb3c8e"></a>
>
> **Item 15**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-2cda5e73272a8aeb0e00"><code>&#34;&#94;shared&#40;&#91;0&#45;9&#93;&#124;1&#91;0&#45;5&#93;&#41;&#36;&#34;</code></span>
>
> <a id="dt-24bdc0ab8824f86a2e79"></a>
>
> **Item 16**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-7f41e05c3392e57afa2d"><code>&#34;&#94;shared&#40;&#91;0&#45;9&#93;&#124;1&#91;0&#45;5&#93;&#41;&#36;&#34;</code></span>
>
> <a id="dt-1d68052ec65c39788626"></a>
>
> **Item 17**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-365a0985136551074258"><code>&#34;&#94;shared&#40;&#91;0&#45;9&#93;&#124;1&#91;0&#45;5&#93;&#41;&#36;&#34;</code></span>

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

**Rule 3**

> <a id="dt-0a34a9219f0559f42d7c"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-17e5d9c70b8e096d3a37"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-eeee93287c9adb685082"><code>&#34;doorbell&#34;</code></span>
>
> <a id="dt-5b9a1aed9d67e56e84fb"></a>
>
> **Item 2**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-e10d0720a157ac6f19dc"><code>&#34;&#94;shared&#91;0&#45;7&#93;&#36;&#34;</code></span>
>
> <a id="dt-dadd9e3233136c1e6806"></a>
>
> **Item 3**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-034137c243edbf45fdec"><code>&#34;&#94;shared&#91;0&#45;7&#93;&#36;&#34;</code></span>
>
> <a id="dt-57bacc5d6b94c3a2685e"></a>
>
> **Item 4**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-678ef1f76a5868b6d4a5"><code>&#34;&#94;shared&#91;0&#45;7&#93;&#36;&#34;</code></span>
>
> <a id="dt-c74c2cdfa87ba4652360"></a>
>
> **Item 5**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-544cb8028fd4dffb9a88"><code>&#34;&#94;shared&#91;0&#45;7&#93;&#36;&#34;</code></span>
>
> <a id="dt-cddb13426171ab03950b"></a>
>
> **Item 6**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-b0d4df58c9cb85bff336"><code>&#34;&#94;shared&#91;0&#45;7&#93;&#36;&#34;</code></span>
>
> <a id="dt-7b979050724bf370d112"></a>
>
> **Item 7**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-54e92c945e736c41e172"><code>&#34;&#94;shared&#91;0&#45;7&#93;&#36;&#34;</code></span>
>
> <a id="dt-d2c47a54b837390e29ed"></a>
>
> **Item 8**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-984ba10ecedf67a5d4bd"><code>&#34;&#94;shared&#91;0&#45;7&#93;&#36;&#34;</code></span>
>
> <a id="dt-e8f2f1544856a6c093fa"></a>
>
> **Item 9**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-6834aadfcf893ee5c662"><code>&#34;&#94;shared&#91;0&#45;7&#93;&#36;&#34;</code></span>

<a id="dt-933ae21ee49e34e0add8"></a>

**Rule 4**

> <a id="dt-7b3b6da4da6ab359ea33"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-da99cf79114891006525"></a>
>
> **Item 1**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-feeac6398749ce417b5d"><code>&#34;&#94;shared&#91;0&#45;7&#93;&#36;&#34;</code></span>
>
> <a id="dt-202a5be37b86c1dc8bd5"></a>
>
> **Item 2**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-6c7cb88def047fd18312"><code>&#34;&#94;shared&#91;0&#45;7&#93;&#36;&#34;</code></span>
>
> <a id="dt-9af91b9f72b69a498901"></a>
>
> **Item 3**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-d28cdc6069279edd42ec"><code>&#34;&#94;shared&#91;0&#45;7&#93;&#36;&#34;</code></span>
>
> <a id="dt-55c39397875841c62397"></a>
>
> **Item 4**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-e52b15be4e0d5dbfcde0"><code>&#34;&#94;shared&#91;0&#45;7&#93;&#36;&#34;</code></span>

<a id="dt-02ba4fa8955648673731"></a>

### <code>&#35;mbox&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-35dce2a22cd12b009c30"><code>2</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/tegra186-hsp.h&gt;

mailbox@3c00000 {
    compatible = "nvidia,tegra186-hsp";
    reg = &lt;0x03c00000 0xa0000&gt;;
    interrupts = &lt;GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH&gt;;
    interrupt-names = "doorbell";
    #mbox-cells = &lt;2&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>

<p id="dt-comment-1"><strong>Line 81:</strong> <span> shared interrupts are optional</span></p>

</details>

---

# Qualcomm APCS global block

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

> Device-tree binding reference for Qualcomm APCS global block.

<!-- SPDX-License-Identifier: (GPL-2.0 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;mailbox&#47;qcom&#44;apcs&#45;kpss&#45;global&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This binding describes the APCS "global" block found in various Qualcomm platforms.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Jassi Brar &#60;jassisinghbrar&#64;gmail&#46;com&#62;&#34;</code></span>

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

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

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

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

<a id="dt-39566f01414e34c67b85"></a>

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

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

**Rule 1**

> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-3b212051dcd0fc641cd8"></a> <span id="dt-bd6e6716d05ec45653db"><code>&#34;qcom&#44;ipq5018&#45;apcs&#45;apps&#45;global&#34;</code></span>, <span id="dt-3e7fb897881b12f43f81"><code>&#34;qcom&#44;ipq5332&#45;apcs&#45;apps&#45;global&#34;</code></span>, <span id="dt-b7d19de74fd35364d49f"><code>&#34;qcom&#44;ipq5424&#45;apcs&#45;apps&#45;global&#34;</code></span>, <span id="dt-6cbdeefc52e7132bc62c"><code>&#34;qcom&#44;ipq8074&#45;apcs&#45;apps&#45;global&#34;</code></span>, <span id="dt-fd88adda17227ca32776"><code>&#34;qcom&#44;ipq9574&#45;apcs&#45;apps&#45;global&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1da74b37131fdcec1073"><code>&#34;qcom&#44;ipq6018&#45;apcs&#45;apps&#45;global&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;qcom&#44;msm8226&#45;apcs&#45;kpss&#45;global&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;qcom&#44;qcs404&#45;apcs&#45;apps&#45;global&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;qcom&#44;msm8916&#45;apcs&#45;kpss&#45;global&#34;</code></span>
>
> <a id="dt-1655c7bc2063a21f60f8"></a>
>
> **Item 3**
>
> > **Exact value (<code>const</code>):** <span id="dt-7c57653c6bcac024338a"><code>&#34;syscon&#34;</code></span>

<a id="dt-39cb5b72c94e12bd53ea"></a>

**Rule 3**

> <a id="dt-e626d61e9d5d76cc48f9"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-6b46935eab08de6d1f0a"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-9d5b9f6fd2f9759f6e43"></a> <span id="dt-73fb2f4b762df7b35870"><code>&#34;qcom&#44;msm8974&#45;apcs&#45;kpss&#45;global&#34;</code></span>, <span id="dt-4f2dd487e4b2e6e79827"><code>&#34;qcom&#44;msm8976&#45;apcs&#45;kpss&#45;global&#34;</code></span>
>
> <a id="dt-5ea82ea034747ba6da29"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-e9c55cb91230c7ee5a28"><code>&#34;qcom&#44;msm8994&#45;apcs&#45;kpss&#45;global&#34;</code></span>
>
> <a id="dt-3acd265d2314f4be0bd4"></a>
>
> **Item 3**
>
> > **Exact value (<code>const</code>):** <span id="dt-d09fdb468825e586f676"><code>&#34;syscon&#34;</code></span>

<a id="dt-61219c29f99de6d21702"></a>

**Rule 4**

> <a id="dt-a1b1c435b08c85ff96c7"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-4758c8f9c99bfa28b10c"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-12b3e48e4010cb944698"></a> <span id="dt-e46f645e6715baa60581"><code>&#34;qcom&#44;msm8998&#45;apcs&#45;hmss&#45;global&#34;</code></span>, <span id="dt-f0654d9dc65c16ce7d6a"><code>&#34;qcom&#44;sdm660&#45;apcs&#45;hmss&#45;global&#34;</code></span>, <span id="dt-80bf5233c0e34928f5ac"><code>&#34;qcom&#44;sm4250&#45;apcs&#45;hmss&#45;global&#34;</code></span>, <span id="dt-3e86066ba2e9703b9565"><code>&#34;qcom&#44;sm6115&#45;apcs&#45;hmss&#45;global&#34;</code></span>, <span id="dt-1fd75caf61d0f4869524"><code>&#34;qcom&#44;sm6125&#45;apcs&#45;hmss&#45;global&#34;</code></span>
>
> <a id="dt-c99d921c49bf15e79633"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-9e0f2ef968dd632f09b7"><code>&#34;qcom&#44;msm8994&#45;apcs&#45;kpss&#45;global&#34;</code></span>

<a id="dt-6932ba24e194ea67730d"></a>

**Rule 5**

> <a id="dt-196210d7e8a5e94e1226"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-4b7c967de45ba4ead27f"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-427722b6d265dacc9449"></a> <span id="dt-3e38de7c21c96fb8ed17"><code>&#34;qcom&#44;qcs615&#45;apss&#45;shared&#34;</code></span>, <span id="dt-70bcbd54d6039c7aaf2b"><code>&#34;qcom&#44;sc7180&#45;apss&#45;shared&#34;</code></span>, <span id="dt-86255e190909da68156f"><code>&#34;qcom&#44;sc8180x&#45;apss&#45;shared&#34;</code></span>, <span id="dt-aac8b48ada99e27f6e6d"><code>&#34;qcom&#44;sm7150&#45;apss&#45;shared&#34;</code></span>, <span id="dt-f7cdb1e4e4b2902ba168"><code>&#34;qcom&#44;sm8150&#45;apss&#45;shared&#34;</code></span>
>
> <a id="dt-caf6ce7d7f34e1e8d173"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-4a97b7e5e83d59103118"><code>&#34;qcom&#44;sdm845&#45;apss&#45;shared&#34;</code></span>

<a id="dt-264a99ec2691e9f8d8d2"></a>

**Rule 6**

> <a id="dt-4dad5affd79a503edb55"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-d020c8ab76f112be7460"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-e9307e11ff03581bb862"></a> <span id="dt-091628d4071f08fe9e9e"><code>&#34;qcom&#44;msm8916&#45;apcs&#45;kpss&#45;global&#34;</code></span>, <span id="dt-1ea4ed6a0d7cc77ceff5"><code>&#34;qcom&#44;msm8939&#45;apcs&#45;kpss&#45;global&#34;</code></span>, <span id="dt-15fe7d89128a6ebf781d"><code>&#34;qcom&#44;msm8953&#45;apcs&#45;kpss&#45;global&#34;</code></span>, <span id="dt-fbbd57d1b729dcde1e1a"><code>&#34;qcom&#44;msm8994&#45;apcs&#45;kpss&#45;global&#34;</code></span>, <span id="dt-83e4c636194b47742e12"><code>&#34;qcom&#44;sdx55&#45;apcs&#45;gcc&#34;</code></span>
>
> <a id="dt-ad0f80061981c404704b"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-bc7bfc6606ce7d2bcbe4"><code>&#34;syscon&#34;</code></span>

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

**Rule 7**

> **Allowed values (<code>enum</code>):** <a id="dt-2315ebb477a2374bf354"></a> <span id="dt-dc3606ea3fc8d6807240"><code>&#34;qcom&#44;ipq6018&#45;apcs&#45;apps&#45;global&#34;</code></span>, <span id="dt-6c57436a7b51148eb12d"><code>&#34;qcom&#44;msm8996&#45;apcs&#45;hmss&#45;global&#34;</code></span>, <span id="dt-75b7b783ebc61468545d"><code>&#34;qcom&#44;qcm2290&#45;apcs&#45;hmss&#45;global&#34;</code></span>, <span id="dt-259c5553ffc2890eb2d8"><code>&#34;qcom&#44;sdm845&#45;apss&#45;shared&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

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

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

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

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

<div id="dt-853257adf43f6880d753">
<p style="white-space: pre-wrap">phandles to the parent clocks of the clock driver</p>
</div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-1f26a8d0aa315cbb9547"><code>2</code></span>

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

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

<a id="dt-02ba4fa8955648673731"></a>

### <code>&#35;mbox&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-35dce2a22cd12b009c30"><code>1</code></span>

<a id="dt-7471877b51a93881192b"></a>

### <code>&#35;clock&#45;cells</code> — not listed as required here

**Allowed values (<code>enum</code>):** <a id="dt-d23cb1d475343059cedc"></a> <span id="dt-0e66305ef7f3fb6ad042"><code>0</code></span>, <span id="dt-9b89ddbaffd2f8595ef2"><code>1</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-dab867b03596a88fc725"><code>2</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-65c84d57f9774b7ce5c4"><code>3</code></span>

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

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

### <code>clock&#45;controller</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-edf8fcc9a31dc7cc83e8"><code>&#34;object&#34;</code></span>

<a id="dt-971c68ae8d4c3c3427b5"></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-d50c3fcf061cb9af23f8"></a>

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

<a id="dt-04cc347676589944e784"></a>

**<code>clocks</code> — not listed as required here**

<div id="dt-84642b4a9faaddd5ebd2">
<p style="white-space: pre-wrap">phandles to the parent clocks of the clock driver</p>
</div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-70e4cee62f1c4cda5b3a"><code>2</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-17edb1caa47ddc0dd9db"><code>3</code></span>

<a id="dt-28b1d1cdffacc8d3ccfc"></a>

**<code>&#35;clock&#45;cells</code> — not listed as required here**

**Allowed values (<code>enum</code>):** <a id="dt-c52b02c0ae1088d618fc"></a> <span id="dt-537ddf8894b66cf88181"><code>0</code></span>, <span id="dt-1a614fd6a13f68e94967"><code>1</code></span>

<a id="dt-7719fb4a0e2fedc304ef"></a>

**<code>clock&#45;names</code> — not listed as required here**

**Minimum number of items (<code>minItems</code>):** <span id="dt-0d6c410422e4a2e6df07"><code>2</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-74ea017ffa2e644ff688"><code>3</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;mbox&#45;cells&#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-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;clock&#45;controller&#34;</code></span>
>
> <a id="dt-a01670a1de9b82dbfac2"></a>
>
> #### Properties and child nodes (<code>properties</code>)
>
> <a id="dt-1bfe0bdb04bdb83d9fd8"></a>
>
> **<code>clocks</code> — not listed as required here**
>
> <code>false</code> — Not permitted by this property rule.
>
> <a id="dt-c7f4ad113c453e9910f9"></a>
>
> **<code>clock&#45;names</code> — not listed as required here**
>
> <code>false</code> — Not permitted by this property rule.
>
> <a id="dt-4909c7cfe3c1ccea94f9"></a>
>
> **<code>&#35;clock&#45;cells</code> — not listed as required here**
>
> <code>false</code> — Not permitted by this property rule.

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

### Rule 2

> <a id="dt-93f2e486313a063a3cf5"></a>
>
> #### Properties and child nodes (<code>properties</code>)
>
> <a id="dt-da4a16a116a2e2c572d1"></a>
>
> **<code>clock&#45;controller</code> — not listed as required here**
>
> <code>false</code> — Not permitted by this property rule.

<a id="dt-7fcd144dee0d1b44122a"></a>

## Reusable definitions (<code>&#36;defs</code>)

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

### <code>msm8916&#45;apcs&#45;clock&#45;controller</code>

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

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

<a id="dt-75db8b0f7301301b44e6"></a>

**<code>clocks</code> — not listed as required here**

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

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

<a id="dt-36a621419a1c1dced956"></a>

**Item 1**

> <div id="dt-e09ec38abfca9eccf315">
> <p style="white-space: pre-wrap">primary pll parent of the clock driver</p>
> </div>

<a id="dt-39c1beb015820c756d93"></a>

**Item 2**

> <div id="dt-bb64c08d4dcb4ae59a61">
> <p style="white-space: pre-wrap">auxiliary parent</p>
> </div>

<a id="dt-34809bb46162583ecfdd"></a>

**<code>clock&#45;names</code> — not listed as required here**

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

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

<a id="dt-86253dba83d9852f0490"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-906eb4c72837b019d10d"><code>&#34;pll&#34;</code></span>

<a id="dt-38de78768a9001593e2a"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-9cd5d145097b41b8d144"><code>&#34;aux&#34;</code></span>

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

**<code>&#35;clock&#45;cells</code> — not listed as required here**

**Exact value (<code>const</code>):** <span id="dt-48bba09979d8d0a676d9"><code>0</code></span>

<a id="dt-6c9f62592d1e91829380"></a>

### <code>msm8939&#45;apcs&#45;clock&#45;controller</code>

<a id="dt-42512fe362fcd7eef960"></a>

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

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

**<code>clocks</code> — not listed as required here**

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

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

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

**Item 1**

> <div id="dt-67b8de481c2fef05de38">
> <p style="white-space: pre-wrap">primary pll parent of the clock driver</p>
> </div>

<a id="dt-4356c314a45abe13f659"></a>

**Item 2**

> <div id="dt-684b4c6c21930c5caa63">
> <p style="white-space: pre-wrap">auxiliary parent</p>
> </div>

<a id="dt-907e18a1861fb097e8d5"></a>

**Item 3**

> <div id="dt-3417b1d2cd231c260bd4">
> <p style="white-space: pre-wrap">reference clock</p>
> </div>

<a id="dt-9d6f70ac96c82001e926"></a>

**<code>clock&#45;names</code> — not listed as required here**

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

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

<a id="dt-5385411b857f8e7896cf"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-e80adafad09b04bc8362"><code>&#34;pll&#34;</code></span>

<a id="dt-999bb9fa67de1da63afd"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-91b7b73402a43e751080"><code>&#34;aux&#34;</code></span>

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

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-0ffb1e3488ec8602df75"><code>&#34;ref&#34;</code></span>

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

**<code>&#35;clock&#45;cells</code> — not listed as required here**

**Exact value (<code>const</code>):** <span id="dt-e6e3f10d62240ac562fa"><code>0</code></span>

<a id="dt-01fa4db29ceb28a1a582"></a>

### <code>sdx55&#45;apcs&#45;clock&#45;controller</code>

<a id="dt-3df124d768faf5986021"></a>

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

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

**<code>clocks</code> — not listed as required here**

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

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

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

**Item 1**

> <div id="dt-4916b1209971e4394546">
> <p style="white-space: pre-wrap">reference clock</p>
> </div>

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

**Item 2**

> <div id="dt-0725498eb3b6aeec487a">
> <p style="white-space: pre-wrap">primary pll parent of the clock driver</p>
> </div>

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

**Item 3**

> <div id="dt-9ee5984b0bbf0a7f9917">
> <p style="white-space: pre-wrap">auxiliary parent</p>
> </div>

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

**<code>clock&#45;names</code> — not listed as required here**

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

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

<a id="dt-03d117757f710f0b3c1f"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-61c8ff2c7ecc607cd14a"><code>&#34;ref&#34;</code></span>

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

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-76fab0fad89af0e0b67a"><code>&#34;pll&#34;</code></span>

<a id="dt-57cbdc442391a931934d"></a>

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-1c117193ecb1b8529d13"><code>&#34;aux&#34;</code></span>

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

**<code>&#35;clock&#45;cells</code> — not listed as required here**

**Exact value (<code>const</code>):** <span id="dt-a8e40c17601af8bb007c"><code>0</code></span>

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

### <code>ipq6018&#45;apcs&#45;clock&#45;controller</code>

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

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

<a id="dt-88446babd9441a4f8496"></a>

**<code>clocks</code> — not listed as required here**

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

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

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

**Item 1**

> <div id="dt-584040a5e42f62185ce1">
> <p style="white-space: pre-wrap">primary pll parent of the clock driver</p>
> </div>

<a id="dt-3e9bda6d90832eaff83a"></a>

**Item 2**

> <div id="dt-93a38ca81bc440c11972">
> <p style="white-space: pre-wrap">XO clock</p>
> </div>

<a id="dt-725c532f9cab0423e6c0"></a>

**Item 3**

> <div id="dt-a38dbf503ebd098ea4bf">
> <p style="white-space: pre-wrap">GCC GPLL0 clock source</p>
> </div>

<a id="dt-70a797fecc9307b42dfa"></a>

**<code>clock&#45;names</code> — not listed as required here**

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

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

<a id="dt-2268ab8206472a18503e"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-f37d33fc810da995bba5"><code>&#34;pll&#34;</code></span>

<a id="dt-7931220797c7a3b6c942"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-85478186b4f3c0d2a43c"><code>&#34;xo&#34;</code></span>

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

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-c2cfe75b80727d3ca275"><code>&#34;gpll0&#34;</code></span>

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

**<code>&#35;clock&#45;cells</code> — not listed as required here**

**Exact value (<code>const</code>):** <span id="dt-9dbf8e928ca725e5c9e1"><code>1</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>)
>
> > <a id="dt-97f47e9dc804c839f86d"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-bbadeeb73dfaefabae79"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-ebe43a424f4497a78746"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-b5c9dbe70762f9ad7bb5"></a> <span id="dt-d017b1b1b5a0bb01c549"><code>&#34;qcom&#44;msm8916&#45;apcs&#45;kpss&#45;global&#34;</code></span>
>
> <a id="dt-1ba25143802b75b74702"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-5914c064454d3da9c609">[<code>&#35;&#47;&#36;defs&#47;msm8916&#45;apcs&#45;clock&#45;controller</code>](<#dt-c282bd663ee6fd5cf1aa>)</span>
> >
> > <a id="dt-b212c2ef78c22fab2e20"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-0b530f8357d1770602f9"></a>
> >
> > **<code>clock&#45;controller</code> — not listed as required here**
> >
> > **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-9617131783ff0031f71e">[<code>&#35;&#47;&#36;defs&#47;msm8916&#45;apcs&#45;clock&#45;controller</code>](<#dt-c282bd663ee6fd5cf1aa>)</span>

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

### Rule 2

> <a id="dt-ffbf5afb799d5f07b3e1"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-05d9c37a1275e72a170e"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-e9866824361c1aee7933"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-d1402748b5f4caf0b18a"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-61039da0155527cc02ba"></a> <span id="dt-20f8a813aab744ff239a"><code>&#34;qcom&#44;msm8939&#45;apcs&#45;kpss&#45;global&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-31f358ea7df9f0e0fa97">[<code>&#35;&#47;&#36;defs&#47;msm8939&#45;apcs&#45;clock&#45;controller</code>](<#dt-6c9f62592d1e91829380>)</span>
> >
> > <a id="dt-26d1c84fcc55a7d91dea"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-764777a122e8f9d343a0"></a>
> >
> > **<code>clock&#45;controller</code> — not listed as required here**
> >
> > **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-33e653ede7372ccb408d">[<code>&#35;&#47;&#36;defs&#47;msm8939&#45;apcs&#45;clock&#45;controller</code>](<#dt-6c9f62592d1e91829380>)</span>

<a id="dt-317510ea5c8bf789ca60"></a>

### Rule 3

> <a id="dt-15ef78abba37234c7e3a"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-81c13bb46c56768b42c8"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-676f6e45d3a322ea7096"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-c8f14712d9ed2dde9441"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-7838023cb1ac8ba1fc13"></a> <span id="dt-2698b34438b1aced3e06"><code>&#34;qcom&#44;sdx55&#45;apcs&#45;gcc&#34;</code></span>
>
> <a id="dt-86c371e5831ff1f84ce5"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-11d6134fbaae32786d04">[<code>&#35;&#47;&#36;defs&#47;sdx55&#45;apcs&#45;clock&#45;controller</code>](<#dt-01fa4db29ceb28a1a582>)</span>
> >
> > <a id="dt-4b2e0558620eefde94e1"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-5535c66412af41715b73"></a>
> >
> > **<code>clock&#45;controller</code> — not listed as required here**
> >
> > **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-f46ca82a3e3cf31edf0b">[<code>&#35;&#47;&#36;defs&#47;sdx55&#45;apcs&#45;clock&#45;controller</code>](<#dt-01fa4db29ceb28a1a582>)</span>

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

### Rule 4

> <a id="dt-5d622c5a2672c1e49b35"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-8d84f7bba76b4e26221f"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-11dc65c5cf7abc0317bb"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-3de4a4db25c09109abf4"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-2f146490cc52d0a82c19"></a> <span id="dt-b1038ed41acf3cc462f9"><code>&#34;qcom&#44;ipq6018&#45;apcs&#45;apps&#45;global&#34;</code></span>
>
> <a id="dt-889ceb40bc531bf0dc1d"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d6251d1678924234fb0a">[<code>&#35;&#47;&#36;defs&#47;ipq6018&#45;apcs&#45;clock&#45;controller</code>](<#dt-0c96861eb91b995d2d17>)</span>
> >
> > <a id="dt-7cd597a6bb6b91730c25"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-72938fe330bf76e5b817"></a>
> >
> > **<code>clock&#45;controller</code> — not listed as required here**
> >
> > **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-be4f0fe180c7a1ca531d">[<code>&#35;&#47;&#36;defs&#47;ipq6018&#45;apcs&#45;clock&#45;controller</code>](<#dt-0c96861eb91b995d2d17>)</span>

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

### Rule 5

> <a id="dt-30dd43480a02ff52099e"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-815e247e2e39708faa21"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-95159efb137dae08a1e1"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-2bc9a23172c2091be559"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-f6f7348eb6a3f6a0c1d3"></a> <span id="dt-e23119600ac866295534"><code>&#34;qcom&#44;msm8953&#45;apcs&#45;kpss&#45;global&#34;</code></span>, <span id="dt-394f4c36882e88052506"><code>&#34;qcom&#44;msm8994&#45;apcs&#45;kpss&#45;global&#34;</code></span>, <span id="dt-95e59d4b4fc4dc8444e1"><code>&#34;qcom&#44;msm8996&#45;apcs&#45;hmss&#45;global&#34;</code></span>, <span id="dt-1690cc8817b19888354c"><code>&#34;qcom&#44;qcm2290&#45;apcs&#45;hmss&#45;global&#34;</code></span>, <span id="dt-9ab9b547d9880bdef7d4"><code>&#34;qcom&#44;sdm845&#45;apss&#45;shared&#34;</code></span>
>
> <a id="dt-b13bdf6bf01ba2db1729"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-61105cb355bf27434ff1"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-aa0d767cf1ac9fac4f5a"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-50f1ce702c9c66684754"></a>
> >
> > **<code>clock&#45;names</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-08873e82b29da11d2548"></a>
> >
> > **<code>clock&#45;controller</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-32faa2bb2f3f692a5c66"></a>
> >
> > **<code>&#35;clock&#45;cells</code> — not listed as required here**
> >
> > **Exact value (<code>const</code>):** <span id="dt-4150a9be05c651ac9d0c"><code>0</code></span>

<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;
mailbox@9820000 {
    compatible = "qcom,msm8996-apcs-hmss-global";
    reg = &lt;0x9820000 0x1000&gt;;

    #mbox-cells = &lt;1&gt;;
    #clock-cells = &lt;0&gt;;
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">#define GCC_APSS_AHB_CLK_SRC  1
#define GCC_GPLL0_AO_OUT_MAIN 123
mailbox@b011000 {
    compatible = "qcom,qcs404-apcs-apps-global",
                 "qcom,msm8916-apcs-kpss-global", "syscon";
    reg = &lt;0x0b011000 0x1000&gt;;
    #mbox-cells = &lt;1&gt;;

    apcs_clk: clock-controller {
      clocks = &lt;&amp;apcs_hfpll&gt;, &lt;&amp;gcc GCC_GPLL0_AO_OUT_MAIN&gt;;
      clock-names = "pll", "aux";
      #clock-cells = &lt;0&gt;;
    };
};
</code></pre>

<pre id="dt-d0212a4cd671f89a0b40"><code class="language-dts">#define GCC_APSS_AHB_CLK_SRC  1
#define GCC_GPLL0_AO_OUT_MAIN 123
apcs: mailbox@b011000 {
    compatible = "qcom,qcs404-apcs-apps-global",
                 "qcom,msm8916-apcs-kpss-global", "syscon";
    reg = &lt;0x0b011000 0x1000&gt;;
    #mbox-cells = &lt;1&gt;;
    clocks = &lt;&amp;apcs_hfpll&gt;, &lt;&amp;gcc GCC_GPLL0_AO_OUT_MAIN&gt;;
    clock-names = "pll", "aux";
    #clock-cells = &lt;0&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 OR BSD-2-Clause)</span></p>

<p id="dt-comment-1"><strong>Line 112:</strong> <span> Clocks should be specified either on the parent node or on the child node</span></p>

<p id="dt-comment-2"><strong>Line 251:</strong> <span> Example apcs with msm8996</span></p>

<p id="dt-comment-3"><strong>Line 262:</strong> <span> Example apcs with qcs404</span></p>

<p id="dt-comment-4"><strong>Line 279:</strong> <span> Example apcs with qcs404 (deprecated: use clock-controller subnode)</span></p>

</details>

---

# Qualcomm Technologies, Inc. CPUCP Mailbox Controller

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

> Device-tree binding reference for Qualcomm Technologies, Inc. CPUCP Mailbox Controller.

<!-- SPDX-License-Identifier: GPL-2.0 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;mailbox&#47;qcom&#44;cpucp&#45;mbox&#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;Sibi Sankar &#60;quic&#95;sibis&#64;quicinc&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The CPUSS Control Processor (CPUCP) mailbox controller enables communication between AP and CPUCP by acting as a doorbell between them.</p>
</div>

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

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

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

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

<a id="dt-39566f01414e34c67b85"></a>

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

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

**Rule 1**

> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-3b212051dcd0fc641cd8"></a> <span id="dt-bd6e6716d05ec45653db"><code>&#34;qcom&#44;glymur&#45;cpucp&#45;mbox&#34;</code></span>, <span id="dt-3e7fb897881b12f43f81"><code>&#34;qcom&#44;kaanapali&#45;cpucp&#45;mbox&#34;</code></span>, <span id="dt-b7d19de74fd35364d49f"><code>&#34;qcom&#44;sm8750&#45;cpucp&#45;mbox&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1da74b37131fdcec1073"><code>&#34;qcom&#44;x1e80100&#45;cpucp&#45;mbox&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> **Allowed values (<code>enum</code>):** <a id="dt-ad5dbad5326d5a61ae46"></a> <span id="dt-af4759e2a8ab9583f63d"><code>&#34;qcom&#44;x1e80100&#45;cpucp&#45;mbox&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

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

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

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

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

**Item 1**

> <div id="dt-e773fec0b410a1422253">
> <p style="white-space: pre-wrap">CPUCP rx register region</p>
> </div>

<a id="dt-302751dd79bfd514b9d7"></a>

**Item 2**

> <div id="dt-b729cb065b03c20c0e01">
> <p style="white-space: pre-wrap">CPUCP tx register region</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-02ba4fa8955648673731"></a>

### <code>&#35;mbox&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-35dce2a22cd12b009c30"><code>1</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;mbox&#45;cells&#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;

mailbox@17430000 {
    compatible = "qcom,x1e80100-cpucp-mbox";
    reg = &lt;0x17430000 0x10000&gt;, &lt;0x18830000 0x10000&gt;;
    interrupts = &lt;GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH&gt;;
    #mbox-cells = &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 OR BSD-2-Clause</span></p>

</details>

---

# Qualcomm Technologies, Inc. Inter-Processor Communication Controller

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

> Device-tree binding reference for Qualcomm Technologies, Inc. Inter-Processor Communication Controller.

<!-- SPDX-License-Identifier: GPL-2.0 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;mailbox&#47;qcom&#45;ipcc&#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;Manivannan Sadhasivam &#60;manivannan&#46;sadhasivam&#64;linaro&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Inter-Processor Communication Controller (IPCC) is a centralized hardware to route interrupts across various subsystems. It involves a three-level addressing scheme called protocol, client and signal. For example, consider an entity on the Application Processor Subsystem (APSS) that wants to listen to Modem's interrupts via Shared Memory Point to Point (SMP2P) interface. In such a case, the client would be Modem (client-id is 2) and the signal would be SMP2P (signal-id is 2). The SMP2P itself falls under the Multiprocessor (MPROC) protocol (protocol-id is 0). Refer include/dt-bindings/mailbox/qcom-ipcc.h for the list of such IDs.</p>
</div>

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

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

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

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

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

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

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

**Item 1**

> **Allowed values (<code>enum</code>):** <a id="dt-851ace07a50c83495949"></a> <span id="dt-63b688f2ccd82724cb8f"><code>&#34;qcom&#44;glymur&#45;ipcc&#34;</code></span>, <span id="dt-2d97ae0f34d14dd8e72b"><code>&#34;qcom&#44;kaanapali&#45;ipcc&#34;</code></span>, <span id="dt-9802844ed4869452d348"><code>&#34;qcom&#44;milos&#45;ipcc&#34;</code></span>, <span id="dt-24a1253e29125294194d"><code>&#34;qcom&#44;qcs8300&#45;ipcc&#34;</code></span>, <span id="dt-6eb9cf2b3f55b257fde4"><code>&#34;qcom&#44;qdu1000&#45;ipcc&#34;</code></span>, <span id="dt-50ce8af78a6d0f3b7b82"><code>&#34;qcom&#44;sa8255p&#45;ipcc&#34;</code></span>, <span id="dt-8be3d578ae616ce6273c"><code>&#34;qcom&#44;sa8775p&#45;ipcc&#34;</code></span>, <span id="dt-348801aa97cc32ed4b8e"><code>&#34;qcom&#44;sar2130p&#45;ipcc&#34;</code></span>, <span id="dt-08e250be67bbdba4113e"><code>&#34;qcom&#44;sc7280&#45;ipcc&#34;</code></span>, <span id="dt-b384a2e268c424bd4737"><code>&#34;qcom&#44;sc8280xp&#45;ipcc&#34;</code></span>, <span id="dt-00645d7276e48dce88cf"><code>&#34;qcom&#44;sdx75&#45;ipcc&#34;</code></span>, <span id="dt-e5bb0b4c6f96135591dc"><code>&#34;qcom&#44;sm6350&#45;ipcc&#34;</code></span>, <span id="dt-4bde956a8cf6f215f70e"><code>&#34;qcom&#44;sm6375&#45;ipcc&#34;</code></span>, <span id="dt-10b35ef19b737dbb8601"><code>&#34;qcom&#44;sm8250&#45;ipcc&#34;</code></span>, <span id="dt-04e607d0cca73ecd9a42"><code>&#34;qcom&#44;sm8350&#45;ipcc&#34;</code></span>, <span id="dt-e2db6a6268b84a260286"><code>&#34;qcom&#44;sm8450&#45;ipcc&#34;</code></span>, <span id="dt-2a8ead1a46a814445402"><code>&#34;qcom&#44;sm8550&#45;ipcc&#34;</code></span>, <span id="dt-98beb3234fc95a98556f"><code>&#34;qcom&#44;sm8650&#45;ipcc&#34;</code></span>, <span id="dt-61d982f22a36aee0de44"><code>&#34;qcom&#44;sm8750&#45;ipcc&#34;</code></span>, <span id="dt-63fb3a62361de7665053"><code>&#34;qcom&#44;x1e80100&#45;ipcc&#34;</code></span>

<a id="dt-0891c69625632ea817fd"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-f1f862a3cfab3ac620c8"><code>&#34;qcom&#44;ipcc&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

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

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

<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-b98252f9c39642b1db8f"></a>

### <code>interrupt&#45;controller</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>3</code></span>

<div id="dt-0cc2c51365b6879fba3b">
<p style="white-space: pre-wrap">The first cell is the client-id, the second cell is the signal-id and the third cell is the interrupt type.</p>
</div>

<a id="dt-02ba4fa8955648673731"></a>

### <code>&#35;mbox&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-35dce2a22cd12b009c30"><code>2</code></span>

<div id="dt-c8db8f9a4474894f1bab">
<p style="white-space: pre-wrap">The first cell is the client-id, and the second cell is the signal-id.</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;interrupt&#45;controller&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;&#35;interrupt&#45;cells&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;&#35;mbox&#45;cells&#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;

mailbox@408000 {
    compatible = "qcom,sm8250-ipcc", "qcom,ipcc";
    reg = &lt;0x408000 0x1000&gt;;
    interrupts = &lt;GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH&gt;;
    interrupt-controller;
    #interrupt-cells = &lt;3&gt;;
    #mbox-cells = &lt;2&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 OR BSD-2-Clause</span></p>

</details>

---

# RISC-V Platform Management Interface (RPMI) shared memory mailbox

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

> Device-tree binding reference for RISC-V Platform Management Interface (RPMI) shared memory mailbox.

<!-- 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;mailbox&#47;riscv&#44;rpmi&#45;shmem&#45;mbox&#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;Anup Patel &#60;anup&#64;brainfault&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The RISC-V Platform Management Interface (RPMI) [1] defines a common shared
memory based RPMI transport. This RPMI shared memory transport integrates as
mailbox controller in the SBI implementation or supervisor software whereas
each RPMI service group is mailbox client in the SBI implementation and
supervisor software.</p>
<p style="white-space: pre-wrap">===========================================
References
===========================================</p>
<pre><code>[1] RISC-V Platform Management Interface (RPMI) v1.0 (or higher)
    https://github.com/riscv-non-isa/riscv-rpmi/releases</code></pre>
</div>

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;riscv&#44;rpmi&#45;shmem&#45;mbox&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

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

**Minimum number of items (<code>minItems</code>):** <span id="dt-4b3e7791b11b96c3db87"><code>2</code></span>

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

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

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

**Item 1**

> <div id="dt-e773fec0b410a1422253">
> <p style="white-space: pre-wrap">A2P request queue base address</p>
> </div>

<a id="dt-302751dd79bfd514b9d7"></a>

**Item 2**

> <div id="dt-b729cb065b03c20c0e01">
> <p style="white-space: pre-wrap">P2A acknowledgment queue base address</p>
> </div>

<a id="dt-80d36cb915ffeff5364a"></a>

**Item 3**

> <div id="dt-5151e97c331b693ee0dd">
> <p style="white-space: pre-wrap">P2A request queue base address</p>
> </div>

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

**Item 4**

> <div id="dt-e7b71b4619e949c538b1">
> <p style="white-space: pre-wrap">A2P acknowledgment queue base address</p>
> </div>

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

**Item 5**

> <div id="dt-9034b08616e8a84a1200">
> <p style="white-space: pre-wrap">A2P doorbell address</p>
> </div>

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

### <code>reg&#45;names</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-3f2820449161ca72af98"><code>2</code></span>

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-69afd9f8af3b0c5757d2"><code>&#34;a2p&#45;req&#34;</code></span>

<a id="dt-12013039402717d72b48"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-8472c6e17fb2491b6ba3"><code>&#34;p2a&#45;ack&#34;</code></span>

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

**Item 3**

> **Allowed values (<code>enum</code>):** <a id="dt-d213970298548030d3f6"></a> <span id="dt-ed6a115edbc9a55e02c4"><code>&#34;p2a&#45;req&#34;</code></span>, <span id="dt-9de7870dfaa4070fdd3c"><code>&#34;a2p&#45;doorbell&#34;</code></span>

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

**Item 4**

> **Exact value (<code>const</code>):** <span id="dt-98e4b3caabf49b98c17d"><code>&#34;a2p&#45;ack&#34;</code></span>

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

**Item 5**

> **Exact value (<code>const</code>):** <span id="dt-f5b0caab3d0e3bc730aa"><code>&#34;a2p&#45;doorbell&#34;</code></span>

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

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

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

<div id="dt-b3ddec0f69e9f0c0dc40">
<p style="white-space: pre-wrap">The RPMI shared memory transport supports P2A doorbell as a wired interrupt and this property specifies the interrupt source.</p>
</div>

<a id="dt-7f9784704b6acffabda3"></a>

### <code>msi&#45;parent</code> — not listed as required here

<div id="dt-1ceeaa301b582d73ee88">
<p style="white-space: pre-wrap">The RPMI shared memory transport supports P2A doorbell as a system MSI and this property specifies the target MSI controller.</p>
</div>

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

### <code>riscv&#44;slot&#45;size</code> — required here

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

**Minimum value (<code>minimum</code>):** <span id="dt-0ca7b8f77509b3c38e88"><code>64</code></span>

<div id="dt-769f774fce67dfadc6a8">
<p style="white-space: pre-wrap">Power-of-2 RPMI slot size of the RPMI shared memory transport.</p>
</div>

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

### <code>riscv&#44;a2p&#45;doorbell&#45;value</code> — not listed as required here

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

**Default value (<code>default</code>):** <span id="dt-4856602999420f29b997"><code>1</code></span>

<div id="dt-1f855433c2642031e2d1">
<p style="white-space: pre-wrap">Value written to the 32-bit A2P doorbell register.</p>
</div>

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

### <code>riscv&#44;p2a&#45;doorbell&#45;sysmsi&#45;index</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-8f4e101fe2d004fdb037">[<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-25042f17f2b28a2fb7d6">
<p style="white-space: pre-wrap">The RPMI shared memory transport supports P2A doorbell as a system MSI and this property specifies system MSI index to be used for configuring the P2A doorbell MSI.</p>
</div>

<a id="dt-02ba4fa8955648673731"></a>

### <code>&#35;mbox&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-35dce2a22cd12b009c30"><code>1</code></span>

<div id="dt-c8db8f9a4474894f1bab">
<p style="white-space: pre-wrap">The first cell specifies RPMI service group ID.</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;reg&#45;names&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;riscv&#44;slot&#45;size&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;&#35;mbox&#45;cells&#34;</code></span>

<a id="dt-413065af65ac6af8f24e"></a>

## At least one of these rules must match (<code>anyOf</code>)

<a id="dt-96eb361b08260472facb"></a>

### Rule 1

> **Required in this object (<code>required</code>):** <a id="dt-a3ce052275bac2469e04"></a> <span id="dt-396aa8b3d1b1aeeb2c7a"><code>&#34;interrupts&#34;</code></span>

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

### Rule 2

> **Required in this object (<code>required</code>):** <a id="dt-bb61b4b3827abc4e9b85"></a> <span id="dt-cffc196e945e46f91e3a"><code>&#34;msi&#45;parent&#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">// Example 1 (RPMI shared memory with only 2 queues):
mailbox@10080000 {
    compatible = "riscv,rpmi-shmem-mbox";
    reg = &lt;0x10080000 0x10000&gt;,
          &lt;0x10090000 0x10000&gt;;
    reg-names = "a2p-req", "p2a-ack";
    msi-parent = &lt;&amp;imsic_mlevel&gt;;
    riscv,slot-size = &lt;64&gt;;
    #mbox-cells = &lt;1&gt;;
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">// Example 2 (RPMI shared memory with only 4 queues):
mailbox@10001000 {
    compatible = "riscv,rpmi-shmem-mbox";
    reg = &lt;0x10001000 0x800&gt;,
          &lt;0x10001800 0x800&gt;,
          &lt;0x10002000 0x800&gt;,
          &lt;0x10002800 0x800&gt;,
          &lt;0x10003000 0x4&gt;;
    reg-names = "a2p-req", "p2a-ack", "p2a-req", "a2p-ack", "a2p-doorbell";
    msi-parent = &lt;&amp;imsic_mlevel&gt;;
    riscv,slot-size = &lt;64&gt;;
    riscv,a2p-doorbell-value = &lt;0x00008000&gt;;
    #mbox-cells = &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>

---

# RISC-V SBI Message Proxy (MPXY) extension based mailbox

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

> Device-tree binding reference for RISC-V SBI Message Proxy (MPXY) extension based mailbox.

<!-- 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;mailbox&#47;riscv&#44;sbi&#45;mpxy&#45;mbox&#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;Anup Patel &#60;anup&#64;brainfault&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The RISC-V SBI Message Proxy (MPXY) extension [1] allows supervisor
software to send messages through the SBI implementation (M-mode
firmware or HS-mode hypervisor). The underlying message protocol
and message format used by the supervisor software could be some
other standard protocol compatible with the SBI MPXY extension
(such as RISC-V Platform Management Interface (RPMI) [2]).</p>
<p style="white-space: pre-wrap">===========================================
References
===========================================</p>
<pre><code>[1] RISC-V Supervisor Binary Interface (SBI) v3.0 (or higher)
    https://github.com/riscv-non-isa/riscv-sbi-doc/releases</code></pre>
<pre><code>[2] RISC-V Platform Management Interface (RPMI) v1.0 (or higher)
    https://github.com/riscv-non-isa/riscv-rpmi/releases</code></pre>
</div>

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;riscv&#44;sbi&#45;mpxy&#45;mbox&#34;</code></span>

<a id="dt-02ba4fa8955648673731"></a>

### <code>&#35;mbox&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-35dce2a22cd12b009c30"><code>2</code></span>

<div id="dt-c8db8f9a4474894f1bab">
<p style="white-space: pre-wrap">The first cell specifies channel_id of the SBI MPXY channel, the second cell specifies MSG_PROT_ID of the SBI MPXY channel</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;&#35;mbox&#45;cells&#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">mailbox {
      compatible = "riscv,sbi-mpxy-mbox";
      #mbox-cells = &lt;2&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>

---

# Rockchip RK3368 Mailbox Controller

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

> Device-tree binding reference for Rockchip RK3368 Mailbox Controller.

<!-- 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;mailbox&#47;rockchip&#44;rk3368&#45;mailbox&#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;Heiko Stuebner &#60;heiko&#64;sntech&#46;de&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Rockchip mailbox is used by the Rockchip CPU cores to communicate requests to MCU processor.</p>
</div>

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;rockchip&#44;rk3368&#45;mailbox&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

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

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

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

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

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

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-882f4571b4b135d59582"><code>&#34;pclk&#95;mailbox&#34;</code></span>

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

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

<div id="dt-b3ddec0f69e9f0c0dc40">
<p style="white-space: pre-wrap">One interrupt for each channel</p>
</div>

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

<a id="dt-02ba4fa8955648673731"></a>

### <code>&#35;mbox&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-35dce2a22cd12b009c30"><code>1</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;mbox&#45;cells&#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;

mailbox@ff6b0000 {
    compatible = "rockchip,rk3368-mailbox";
    reg = &lt;0xff6b0000 0x1000&gt;;
    interrupts = &lt;GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH&gt;,
                 &lt;GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH&gt;,
                 &lt;GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH&gt;,
                 &lt;GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH&gt;;
    #mbox-cells = &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>

---

# Sophgo CV1800/SG2000 mailbox controller

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

> Device-tree binding reference for Sophgo CV1800/SG2000 mailbox controller.

<!-- SPDX-License-Identifier: (GPL-2.0 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;mailbox&#47;sophgo&#44;cv1800b&#45;mailbox&#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;Yuntao Dai &#60;d1581209858&#64;live&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Junhui Liu &#60;junhui&#46;liu&#64;pigmoral&#46;tech&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Mailboxes integrated in Sophgo CV1800/SG2000 SoCs have 8 channels, each shipping an 8-byte FIFO. Any processor can write to an arbitrary channel and raise interrupts to receivers. Sending messages to itself is also supported.</p>
</div>

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;sophgo&#44;cv1800b&#45;mailbox&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

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

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

<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-02ba4fa8955648673731"></a>

### <code>&#35;mbox&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-35dce2a22cd12b009c30"><code>2</code></span>

<div id="dt-c8db8f9a4474894f1bab">
<p style="white-space: pre-wrap">&lt;&amp;phandle channel target&gt;
phandle : Label name of mailbox controller
channel : 0-7, Channel index
target  : 0-3, Target processor ID</p>
<p style="white-space: pre-wrap">Sophgo CV1800/SG2000 SoCs include the following processors, numbered as:
&lt;0&gt; Cortex-A53 (Only available on CV181X/SG200X)
&lt;1&gt; C906B
&lt;2&gt; C906L
&lt;3&gt; 8051</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;mbox&#45;cells&#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/irq.h&gt;

mailbox@1900000 {
    compatible = "sophgo,cv1800b-mailbox";
    reg = &lt;0x01900000 0x1000&gt;;
    interrupts = &lt;101 IRQ_TYPE_LEVEL_HIGH&gt;;
    #mbox-cells = &lt;2&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 OR BSD-2-Clause)</span></p>

</details>

---

# Spreadtrum mailbox controller

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

> Device-tree binding reference for Spreadtrum mailbox controller.

<!-- SPDX-License-Identifier: (GPL-2.0 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;mailbox&#47;sprd&#45;mailbox&#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;Orson Zhai &#60;orsonzhai&#64;gmail&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Baolin Wang &#60;baolin&#46;wang7&#64;gmail&#46;com&#62;&#34;</code></span>, <span id="dt-2f1516674166ff6e66b8"><code>&#34;Chunyan Zhang &#60;zhang&#46;lyra&#64;gmail&#46;com&#62;&#34;</code></span>

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

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

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

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

**Allowed values (<code>enum</code>):** <a id="dt-207128c21dbd6355c894"></a> <span id="dt-bd234eb96375d77ca611"><code>&#34;sprd&#44;sc9860&#45;mailbox&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;sprd&#44;sc9863a&#45;mailbox&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;sprd&#44;ums9230&#45;mailbox&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

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

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

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

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

**Item 1**

> <div id="dt-e773fec0b410a1422253">
> <p style="white-space: pre-wrap">inbox registers' base address</p>
> </div>

<a id="dt-302751dd79bfd514b9d7"></a>

**Item 2**

> <div id="dt-b729cb065b03c20c0e01">
> <p style="white-space: pre-wrap">outbox registers' base address</p>
> </div>

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

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

**Minimum number of items (<code>minItems</code>):** <span id="dt-1691b9edf145244244a0"><code>2</code></span>

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

<a id="dt-8aa4fd7705c68de75d2b"></a>

### <code>interrupt&#45;names</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-30089c7b6e408306475b"><code>2</code></span>

<a id="dt-77e94e63ca0b20bb5ef1"></a>

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

<a id="dt-1198ecbdbe49337cf73e"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-7f7686a533ef09dda0b1"><code>&#34;inbox&#34;</code></span>

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

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-5af1964d23a153c89b8a"><code>&#34;outbox&#34;</code></span>

<a id="dt-01a6f91e38388cdf0f5a"></a>

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-25e85adf3e7caf29cd92"><code>&#34;supp&#45;outbox&#34;</code></span>

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

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

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

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;enable&#34;</code></span>

<a id="dt-02ba4fa8955648673731"></a>

### <code>&#35;mbox&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-35dce2a22cd12b009c30"><code>1</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;interrupt&#45;names&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;&#35;mbox&#45;cells&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;clocks&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;clock&#45;names&#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;
mailbox: mailbox@400a0000 {
  compatible = "sprd,sc9860-mailbox";
  reg = &lt;0x400a0000 0x8000&gt;, &lt;0x400a8000 0x8000&gt;;
  #mbox-cells = &lt;1&gt;;
  clock-names = "enable";
  clocks = &lt;&amp;aon_gate 53&gt;;
  interrupts = &lt;GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH&gt;, &lt;GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH&gt;;
  interrupt-names = "inbox", "outbox";
};
</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 OR BSD-2-Clause)</span></p>

</details>

---

# STMicroelectronics Mailbox Driver for STi platform

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

> Device-tree binding reference for STMicroelectronics Mailbox Driver for STi platform.

<!-- SPDX-License-Identifier: (GPL-2.0 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;mailbox&#47;st&#44;sti&#45;mailbox&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Each ST Mailbox IP currently consists of 4 instances of 32 channels. Messages are passed between Application and Remote processors using shared memory.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Patrice Chotard &#60;patrice&#46;chotard&#64;foss&#46;st&#46;com&#62;&#34;</code></span>

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;st&#44;stih407&#45;mailbox&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

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

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

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

### <code>mbox&#45;name</code> — not listed as required here

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

<div id="dt-6e49fa489f8460c5b544">
<p style="white-space: pre-wrap">name of the mailbox IP</p>
</div>

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

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

<div id="dt-b3ddec0f69e9f0c0dc40">
<p style="white-space: pre-wrap">the irq line for the RX mailbox</p>
</div>

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

<a id="dt-02ba4fa8955648673731"></a>

### <code>&#35;mbox&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-35dce2a22cd12b009c30"><code>2</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;mbox&#45;cells&#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;
mailbox0: mailbox@8f00000  {
    compatible = "st,stih407-mailbox";
    reg = &lt;0x8f00000 0x1000&gt;;
    interrupts = &lt;GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH&gt;;
    #mbox-cells = &lt;2&gt;;
    mbox-name = "a9";
};
</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 OR BSD-2-Clause)</span></p>

</details>

---

# STMicroelectronics STM32 IPC controller

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

> Device-tree binding reference for STMicroelectronics STM32 IPC controller.

<!-- SPDX-License-Identifier: (GPL-2.0 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;mailbox&#47;st&#44;stm32&#45;ipcc&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The IPCC block provides a non blocking signaling mechanism to post and retrieve messages in an atomic way between two processors. It provides the signaling for N bidirectionnal channels. The number of channels (N) can be read from a dedicated register.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Fabien Dessenne &#60;fabien&#46;dessenne&#64;foss&#46;st&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Arnaud Pouliquen &#60;arnaud&#46;pouliquen&#64;foss&#46;st&#46;com&#62;&#34;</code></span>

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;st&#44;stm32mp1&#45;ipcc&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

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

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

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

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

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

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

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

<a id="dt-985aed94c3a5de8e946a"></a>

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

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

**Item 1**

> <div id="dt-094ee990c529b33ab668">
> <p style="white-space: pre-wrap">rx channel occupied</p>
> </div>

<a id="dt-14fdf3275cf454d3c593"></a>

**Item 2**

> <div id="dt-f26fcb0c97f34db34fe4">
> <p style="white-space: pre-wrap">tx channel free</p>
> </div>

<a id="dt-8aa4fd7705c68de75d2b"></a>

### <code>interrupt&#45;names</code> — required here

<a id="dt-77e94e63ca0b20bb5ef1"></a>

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

<a id="dt-1198ecbdbe49337cf73e"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-7f7686a533ef09dda0b1"><code>&#34;rx&#34;</code></span>

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

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-5af1964d23a153c89b8a"><code>&#34;tx&#34;</code></span>

<a id="dt-2a09d6d20023955671c8"></a>

### <code>wakeup&#45;source</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-02ba4fa8955648673731"></a>

### <code>&#35;mbox&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-35dce2a22cd12b009c30"><code>1</code></span>

<a id="dt-27b85f7958534107d141"></a>

### <code>st&#44;proc&#45;id</code> — required here

<div id="dt-2a3dd98013a860417e5b">
<p style="white-space: pre-wrap">Processor id using the mailbox (0 or 1)</p>
</div>

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

**Allowed values (<code>enum</code>):** <a id="dt-81370efb8c10aa86748a"></a> <span id="dt-94178adf08b12d27d187"><code>0</code></span>, <span id="dt-97ad000360ff043397e8"><code>1</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;st&#44;proc&#45;id&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;interrupt&#45;names&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;&#35;mbox&#45;cells&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;interrupts&#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/clock/stm32mp1-clks.h&gt;
ipcc: mailbox@4c001000 {
  compatible = "st,stm32mp1-ipcc";
  #mbox-cells = &lt;1&gt;;
  reg = &lt;0x4c001000 0x400&gt;;
  st,proc-id = &lt;0&gt;;
  interrupts-extended = &lt;&amp;exti 61 1&gt;,
                        &lt;&amp;intc GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH&gt;;
  interrupt-names = "rx", "tx";
  clocks = &lt;&amp;rcc_clk IPCC&gt;;
  wakeup-source;
};
</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 OR BSD-2-Clause)</span></p>

</details>

---

# T-head TH1520 Mailbox Controller

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

> Device-tree binding reference for T-head TH1520 Mailbox Controller.

<!-- 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;mailbox&#47;thead&#44;th1520&#45;mbox&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The T-head mailbox controller enables communication and coordination between cores within the SoC by passing messages (e.g., data, status, and control) through mailbox channels. It also allows one core to signal another processor using interrupts via the Interrupt Controller Unit (ICU).</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Michal Wilczynski &#60;m&#46;wilczynski&#64;samsung&#46;com&#62;&#34;</code></span>

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;thead&#44;th1520&#45;mbox&#34;</code></span>

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

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

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

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

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">Clock for the local mailbox</p>
> </div>

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

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">Clock for remote ICU 0</p>
> </div>

<a id="dt-2e04c77836db3f7805be"></a>

**Item 3**

> <div id="dt-98e44cf6c35fb1f8c6f9">
> <p style="white-space: pre-wrap">Clock for remote ICU 1</p>
> </div>

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

**Item 4**

> <div id="dt-dea0dc8762ea31ff72ac">
> <p style="white-space: pre-wrap">Clock for remote ICU 2</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;clk&#45;local&#34;</code></span>

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

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;clk&#45;remote&#45;icu0&#34;</code></span>

<a id="dt-261be8310c899fd46631"></a>

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-ad55fa67f3e765bf6ab6"><code>&#34;clk&#45;remote&#45;icu1&#34;</code></span>

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

**Item 4**

> **Exact value (<code>const</code>):** <span id="dt-a00c09b3bb0bf38fee22"><code>&#34;clk&#45;remote&#45;icu2&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

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

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

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

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

**Item 1**

> <div id="dt-e773fec0b410a1422253">
> <p style="white-space: pre-wrap">Mailbox local base address</p>
> </div>

<a id="dt-302751dd79bfd514b9d7"></a>

**Item 2**

> <div id="dt-b729cb065b03c20c0e01">
> <p style="white-space: pre-wrap">Remote ICU 0 base address</p>
> </div>

<a id="dt-80d36cb915ffeff5364a"></a>

**Item 3**

> <div id="dt-5151e97c331b693ee0dd">
> <p style="white-space: pre-wrap">Remote ICU 1 base address</p>
> </div>

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

**Item 4**

> <div id="dt-e7b71b4619e949c538b1">
> <p style="white-space: pre-wrap">Remote ICU 2 base address</p>
> </div>

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

### <code>reg&#45;names</code> — required here

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-69afd9f8af3b0c5757d2"><code>&#34;local&#34;</code></span>

<a id="dt-12013039402717d72b48"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-8472c6e17fb2491b6ba3"><code>&#34;remote&#45;icu0&#34;</code></span>

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

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-bd78c6ffbdc5ce20feb0"><code>&#34;remote&#45;icu1&#34;</code></span>

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

**Item 4**

> **Exact value (<code>const</code>):** <span id="dt-98e4b3caabf49b98c17d"><code>&#34;remote&#45;icu2&#34;</code></span>

<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-02ba4fa8955648673731"></a>

### <code>&#35;mbox&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-35dce2a22cd12b009c30"><code>1</code></span>

<div id="dt-c8db8f9a4474894f1bab">
<p style="white-space: pre-wrap">The one and only cell describes destination CPU ID.</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;clocks&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;reg&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;reg&#45;names&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;interrupts&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;&#35;mbox&#45;cells&#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/clock/thead,th1520-clk-ap.h&gt;
soc {
  #address-cells = &lt;2&gt;;
  #size-cells = &lt;2&gt;;
  mailbox@ffffc38000 {
    compatible = "thead,th1520-mbox";
    reg = &lt;0xff 0xffc38000 0x0 0x4000&gt;,
          &lt;0xff 0xffc44000 0x0 0x1000&gt;,
          &lt;0xff 0xffc4c000 0x0 0x1000&gt;,
          &lt;0xff 0xffc54000 0x0 0x1000&gt;;
    reg-names = "local", "remote-icu0", "remote-icu1", "remote-icu2";
    clocks = &lt;&amp;clk CLK_MBOX0&gt;, &lt;&amp;clk CLK_MBOX1&gt;, &lt;&amp;clk CLK_MBOX2&gt;,
             &lt;&amp;clk CLK_MBOX3&gt;;
    clock-names = "clk-local", "clk-remote-icu0", "clk-remote-icu1",
                  "clk-remote-icu2";
    interrupts = &lt;28&gt;;
    #mbox-cells = &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>

---

# TI OMAP2+ and K3 Mailbox devices

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

> Device-tree binding reference for TI OMAP2+ and K3 Mailbox devices.

<!-- 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;mailbox&#47;ti&#44;omap&#45;mailbox&#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;Suman Anna &#60;s&#45;anna&#64;ti&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The OMAP Mailbox hardware facilitates communication between different
processors using a queued mailbox interrupt mechanism. The IP block is
external to the various processor subsystems and is connected on an
interconnect bus. The communication is achieved through a set of registers
for message storage and interrupt configuration registers.</p>
<p style="white-space: pre-wrap">Each mailbox IP block/cluster has a certain number of h/w fifo queues and
output interrupt lines. An output interrupt line is routed to an interrupt
controller within a processor subsystem, and there can be more than one line
going to a specific processor's interrupt controller. The interrupt line
connections are fixed for an instance and are dictated by the IP integration
into the SoC (excluding the SoCs that have an Interrupt Crossbar or an
Interrupt Router IP). Each interrupt line is programmable through a set of
interrupt configuration registers, and have a rx and tx interrupt source per
h/w fifo. Communication between different processors is achieved through the
appropriate programming of the rx and tx interrupt sources on the appropriate
interrupt lines.</p>
<p style="white-space: pre-wrap">The number of h/w fifo queues and interrupt lines dictate the usable
registers. All the current OMAP SoCs except for the newest DRA7xx SoC has a
single IP instance. DRA7xx has multiple instances with different number of
h/w fifo queues and interrupt lines between different instances. The interrupt
lines can also be routed to different processor sub-systems on DRA7xx as they
are routed through the Crossbar, a kind of interrupt router/multiplexer. The
K3 AM65x, J721E and J7200 SoCs has each of these instances form a cluster and
combine multiple clusters into a single IP block present within the Main
NavSS. The interrupt lines from all these clusters are multiplexed and routed
to different processor subsystems over a limited number of common interrupt
output lines of an Interrupt Router. The AM64x SoCS also uses a single IP
block comprising of multiple clusters, but the number of clusters are
smaller, and the interrupt output lines are connected directly to various
processors.</p>
<p style="white-space: pre-wrap">Mailbox Controller Nodes
=========================
A Mailbox device node is used to represent a Mailbox IP instance/cluster
within a SoC. The sub-mailboxes (actual communication channels) are
represented as child nodes of this parent node.</p>
<p style="white-space: pre-wrap">Mailbox Users
==============
A device needing to communicate with a target processor device should specify
them using the common mailbox binding properties, "mboxes" and the optional
"mbox-names" (please see Documentation/devicetree/bindings/mailbox/mailbox.txt
for details). Each value of the mboxes property should contain a phandle to
the mailbox controller device node and an args specifier that will be the
phandle to the intended sub-mailbox child node to be used for communication.
The equivalent "mbox-names" property value can be used to give a name to the
communication channel to be used by the client user.</p>
</div>

<a id="dt-7fcd144dee0d1b44122a"></a>

## Reusable definitions (<code>&#36;defs</code>)

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

### <code>omap&#45;mbox&#45;descriptor</code>

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

<div id="dt-0e99bf01f2d5803d1b85">
<p style="white-space: pre-wrap">The omap-mbox-descriptor is made of up of 3 cells and represents a single uni-directional communication channel. A typical sub-mailbox device uses two such channels - one for transmitting (Tx) and one for receiving (Rx).</p>
</div>

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

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

<a id="dt-29d81e2bcf06e4d4027a"></a>

**Item 1**

> <div id="dt-3c36f373ff42b814e149">
> <p style="white-space: pre-wrap">mailbox fifo id used either for transmitting on ti,mbox-tx channel or for receiving on ti,mbox-rx channel (fifo_id). This is the hardware fifo number within a mailbox cluster.</p>
> </div>

<a id="dt-9a656f2ae7b0555632cf"></a>

**Item 2**

> <div id="dt-57534b6a5d2dd813eb07">
> <p style="white-space: pre-wrap">irq identifier index number to use from the parent's interrupts data. Should be 0 for most of the cases, a positive index value is seen only on mailboxes that have multiple interrupt lines connected to the MPU processor (irq_id). This is an index number in the listed interrupts property in the DT nodes.</p>
> </div>

<a id="dt-2b140a4362ad64e517a1"></a>

**Item 3**

> <div id="dt-3029dd6c973ede7fdad3">
> <p style="white-space: pre-wrap">mailbox user id for identifying the interrupt line associated with generating a tx/rx fifo interrupt (usr_id). This is the hardware user id number within a mailbox cluster.</p>
> </div>

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

### <code>omap&#45;sub&#45;mailbox</code>

**Value type (<code>type</code>):** <span id="dt-45241074aadb08acf88c"><code>&#34;object&#34;</code></span>

<div id="dt-127732dc8f0032103431">
<p style="white-space: pre-wrap">The omap-sub-mailbox is a child node within a Mailbox controller device node and represents the actual communication channel used to send and receive messages between the host processor and a remote processor. Each child node should have a unique node name across all the different mailbox device nodes.</p>
</div>

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

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

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

**<code>ti&#44;mbox&#45;tx</code> — required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-b702ed4eb1871cb10336">[<code>&#35;&#47;&#36;defs&#47;omap&#45;mbox&#45;descriptor</code>](<#dt-d0c4c4a2b1dfe76dc718>)</span>

<div id="dt-b9790da0b4eee415bc63">
<p style="white-space: pre-wrap">sub-mailbox descriptor property defining a Tx fifo.</p>
</div>

<a id="dt-02d786d81bb9575b06b5"></a>

**<code>ti&#44;mbox&#45;rx</code> — required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-4bbc28860c64b1dbcc07">[<code>&#35;&#47;&#36;defs&#47;omap&#45;mbox&#45;descriptor</code>](<#dt-d0c4c4a2b1dfe76dc718>)</span>

<div id="dt-5166af4234e6df1533ff">
<p style="white-space: pre-wrap">sub-mailbox descriptor property defining a Rx fifo.</p>
</div>

<a id="dt-909dc9ed0fcdfcc70e01"></a>

**<code>ti&#44;mbox&#45;send&#45;noirq</code> — not listed as required here**

**Value type (<code>type</code>):** <span id="dt-d3c9a3a94fb93ab6a977"><code>&#34;boolean&#34;</code></span>

<div id="dt-38ce557e8317f0b500ba">
<p style="white-space: pre-wrap">Quirk flag to allow the client user of this sub-mailbox to send messages without triggering a Tx ready interrupt, and to control the Tx ticker. Should be used only on sub-mailboxes used to communicate with WkupM3 remote processor on AM33xx/AM43xx SoCs.</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-c2d6753007c6d12d1d35"></a> <span id="dt-13f9b170443f3532f8b1"><code>&#34;ti&#44;mbox&#45;tx&#34;</code></span>, <span id="dt-b104b58ceac62e25caee"><code>&#34;ti&#44;mbox&#45;rx&#34;</code></span>

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

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

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

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

**Allowed values (<code>enum</code>):** <a id="dt-207128c21dbd6355c894"></a> <span id="dt-bd234eb96375d77ca611"><code>&#34;ti&#44;omap2&#45;mailbox&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;ti&#44;omap3&#45;mailbox&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;ti&#44;omap4&#45;mailbox&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;ti&#44;am654&#45;mailbox&#34;</code></span>, <span id="dt-498d24c42855e222b0fd"><code>&#34;ti&#44;am64&#45;mailbox&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

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

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

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

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

<div id="dt-b3ddec0f69e9f0c0dc40">
<p style="white-space: pre-wrap">Contains the interrupt information for the mailbox device. The format is dependent on which interrupt controller the Mailbox device uses. The number of interrupts listed will at most be the value specified in ti,mbox-num-users property, but is usually limited by the number of interrupts reaching the main processor. An interrupt-parent property is required on SoCs where the interrupt lines are connected through a Interrupt Router before reaching the main processor's GIC.</p>
</div>

<a id="dt-02ba4fa8955648673731"></a>

### <code>&#35;mbox&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-35dce2a22cd12b009c30"><code>1</code></span>

<div id="dt-c8db8f9a4474894f1bab">
<p style="white-space: pre-wrap">The specifier is a phandle to an omap-sub-mailbox device.</p>
</div>

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

### <code>ti&#44;mbox&#45;num&#45;users</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-f8840c5000cd5e4463c6">[<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-7ea21f7fcff96785956b">
<p style="white-space: pre-wrap">Number of targets (processor devices) that the mailbox device can interrupt.</p>
</div>

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

### <code>ti&#44;mbox&#45;num&#45;fifos</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-2512c6f4c7f7d869400f">[<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-f5f6e62123915bac764b">
<p style="white-space: pre-wrap">Number of h/w fifo queues within the mailbox IP block.</p>
</div>

<a id="dt-78eb8765da1b42beba07"></a>

### <code>ti&#44;hwmods</code> — not listed as required here

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

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

<div id="dt-6a8457e4523b4b4a94b2">
<p style="white-space: pre-wrap">Name of the hwmod associated with the mailbox. This should be defined in the mailbox node only if the node is not defined as a child node of a corresponding sysc interconnect node.
This property is only needed on some legacy OMAP SoCs which have not yet been converted to the ti,sysc interconnect hierarchy, but is otherwise considered obsolete.</p>
</div>

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

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-916a1591c989eb0b1c7f"></a>

### <code>&#94;mbox&#45;&#91;a&#45;z0&#45;9&#45;&#93;&#43;&#36;</code> — name matches this regular expression

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-ac6890e18c9177d458d8">[<code>&#35;&#47;&#36;defs&#47;omap&#45;sub&#45;mailbox</code>](<#dt-c7dae8255c9105b66192>)</span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;mbox&#45;cells&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;ti&#44;mbox&#45;num&#45;users&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;ti&#44;mbox&#45;num&#45;fifos&#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>)
>
> > <a id="dt-97f47e9dc804c839f86d"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-bbadeeb73dfaefabae79"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > **Allowed values (<code>enum</code>):** <a id="dt-867fe1927430e9b33ede"></a> <span id="dt-7226965ee25a457638c7"><code>&#34;ti&#44;am654&#45;mailbox&#34;</code></span>, <span id="dt-2f3cfadcb56c1f0fc8f8"><code>&#34;ti&#44;am64&#45;mailbox&#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-7e9a469e231c6160d370"></a>
> >
> > **<code>ti&#44;mbox&#45;num&#45;users</code> — not listed as required here**
> >
> > **Exact value (<code>const</code>):** <span id="dt-9548474a79ea67827528"><code>4</code></span>
> >
> > <a id="dt-93771c71afe0bfd57411"></a>
> >
> > **<code>ti&#44;mbox&#45;num&#45;fifos</code> — not listed as required here**
> >
> > **Exact value (<code>const</code>):** <span id="dt-553ddbf21da7656b9acb"><code>16</code></span>
> >
> > <a id="dt-7787b28725c144fbfc92"></a>
> >
> > **<code>interrupts</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-434103e5dab0dc9821c6"><code>1</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-f83fd3bbdeba05802410"><code>4</code></span>

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

### Rule 2

> <a id="dt-ffbf5afb799d5f07b3e1"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-05d9c37a1275e72a170e"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-e9866824361c1aee7933"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > **Allowed values (<code>enum</code>):** <a id="dt-c0ab484bd71d0671c6ab"></a> <span id="dt-4eb87bb951292ac8d56d"><code>&#34;ti&#44;omap4&#45;mailbox&#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-5c1772a4bfa49c62bc56"></a>
> >
> > **<code>ti&#44;mbox&#45;num&#45;users</code> — not listed as required here**
> >
> > **Allowed values (<code>enum</code>):** <a id="dt-613ccf3f4a9b33311b82"></a> <span id="dt-685ed146dc4b189efbec"><code>3</code></span>, <span id="dt-1fda4f59961d290d089e"><code>4</code></span>
> >
> > <a id="dt-f652360964f76189c0b8"></a>
> >
> > **<code>ti&#44;mbox&#45;num&#45;fifos</code> — not listed as required here**
> >
> > **Allowed values (<code>enum</code>):** <a id="dt-cb458c1cb4bc50d26441"></a> <span id="dt-22babded6d0f2783168a"><code>8</code></span>, <span id="dt-e4a8e26a60b124f0b845"><code>12</code></span>
> >
> > <a id="dt-46e318450db8639361ba"></a>
> >
> > **<code>interrupts</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-4e9b8776c0efa8e9014c"><code>1</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-5826f726e17db7a38ebe"><code>4</code></span>

<a id="dt-317510ea5c8bf789ca60"></a>

### Rule 3

> <a id="dt-15ef78abba37234c7e3a"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-81c13bb46c56768b42c8"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-676f6e45d3a322ea7096"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > **Allowed values (<code>enum</code>):** <a id="dt-22249f3875646fe5ea9e"></a> <span id="dt-5632855001ed404c9e46"><code>&#34;ti&#44;omap3&#45;mailbox&#34;</code></span>
>
> <a id="dt-86c371e5831ff1f84ce5"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-4b2e0558620eefde94e1"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-e5ef2580bc2a47b0a0fb"></a>
> >
> > **<code>ti&#44;mbox&#45;num&#45;users</code> — not listed as required here**
> >
> > **Exact value (<code>const</code>):** <span id="dt-791f1dfa8baf4e472c1d"><code>2</code></span>
> >
> > <a id="dt-031c2af61ff8ec6a1e1f"></a>
> >
> > **<code>ti&#44;mbox&#45;num&#45;fifos</code> — not listed as required here**
> >
> > **Exact value (<code>const</code>):** <span id="dt-795f9a540b5116ebc7a3"><code>2</code></span>
> >
> > <a id="dt-3a46c9d3a981c9cf87fd"></a>
> >
> > **<code>interrupts</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-bdba428219950f8e5929"><code>1</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-52113361a767aeb1a6b3"><code>1</code></span>

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

### Rule 4

> <a id="dt-5d622c5a2672c1e49b35"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-8d84f7bba76b4e26221f"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-11dc65c5cf7abc0317bb"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > **Allowed values (<code>enum</code>):** <a id="dt-419957a69f31e57c7f39"></a> <span id="dt-69c17dc0986a7dcb908e"><code>&#34;ti&#44;omap2&#45;mailbox&#34;</code></span>
>
> <a id="dt-889ceb40bc531bf0dc1d"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-7cd597a6bb6b91730c25"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-b21c975638afc8435246"></a>
> >
> > **<code>ti&#44;mbox&#45;num&#45;users</code> — not listed as required here**
> >
> > **Exact value (<code>const</code>):** <span id="dt-be6ebc6a1c082161bb02"><code>4</code></span>
> >
> > <a id="dt-223961430473a2f7bb9c"></a>
> >
> > **<code>ti&#44;mbox&#45;num&#45;fifos</code> — not listed as required here**
> >
> > **Exact value (<code>const</code>):** <span id="dt-ae8bfe9a3a3108689b6d"><code>6</code></span>
> >
> > <a id="dt-a382a3bebc56926866a8"></a>
> >
> > **<code>interrupts</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-b0f2d19fab152c16b276"><code>1</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-f9da6b3da8dee256e96e"><code>2</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">/* OMAP4 */
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
mailbox@4a0f4000 {
    compatible = "ti,omap4-mailbox";
    reg = &lt;0x4a0f4000 0x200&gt;;
    interrupts = &lt;GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH&gt;;
    #mbox-cells = &lt;1&gt;;
    ti,mbox-num-users = &lt;3&gt;;
    ti,mbox-num-fifos = &lt;8&gt;;

    mbox_ipu: mbox-ipu {
        ti,mbox-tx = &lt;0 0 0&gt;;
        ti,mbox-rx = &lt;1 0 0&gt;;
    };
    mbox_dsp: mbox-dsp {
        ti,mbox-tx = &lt;3 0 0&gt;;
        ti,mbox-rx = &lt;2 0 0&gt;;
    };
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">/* AM33xx */
mailbox@480c8000 {
    compatible = "ti,omap4-mailbox";
    reg = &lt;0x480c8000 0x200&gt;;
    interrupts = &lt;77&gt;;
    #mbox-cells = &lt;1&gt;;
    ti,mbox-num-users = &lt;4&gt;;
    ti,mbox-num-fifos = &lt;8&gt;;

    mbox_wkupm3: mbox-wkup-m3 {
        ti,mbox-tx = &lt;0 0 0&gt;;
        ti,mbox-rx = &lt;0 0 3&gt;;
        ti,mbox-send-noirq;
    };
};
</code></pre>

<pre id="dt-d0212a4cd671f89a0b40"><code class="language-dts">/* AM65x */
mailbox@31f80000 {
    compatible = "ti,am654-mailbox";
    reg = &lt;0x31f80000 0x200&gt;;
    #mbox-cells = &lt;1&gt;;
    ti,mbox-num-users = &lt;4&gt;;
    ti,mbox-num-fifos = &lt;16&gt;;
    interrupt-parent = &lt;&amp;intr_main_navss&gt;;
    interrupts = &lt;436&gt;;

    mbox_mcu_r5fss0_core0: mbox-mcu-r5fss0-core0 {
        ti,mbox-tx = &lt;1 0 0&gt;;
        ti,mbox-rx = &lt;0 0 0&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>

<p id="dt-comment-1"><strong>Line 119:</strong> <span> for OMAP2420, OMAP2430 SoCs</span></p>

<p id="dt-comment-2"><strong>Line 120:</strong> <span> for OMAP3430, OMAP3630 SoCs</span></p>

<p id="dt-comment-3"><strong>Line 121:</strong> <span> for OMAP44xx, OMAP54xx, AM33xx, AM43xx and DRA7xx SoCs</span></p>

<p id="dt-comment-4"><strong>Line 122:</strong> <span> for K3 AM65x, J721E and J7200 SoCs</span></p>

<p id="dt-comment-5"><strong>Line 123:</strong> <span> for K3 AM64x SoCs</span></p>

</details>

---

# Texas Instruments' Secure Proxy

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

> Device-tree binding reference for Texas Instruments' Secure Proxy.

<!-- 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;mailbox&#47;ti&#44;secure&#45;proxy&#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;Nishanth Menon &#60;nm&#64;ti&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Texas Instruments' secure proxy is a mailbox controller that has
configurable queues selectable at SoC(System on Chip) integration. The
Message manager is broken up into different address regions that are
called "threads" or "proxies" - each instance is unidirectional and is
instantiated at SoC integration level by system controller to indicate
receive or transmit path.</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

**String pattern (<code>pattern</code>):** <span id="dt-0b2111a24a010949ece7"><code>&#34;&#94;mailbox&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;&#34;</code></span>

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

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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;ti&#44;am654&#45;secure&#45;proxy&#34;</code></span>

<a id="dt-02ba4fa8955648673731"></a>

### <code>&#35;mbox&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-35dce2a22cd12b009c30"><code>1</code></span>

<div id="dt-c8db8f9a4474894f1bab">
<p style="white-space: pre-wrap">Contains the secure proxy thread ID used for the specific transfer path.</p>
</div>

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

### <code>reg&#45;names</code> — required here

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-69afd9f8af3b0c5757d2"><code>&#34;target&#95;data&#34;</code></span>

<a id="dt-12013039402717d72b48"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-8472c6e17fb2491b6ba3"><code>&#34;rt&#34;</code></span>

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

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-bd78c6ffbdc5ce20feb0"><code>&#34;scfg&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>3</code></span>

<a id="dt-8aa4fd7705c68de75d2b"></a>

### <code>interrupt&#45;names</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-30089c7b6e408306475b"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-718f7c4b526ed5355ff2"><code>100</code></span>

<a id="dt-77e94e63ca0b20bb5ef1"></a>

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

> **String pattern (<code>pattern</code>):** <span id="dt-4e67ccfb4b8318ab13ce"><code>&#34;&#94;rx&#95;&#91;0&#45;9&#93;&#123;3&#125;&#36;&#34;</code></span>

<div id="dt-3c9c5232b17bbf88febb">
<p style="white-space: pre-wrap">Contains the interrupt name information for the Rx interrupt path for secure proxy thread in the form 'rx_&lt;PID&gt;'.</p>
</div>

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

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

**Minimum number of items (<code>minItems</code>):** <span id="dt-1691b9edf145244244a0"><code>1</code></span>

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

<div id="dt-b3ddec0f69e9f0c0dc40">
<p style="white-space: pre-wrap">Contains the interrupt information for the Rx interrupt path for secure proxy.</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;reg&#45;names&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;reg&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;interrupt&#45;names&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;interrupts&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;&#35;mbox&#45;cells&#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;
secure_proxy: mailbox@32c00000 {
    compatible = "ti,am654-secure-proxy";
    #mbox-cells = &lt;1&gt;;
    reg-names = "target_data", "rt", "scfg";
    reg = &lt;0x32c00000 0x100000&gt;,
          &lt;0x32400000 0x100000&gt;,
          &lt;0x32800000 0x100000&gt;;
    interrupt-names = "rx_011";
    interrupts = &lt;GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH&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>

---

# Xilinx IPI(Inter Processor Interrupt) mailbox controller

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

> Device-tree binding reference for Xilinx IPI(Inter Processor Interrupt) mailbox controller.

<!-- 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;mailbox&#47;xlnx&#44;zynqmp&#45;ipi&#45;mailbox&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Xilinx IPI(Inter Processor Interrupt) mailbox controller is to manage
messaging between two Xilinx Zynq UltraScale+ MPSoC IPI agents. Each IPI
agent owns registers used for notification and buffers for message.</p>
<pre><code>For Versal devices, there are two types of IPI channels:
  - Buffered channels: Support message passing and require the "msg"
  register region to be present on both the host and remote IPI agents.
  - Buffer-less channels: Support notification only and do not require the
  "msg" register region. For these channels, the "msg" region should be
  omitted.</code></pre>
<p style="white-space: pre-wrap">For message passing, both the host and remote IPI agents must define the "msg"
register region. If either agent omits the "msg" region, only notification
based communication is possible.</p>
<pre><code>             +-------------------------------------+
             | Xilinx ZynqMP IPI Controller        |
             +-------------------------------------+
  +--------------------------------------------------+
TF-A                   |                     |
                       |                     |
                       |                     |
  +--------------------------+               |
                       |                     |
                       |                     |
  +--------------------------------------------------+
            +------------------------------------------+
            |  +----------------+   +----------------+ |
Hardware    |  |  IPI Agent     |   |  IPI Buffers   | |
            |  |  Registers     |   |                | |
            |  |                |   |                | |
            |  +----------------+   +----------------+ |
            |                                          |
            | Xilinx IPI Agent Block                   |
            +------------------------------------------+</code></pre>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Shubhrajyoti Datta &#60;shubhrajyoti&#46;datta&#64;amd&#46;com&#62;&#34;</code></span>

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

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

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

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

**Allowed values (<code>enum</code>):** <a id="dt-207128c21dbd6355c894"></a> <span id="dt-bd234eb96375d77ca611"><code>&#34;xlnx&#44;zynqmp&#45;ipi&#45;mailbox&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;xlnx&#44;versal&#45;ipi&#45;mailbox&#34;</code></span>

<a id="dt-56d20c2fbc412b1c7185"></a>

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

<div id="dt-d44c6019d774fabafa96">
<p style="white-space: pre-wrap">The method of calling the PM-API firmware layer.
Permitted values are.
- "smc" : SMC #0, following the SMCCC
- "hvc" : HVC #0, following the SMCCC</p>
</div>

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

**Allowed values (<code>enum</code>):** <a id="dt-bcc5905647f9af4090ca"></a> <span id="dt-ddec530f7ba7620ddc6a"><code>&#34;smc&#34;</code></span>, <span id="dt-ce2659a732a2104a0842"><code>&#34;hvc&#34;</code></span>

**Default value (<code>default</code>):** <span id="dt-0d74aafc3615c9d5245f"><code>&#34;smc&#34;</code></span>

<a id="dt-2efe70314a961a652abe"></a>

### <code>&#35;address&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-e6e6af09ab617572731b"><code>2</code></span>

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

### <code>&#35;size&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-793e842f88ef513a8f93"><code>2</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>2</code></span>

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

### <code>reg&#45;names</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-58a7d566e1c7a6b0e414"><code>2</code></span>

<a id="dt-05fe3b1ea418cb2261f8"></a>

### <code>xlnx&#44;ipi&#45;id</code> — required here

<div id="dt-19b50ac3295c76c7a3b4">
<p style="white-space: pre-wrap">Remote Xilinx IPI agent ID of which the mailbox is connected to.</p>
</div>

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

<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-1e6b10cf5f67a6a268f5"></a>

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

<code>true</code> — No constraints added by this property rule.

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

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-14f0190420dcf8c2de95"></a>

### <code>&#94;mailbox&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;</code> — name matches this regular expression

<div id="dt-c77b4de3440e7b4e63e1">
<p style="white-space: pre-wrap">Internal ipi mailbox node</p>
</div>

**Value type (<code>type</code>):** <span id="dt-8908c570518c6c5dcf6a"><code>&#34;object&#34;</code></span>

<a id="dt-fa48c8408c5f72f15797"></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-e5fa4fa4cbd1c335b59f"></a>

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

<a id="dt-1764a82949a5d7200bd0"></a>

**<code>compatible</code> — required here**

**Allowed values (<code>enum</code>):** <a id="dt-3352b7045fcf42ea81d9"></a> <span id="dt-b01a3f0861c88f5ce6fb"><code>&#34;xlnx&#44;zynqmp&#45;ipi&#45;dest&#45;mailbox&#34;</code></span>, <span id="dt-6331d8c907a4b9df0b06"><code>&#34;xlnx&#44;versal&#45;ipi&#45;dest&#45;mailbox&#34;</code></span>

<a id="dt-3d8d9472ceadf2a3961a"></a>

**<code>reg</code> — required here**

**Minimum number of items (<code>minItems</code>):** <span id="dt-9192092690d8c3615464"><code>1</code></span>

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

<a id="dt-019b05d841f8375ba025"></a>

**<code>reg&#45;names</code> — required here**

**Minimum number of items (<code>minItems</code>):** <span id="dt-faed97d5c5d31dda244c"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-8fb406f844702c64ac61"><code>4</code></span>

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

**<code>xlnx&#44;ipi&#45;id</code> — required here**

<div id="dt-1aa3419a14f262eed294">
<p style="white-space: pre-wrap">Remote Xilinx IPI agent ID of which the mailbox is connected to.</p>
</div>

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

<a id="dt-654c848f7dbfa24c6c0e"></a>

**<code>&#35;mbox&#45;cells</code> — required here**

**Exact value (<code>const</code>):** <span id="dt-33cc195d6974511ec08e"><code>1</code></span>

<div id="dt-d30b6f03dbdc60be61a7">
<p style="white-space: pre-wrap">It contains tx(0) or rx(1) channel IPI id number.</p>
</div>

<a id="dt-7608ed8ac1fff45d7b95"></a>

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

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

**Rule 1**

> <a id="dt-6eb95760b95ad144ebd8"></a>
>
> **Condition (<code>if</code>)**
>
> > <a id="dt-d4654d4e175bad538d64"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-4d166422c2446f33c6a1"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-787a9d50863684cd5656"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-b7767e309fac00478f7a"></a> <span id="dt-ee7e1c4465a035578cd2"><code>&#34;xlnx&#44;zynqmp&#45;ipi&#45;dest&#45;mailbox&#34;</code></span>
>
> <a id="dt-4a43ed063dc23870daaf"></a>
>
> **When the condition matches (<code>then</code>)**
>
> > <a id="dt-3e974389f952f6992f32"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-7294e4b729df1a60a68d"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-1ff73d76704e7893f09f"><code>4</code></span>
> >
> > <a id="dt-e109fdc618ff1338bcce"></a>
> >
> > **<code>reg&#45;names</code> — not listed as required here**
> >
> > <a id="dt-85e87fa31c3e67bfbf33"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-9e571a6b65eb0ed7f10a"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-27641f2fdccc4d199e57"><code>&#34;local&#95;request&#95;region&#34;</code></span>
> >
> > <a id="dt-0d827679cafdade39b0d"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-2812a3b608629df046a5"><code>&#34;local&#95;response&#95;region&#34;</code></span>
> >
> > <a id="dt-eaffc59d724abc86358f"></a>
> >
> > **Item 3**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-531b31d2321212437e8b"><code>&#34;remote&#95;request&#95;region&#34;</code></span>
> >
> > <a id="dt-b165ac079fd76dec0b31"></a>
> >
> > **Item 4**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-b05f092aafa1ed93c12d"><code>&#34;remote&#95;response&#95;region&#34;</code></span>
>
> <a id="dt-0bd47f20733421567463"></a>
>
> **When the condition does not match (<code>else</code>)**
>
> > <a id="dt-c7048abd0b135e139f2c"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-ca8c08869b838ac98e60"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-f882f92cfc232b97f8f8"><code>1</code></span>
> >
> > <a id="dt-837a711f111a1659b61a"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-c9224eee8eb1cfe7b5bc"></a>
> >
> > **Item 1**
> >
> > > <div id="dt-ff854c4d5de5d75ae328">
> > > <p style="white-space: pre-wrap">Remote IPI agent control register region</p>
> > > </div>
> >
> > <a id="dt-57fc06f6dd994945fd61"></a>
> >
> > **Item 2**
> >
> > > <div id="dt-0dc34d3a4033864584c3">
> > > <p style="white-space: pre-wrap">Remote IPI agent optional message buffers</p>
> > > </div>
> >
> > <a id="dt-7b087ed35c178962d1a8"></a>
> >
> > **<code>reg&#45;names</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-7891d08fcb708a4826e1"><code>1</code></span>
> >
> > <a id="dt-9c79c173cd8552eb42f0"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-36196de44b13fa662447"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-0791a326f24aa743dd14"><code>&#34;ctrl&#34;</code></span>
> >
> > <a id="dt-fceed29e5202b17a7304"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-f64b27f8c737c41820f8"><code>&#34;msg&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-692041066365a10e62f2"></a> <span id="dt-fbe8eb47e62656a4ba27"><code>&#34;compatible&#34;</code></span>, <span id="dt-0d73bc5b432cdffd7f29"><code>&#34;reg&#34;</code></span>, <span id="dt-e38557e7928f19a6c37b"><code>&#34;reg&#45;names&#34;</code></span>, <span id="dt-0ab88e492aef5f5246c9"><code>&#34;&#35;mbox&#45;cells&#34;</code></span>, <span id="dt-5e45c3dfa3acac12d0c6"><code>&#34;xlnx&#44;ipi&#45;id&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;interrupts&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;address&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;size&#45;cells&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;xlnx&#44;ipi&#45;id&#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>)
>
> > <a id="dt-97f47e9dc804c839f86d"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-bbadeeb73dfaefabae79"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-ebe43a424f4497a78746"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-b5c9dbe70762f9ad7bb5"></a> <span id="dt-d017b1b1b5a0bb01c549"><code>&#34;xlnx&#44;zynqmp&#45;ipi&#45;mailbox&#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-f6af340cf87a1ddfe255"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-3e4b8a37257a98c67a43"></a>
> >
> > **<code>reg&#45;names</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
>
> <a id="dt-f985d6aaa3f73a650205"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-0b56c96a40292905ded0"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-b8e4772f5364b2c96f73"></a>
> >
> > **<code>reg</code> — required here**
> >
> > <a id="dt-2260b4580435238d1bb6"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-ab56007aaae4378331d9"></a>
> >
> > **Item 1**
> >
> > > <div id="dt-5f742a84f397e353add7">
> > > <p style="white-space: pre-wrap">Host IPI agent control register region</p>
> > > </div>
> >
> > <a id="dt-07c5a7f550c9430650d9"></a>
> >
> > **Item 2**
> >
> > > <div id="dt-b18315c0b5368c6b9ab9">
> > > <p style="white-space: pre-wrap">Host IPI agent optional message buffers</p>
> > > </div>
> >
> > <a id="dt-82a7719afad9931179f9"></a>
> >
> > **<code>reg&#45;names</code> — required here**
> >
> > <a id="dt-e1ac2702d0577782b9d9"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-cc604db6516882e483ef"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-f4dfb189d39895cf00fe"><code>&#34;ctrl&#34;</code></span>
> >
> > <a id="dt-0d8abaad21a4d3eef227"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-40cf2d4b248784679d33"><code>&#34;msg&#34;</code></span>
> >
> > **Required in this object (<code>required</code>):** <a id="dt-9f814971a49b2b16029a"></a> <span id="dt-37139fbd463ab3b18082"><code>&#34;reg&#34;</code></span>, <span id="dt-8c03dcb3d185395e0247"><code>&#34;reg&#45;names&#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;

amba {
  #address-cells = &lt;0x2&gt;;
  #size-cells = &lt;0x2&gt;;
  zynqmp-mailbox {
    compatible = "xlnx,zynqmp-ipi-mailbox";
    interrupts = &lt;GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH&gt;;
    xlnx,ipi-id = &lt;0&gt;;
    #address-cells = &lt;2&gt;;
    #size-cells = &lt;2&gt;;
    ranges;

    mailbox: mailbox@ff9905c0 {
      compatible = "xlnx,zynqmp-ipi-dest-mailbox";
      reg = &lt;0x0 0xff9905c0 0x0 0x20&gt;,
            &lt;0x0 0xff9905e0 0x0 0x20&gt;,
            &lt;0x0 0xff990e80 0x0 0x20&gt;,
            &lt;0x0 0xff990ea0 0x0 0x20&gt;;
      reg-names = "local_request_region",
                  "local_response_region",
                  "remote_request_region",
                  "remote_response_region";
      #mbox-cells = &lt;1&gt;;
      xlnx,ipi-id = &lt;4&gt;;
    };
  };
};
</code></pre>

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

bus {
  #address-cells = &lt;2&gt;;
  #size-cells = &lt;2&gt;;
  mailbox@ff300000 {
    compatible = "xlnx,versal-ipi-mailbox";
    interrupts = &lt;GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH&gt;;
    #address-cells = &lt;2&gt;;
    #size-cells = &lt;2&gt;;
    reg = &lt;0x0 0xff300000 0x0 0x1000&gt;,
          &lt;0x0 0xff990000 0x0 0x1ff&gt;;
    reg-names = "ctrl", "msg";
    xlnx,ipi-id = &lt;0&gt;;
    ranges;

    /* buffered IPI */
    mailbox@ff340000 {
      compatible = "xlnx,versal-ipi-dest-mailbox";
      reg = &lt;0x0 0xff340000 0x0 0x1000&gt;,
            &lt;0x0 0xff990400 0x0 0x1ff&gt;;
      reg-names = "ctrl", "msg";
      #mbox-cells = &lt;1&gt;;
      xlnx,ipi-id = &lt;4&gt;;
    };

    /* bufferless IPI */
    mailbox@ff370000 {
      compatible = "xlnx,versal-ipi-dest-mailbox";
      reg = &lt;0x0 0xff370000 0x0 0x1000&gt;;
      reg-names = "ctrl";
      #mbox-cells = &lt;1&gt;;
      xlnx,ipi-id = &lt;7&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>

<p id="dt-comment-1"><strong>Line 93:</strong> <span> DT nodes are json objects</span></p>

</details>
