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