# NVIDIA Tegra Combined UART (TCU)

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

> Device-tree binding reference for NVIDIA Tegra Combined UART (TCU).

<!-- 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;serial&#47;nvidia&#44;tegra194&#45;tcu&#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;Jonathan Hunter &#60;jonathanh&#64;nvidia&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The TCU is a system for sharing a hardware UART instance among multiple systems within the Tegra SoC. It is implemented through a mailbox- based protocol where each "virtual UART" has a pair of mailboxes, one for transmitting and one for receiving, that is used to communicate with the hardware implementing the TCU.</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;serial&#40;&#64;&#46;&#42;&#41;&#63;&#36;&#34;</code></span>

<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;nvidia&#44;tegra194&#45;tcu&#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;nvidia&#44;tegra234&#45;tcu&#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;tcu&#34;</code></span>

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

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

<a id="dt-48583272e5ed97b0ea27"></a>

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

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

**Item 1**

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

<a id="dt-69854b892779cd21ad4c"></a>

**Item 2**

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

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

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

<div id="dt-35048c35d9f2ceeeab93">
<p style="white-space: pre-wrap">List of phandles to mailbox channels used for receiving and
transmitting data from and to the hardware UART.</p>
</div>

<a id="dt-9989e8e5633f2c6ccb3b"></a>

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

<a id="dt-53d69334d9dba1b769db"></a>

**Item 1**

> <div id="dt-9fe3a6bfb71f511e8481">
> <p style="white-space: pre-wrap">mailbox for receiving data from hardware UART</p>
> </div>

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

**Item 2**

> <div id="dt-07aab42c3360989394db">
> <p style="white-space: pre-wrap">mailbox for transmitting data to hardware UART</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;mbox&#45;names&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;mboxes&#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/mailbox/tegra186-hsp.h&gt;

tcu: serial {
    compatible = "nvidia,tegra194-tcu";
    mboxes = &lt;&amp;hsp_top0 TEGRA_HSP_MBOX_TYPE_SM 0&gt;,
             &lt;&amp;hsp_aon TEGRA_HSP_MBOX_TYPE_SM 1&gt;;
    mbox-names = "rx", "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</span></p>

</details>
