# Freescale/NXP i.MX Messaging Unit (MU) work as msi controller

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

> Device-tree binding reference for Freescale/NXP i.MX Messaging Unit (MU) work as msi 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;interrupt&#45;controller&#47;fsl&#44;mu&#45;msi&#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;Frank Li &#60;Frank&#46;Li&#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 (A side) to signal the other processor (B side) 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-side, Processor B-side).</p>
<p style="white-space: pre-wrap">MU can work as msi interrupt controller to do doorbell</p>
</div>

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

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

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

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<code>&#47;schemas&#47;interrupt&#45;controller&#47;msi&#45;controller&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-interrupt-controller/msi-controller.md#dt-root>)</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;fsl&#44;imx6sx&#45;mu&#45;msi&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;fsl&#44;imx7ulp&#45;mu&#45;msi&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;fsl&#44;imx8ulp&#45;mu&#45;msi&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;fsl&#44;imx8ulp&#45;mu&#45;msi&#45;s4&#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">a side register base address</p>
> </div>

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

**Item 2**

> <div id="dt-b729cb065b03c20c0e01">
> <p style="white-space: pre-wrap">b side register base address</p>
> </div>

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

### <code>reg&#45;names</code> — not listed as 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;processor&#45;a&#45;side&#34;</code></span>

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

**Item 2**

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

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

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

<div id="dt-b3ddec0f69e9f0c0dc40">
<p style="white-space: pre-wrap">a side interrupt number.</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-030bda573e8c53177f1a"></a>

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

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

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

<a id="dt-10baa21b898841abd200"></a>

**Item 1**

> <div id="dt-07872a169d45c45fb722">
> <p style="white-space: pre-wrap">a side power domain</p>
> </div>

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

**Item 2**

> <div id="dt-2b071bb6d85f085bc127">
> <p style="white-space: pre-wrap">b side power domain</p>
> </div>

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

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

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

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

<a id="dt-144c9747954bcbf8d030"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-2bfccc3380d516a47ac5"><code>&#34;processor&#45;a&#45;side&#34;</code></span>

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

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-ca1bbd401ba3c522ae05"><code>&#34;processor&#45;b&#45;side&#34;</code></span>

<a id="dt-2614987f6ab7ae9e99b5"></a>

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-6343f5dac24054414061"><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;msi&#45;controller&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;&#35;msi&#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/firmware/imx/rsrc.h&gt;

msi-controller@5d270000 {
    compatible = "fsl,imx6sx-mu-msi";
    msi-controller;
    #msi-cells = &lt;0&gt;;
    reg = &lt;0x5d270000 0x10000&gt;,     /* A side */
          &lt;0x5d300000 0x10000&gt;;     /* B side */
    reg-names = "processor-a-side", "processor-b-side";
    interrupts = &lt;GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH&gt;;
    power-domains = &lt;&amp;pd IMX_SC_R_MU_12A&gt;,
                    &lt;&amp;pd IMX_SC_R_MU_12B&gt;;
    power-domain-names = "processor-a-side", "processor-b-side";
};
</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>
