# Allwinner R40 TCON TOP

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

> Device-tree binding reference for Allwinner R40 TCON TOP.

<!-- 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;display&#47;allwinner&#44;sun8i&#45;r40&#45;tcon&#45;top&#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;Chen&#45;Yu Tsai &#60;wens&#64;csie&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Maxime Ripard &#60;mripard&#64;kernel&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">TCON TOPs main purpose is to configure whole display pipeline. It
determines relationships between mixers and TCONs, selects source
TCON for HDMI, muxes LCD and TV encoder GPIO output, selects TV
encoder clock source and contains additional TV TCON and DSI gates.</p>
<p style="white-space: pre-wrap">It allows display pipeline to be configured in very different ways:</p>
<pre><code>                                / LCD0/LVDS0
                 / [0] TCON-LCD0
                 |              \ MIPI DSI
 mixer0          |
        \        / [1] TCON-LCD1 - LCD1/LVDS1
         TCON-TOP
        /        \ [2] TCON-TV0 [0] - TVE0/RGB
 mixer1          |                  \
                 |                   TCON-TOP - HDMI
                 |                  /
                 \ [3] TCON-TV1 [1] - TVE1/RGB</code></pre>
<p style="white-space: pre-wrap">Note that both TCON TOP references same physical unit. Both mixers
can be connected to any TCON. Not all TCON TOP variants support all
features.</p>
</div>

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

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

<a id="dt-7471877b51a93881192b"></a>

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

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

<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;allwinner&#44;sun8i&#45;r40&#45;tcon&#45;top&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;allwinner&#44;sun20i&#45;d1&#45;tcon&#45;top&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;allwinner&#44;sun50i&#45;h6&#45;tcon&#45;top&#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

**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>6</code></span>

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

### <code>clock&#45;names</code> — 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>6</code></span>

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

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

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

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

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

<a id="dt-638717a7c9bbf1878b7e"></a>

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-253551a11be145495212">[<code>&#47;schemas&#47;graph&#46;yaml&#35;&#47;properties&#47;ports</code>](</kernel/hardware/devicetree-bindings/dt-shared/graph.md#dt-638717a7c9bbf1878b7e>)</span>

<a id="dt-076265030fa616d9c245"></a>

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

<a id="dt-16a3f454af238f04e210"></a>

**<code>port&#64;0</code> — required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-4bf3c29e51dd1dcdbf80">[<code>&#47;schemas&#47;graph&#46;yaml&#35;&#47;properties&#47;port</code>](</kernel/hardware/devicetree-bindings/dt-shared/graph.md#dt-1d845f0617b4072cef77>)</span>

<div id="dt-b1724f7738be96ef356e">
<p style="white-space: pre-wrap">Input endpoint for Mixer 0 mux.</p>
</div>

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

**<code>port&#64;1</code> — required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-9faa1456d91cf714ff9d">[<code>&#47;schemas&#47;graph&#46;yaml&#35;&#47;properties&#47;port</code>](</kernel/hardware/devicetree-bindings/dt-shared/graph.md#dt-1d845f0617b4072cef77>)</span>

<div id="dt-0fa4b11c6410ab72ea2f">
<p style="white-space: pre-wrap">Output endpoint for Mixer 0 mux</p>
</div>

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

**<code>port&#64;2</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-bf0c0e1b24d670f57f64">[<code>&#47;schemas&#47;graph&#46;yaml&#35;&#47;properties&#47;port</code>](</kernel/hardware/devicetree-bindings/dt-shared/graph.md#dt-1d845f0617b4072cef77>)</span>

<div id="dt-2494ba4fb5f1dc4cb38b">
<p style="white-space: pre-wrap">Input endpoint for Mixer 1 mux.</p>
</div>

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

**<code>port&#64;3</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-ce1665a5e1c89348df32">[<code>&#47;schemas&#47;graph&#46;yaml&#35;&#47;properties&#47;port</code>](</kernel/hardware/devicetree-bindings/dt-shared/graph.md#dt-1d845f0617b4072cef77>)</span>

<div id="dt-a206fbc5e1ad6cd787b2">
<p style="white-space: pre-wrap">Output endpoint for Mixer 1 mux</p>
</div>

<a id="dt-05b0c543b599dbe210e8"></a>

**<code>port&#64;4</code> — required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-15a08da874134d85f6fc">[<code>&#47;schemas&#47;graph&#46;yaml&#35;&#47;properties&#47;port</code>](</kernel/hardware/devicetree-bindings/dt-shared/graph.md#dt-1d845f0617b4072cef77>)</span>

<div id="dt-9b3d4fae0dd48881abce">
<p style="white-space: pre-wrap">Input endpoint for HDMI mux.</p>
</div>

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

**<code>port&#64;5</code> — required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-85d30d7741bc20b0697a">[<code>&#47;schemas&#47;graph&#46;yaml&#35;&#47;properties&#47;port</code>](</kernel/hardware/devicetree-bindings/dt-shared/graph.md#dt-1d845f0617b4072cef77>)</span>

<div id="dt-b823f618b2563a3b9033">
<p style="white-space: pre-wrap">Output endpoint for HDMI mux</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-2491871393415320c88c"></a> <span id="dt-95e4854181be8c873eb8"><code>&#34;port&#64;0&#34;</code></span>, <span id="dt-0b051ff21225a3bba241"><code>&#34;port&#64;1&#34;</code></span>, <span id="dt-513a32bfc6f56a04b7f7"><code>&#34;port&#64;4&#34;</code></span>, <span id="dt-a9e7aab2531395feb4ee"><code>&#34;port&#64;5&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;&#35;clock&#45;cells&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;compatible&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;reg&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;clock&#45;output&#45;names&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;resets&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;ports&#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-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;allwinner&#44;sun8i&#45;r40&#45;tcon&#45;top&#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-065d246b482f4e9fba10"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > <a id="dt-bf2571e4630a59f0c256"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-2a540a403e097f848634"></a>
> >
> > **Item 1**
> >
> > > <div id="dt-343db573787971306c08">
> > > <p style="white-space: pre-wrap">The TCON TOP interface clock</p>
> > > </div>
> >
> > <a id="dt-30c4212017dcaacb0d3b"></a>
> >
> > **Item 2**
> >
> > > <div id="dt-87bc545af27987cc71f5">
> > > <p style="white-space: pre-wrap">The TCON TOP TV0 clock</p>
> > > </div>
> >
> > <a id="dt-5b84b7ba5037f6e7c6f1"></a>
> >
> > **Item 3**
> >
> > > <div id="dt-a1b272356204c2749c06">
> > > <p style="white-space: pre-wrap">The TCON TOP TVE0 clock</p>
> > > </div>
> >
> > <a id="dt-cbff12dec1d2f28b843d"></a>
> >
> > **Item 4**
> >
> > > <div id="dt-15bb9a103d1ac9f01009">
> > > <p style="white-space: pre-wrap">The TCON TOP TV1 clock</p>
> > > </div>
> >
> > <a id="dt-2d724bcfbcfd4887fcde"></a>
> >
> > **Item 5**
> >
> > > <div id="dt-8cf8ee289dd85f3d1979">
> > > <p style="white-space: pre-wrap">The TCON TOP TVE1 clock</p>
> > > </div>
> >
> > <a id="dt-938495925c8245090c24"></a>
> >
> > **Item 6**
> >
> > > <div id="dt-a0d215aa1ac1398932d0">
> > > <p style="white-space: pre-wrap">The TCON TOP MIPI DSI clock</p>
> > > </div>
> >
> > <a id="dt-935ce0cf7d790018ed2d"></a>
> >
> > **<code>clock&#45;names</code> — not listed as required here**
> >
> > <a id="dt-0f31b3430a92dd449f6c"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-4728af709128b6802243"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-031a7dbe2c066f868c35"><code>&#34;bus&#34;</code></span>
> >
> > <a id="dt-499faf6f3c1e6a2de32b"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-14ea8009c50633baa575"><code>&#34;tcon&#45;tv0&#34;</code></span>
> >
> > <a id="dt-68e48919ba73efad2634"></a>
> >
> > **Item 3**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-28720a6003e8b65201ce"><code>&#34;tve0&#34;</code></span>
> >
> > <a id="dt-2b5e504807fea168972d"></a>
> >
> > **Item 4**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-173cbd8240ef7df98917"><code>&#34;tcon&#45;tv1&#34;</code></span>
> >
> > <a id="dt-43984fef6d9f4daddd97"></a>
> >
> > **Item 5**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-f508c12dce6e92d2db66"><code>&#34;tve1&#34;</code></span>
> >
> > <a id="dt-9a7e89976c20cf10ece2"></a>
> >
> > **Item 6**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-0947d1a8a5d4acde3826"><code>&#34;dsi&#34;</code></span>
> >
> > <a id="dt-88a210505eaaf96ba0ff"></a>
> >
> > **<code>clock&#45;output&#45;names</code> — not listed as required here**
> >
> > <a id="dt-9eae2cdefe0f1a083124"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-3f8764442d357f8c3691"></a>
> >
> > **Item 1**
> >
> > > <div id="dt-9b61beb579d15711ee9f">
> > > <p style="white-space: pre-wrap">TCON TV0 output clock name</p>
> > > </div>
> >
> > <a id="dt-64ec59a9c8ddfdab8723"></a>
> >
> > **Item 2**
> >
> > > <div id="dt-f9de06169c7603019e4c">
> > > <p style="white-space: pre-wrap">TCON TV1 output clock name</p>
> > > </div>
> >
> > <a id="dt-a600242139048a0f6efa"></a>
> >
> > **Item 3**
> >
> > > <div id="dt-65a7ca4f68c63414e91a">
> > > <p style="white-space: pre-wrap">DSI output clock name</p>
> > > </div>
> >
> > <a id="dt-2562db26ecc88ea8cd37"></a>
> >
> > **<code>ports</code> — not listed as required here**
> >
> > **Required in this object (<code>required</code>):** <a id="dt-6e08eacf1721d138a5fd"></a> <span id="dt-1de2cbb879b447d3c76e"><code>&#34;port&#64;2&#34;</code></span>, <span id="dt-b3eb253e8e3feff0b52f"><code>&#34;port&#64;3&#34;</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**
> >
> > <a id="dt-d1402748b5f4caf0b18a"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-9b74ad9882646c4a5116"><code>&#34;allwinner&#44;sun20i&#45;d1&#45;tcon&#45;top&#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-cc2edf6d98aafaff5f44"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > <a id="dt-9bc2c4bcef6f6d2c7e6f"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-9a92b8140775cdd9d56e"></a>
> >
> > **Item 1**
> >
> > > <div id="dt-5f2a23fcde50f95228b6">
> > > <p style="white-space: pre-wrap">The TCON TOP interface clock</p>
> > > </div>
> >
> > <a id="dt-dc6ae259ca41c4b0d9fb"></a>
> >
> > **Item 2**
> >
> > > <div id="dt-2cb4ced180ccd82e5b26">
> > > <p style="white-space: pre-wrap">The TCON TOP TV0 clock</p>
> > > </div>
> >
> > <a id="dt-fc61b8a16019b78d6a4b"></a>
> >
> > **Item 3**
> >
> > > <div id="dt-381d656359cdb9f0f7a9">
> > > <p style="white-space: pre-wrap">The TCON TOP TVE0 clock</p>
> > > </div>
> >
> > <a id="dt-deefb49fd92bca75b3b8"></a>
> >
> > **Item 4**
> >
> > > <div id="dt-d6174f8316c7d901b871">
> > > <p style="white-space: pre-wrap">The TCON TOP MIPI DSI clock</p>
> > > </div>
> >
> > <a id="dt-dde63784a5285c3f925c"></a>
> >
> > **<code>clock&#45;names</code> — not listed as required here**
> >
> > <a id="dt-07c804bf76c975c5a644"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-855b6229a724a1e988d5"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-d22ff96126d7db564137"><code>&#34;bus&#34;</code></span>
> >
> > <a id="dt-fbbb17d593cc6352303b"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-1c6351ea0af6cbead296"><code>&#34;tcon&#45;tv0&#34;</code></span>
> >
> > <a id="dt-c8b31f2db7bbcbe11358"></a>
> >
> > **Item 3**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-4cfacbda270425cafd45"><code>&#34;tve0&#34;</code></span>
> >
> > <a id="dt-fce74aba9d8a9d8485cd"></a>
> >
> > **Item 4**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-eb00a5766b022f484e2c"><code>&#34;dsi&#34;</code></span>
> >
> > <a id="dt-57767795505eab814987"></a>
> >
> > **<code>clock&#45;output&#45;names</code> — not listed as required here**
> >
> > <a id="dt-53b39ae04da79f3559ed"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-baf7d77380717b5faabe"></a>
> >
> > **Item 1**
> >
> > > <div id="dt-bc1a34664cf81ec507ae">
> > > <p style="white-space: pre-wrap">TCON TV0 output clock name</p>
> > > </div>
> >
> > <a id="dt-dfccca0896f99975273c"></a>
> >
> > **Item 2**
> >
> > > <div id="dt-cd31273805d641b978f9">
> > > <p style="white-space: pre-wrap">DSI output clock name</p>
> > > </div>

<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>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-8cd5c6ac7cc13c2d9acf"><code>&#34;allwinner&#44;sun50i&#45;h6&#45;tcon&#45;top&#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-8308c8f88877cb33a5a0"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > <a id="dt-848f98d28ea162761487"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-5bfe5ca02fe705443505"></a>
> >
> > **Item 1**
> >
> > > <div id="dt-09903707c496e0ef03ef">
> > > <p style="white-space: pre-wrap">The TCON TOP interface clock</p>
> > > </div>
> >
> > <a id="dt-082251df1c3a6e1c1dfa"></a>
> >
> > **Item 2**
> >
> > > <div id="dt-b5f0a83e869b82c86019">
> > > <p style="white-space: pre-wrap">The TCON TOP TV0 clock</p>
> > > </div>
> >
> > <a id="dt-c6cd9634653c9bd1a32e"></a>
> >
> > **<code>clock&#45;names</code> — not listed as required here**
> >
> > <a id="dt-5b4140344e7664199596"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-38d589b0741e87d4c52a"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-2c23cdf57281bef15cec"><code>&#34;bus&#34;</code></span>
> >
> > <a id="dt-2317286a7b8251909776"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-6649bb49f43157f996cf"><code>&#34;tcon&#45;tv0&#34;</code></span>
> >
> > <a id="dt-98d4f820957ea9877c09"></a>
> >
> > **<code>clock&#45;output&#45;names</code> — not listed as required here**
> >
> > <a id="dt-4c41501277b605ee7ea6"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-0f47226f0985265e81d2"></a>
> >
> > **Item 1**
> >
> > > <div id="dt-dcc6931abc31ec5972cc">
> > > <p style="white-space: pre-wrap">TCON TV0 output clock name</p>
> > > </div>

<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/sun8i-r40-ccu.h&gt;
#include &lt;dt-bindings/reset/sun8i-r40-ccu.h&gt;

  tcon_top: tcon-top@1c70000 {
      compatible = "allwinner,sun8i-r40-tcon-top";
      reg = &lt;0x01c70000 0x1000&gt;;
      clocks = &lt;&amp;ccu CLK_BUS_TCON_TOP&gt;,
               &lt;&amp;ccu CLK_TCON_TV0&gt;,
               &lt;&amp;ccu CLK_TVE0&gt;,
               &lt;&amp;ccu CLK_TCON_TV1&gt;,
               &lt;&amp;ccu CLK_TVE1&gt;,
               &lt;&amp;ccu CLK_DSI_DPHY&gt;;
      clock-names = "bus",
                    "tcon-tv0",
                    "tve0",
                    "tcon-tv1",
                    "tve1",
                    "dsi";
      clock-output-names = "tcon-top-tv0",
                           "tcon-top-tv1",
                           "tcon-top-dsi";
      resets = &lt;&amp;ccu RST_BUS_TCON_TOP&gt;;
      #clock-cells = &lt;1&gt;;

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

          tcon_top_mixer0_in: port@0 {
              reg = &lt;0&gt;;

              tcon_top_mixer0_in_mixer0: endpoint {
                  remote-endpoint = &lt;&amp;mixer0_out_tcon_top&gt;;
              };
          };

          tcon_top_mixer0_out: port@1 {
              #address-cells = &lt;1&gt;;
              #size-cells = &lt;0&gt;;
              reg = &lt;1&gt;;

              tcon_top_mixer0_out_tcon_lcd0: endpoint@0 {
                  reg = &lt;0&gt;;
              };

              tcon_top_mixer0_out_tcon_lcd1: endpoint@1 {
                  reg = &lt;1&gt;;
              };

              tcon_top_mixer0_out_tcon_tv0: endpoint@2 {
                  reg = &lt;2&gt;;
                  remote-endpoint = &lt;&amp;tcon_tv0_in_tcon_top_mixer0&gt;;
              };

              tcon_top_mixer0_out_tcon_tv1: endpoint@3 {
                  reg = &lt;3&gt;;
                  remote-endpoint = &lt;&amp;tcon_tv1_in_tcon_top_mixer0&gt;;
              };
          };

          tcon_top_mixer1_in: port@2 {
              #address-cells = &lt;1&gt;;
              #size-cells = &lt;0&gt;;
              reg = &lt;2&gt;;

              tcon_top_mixer1_in_mixer1: endpoint@1 {
                  reg = &lt;1&gt;;
                  remote-endpoint = &lt;&amp;mixer1_out_tcon_top&gt;;
              };
          };

          tcon_top_mixer1_out: port@3 {
              #address-cells = &lt;1&gt;;
              #size-cells = &lt;0&gt;;
              reg = &lt;3&gt;;

              tcon_top_mixer1_out_tcon_lcd0: endpoint@0 {
                  reg = &lt;0&gt;;
              };

              tcon_top_mixer1_out_tcon_lcd1: endpoint@1 {
                  reg = &lt;1&gt;;
              };

              tcon_top_mixer1_out_tcon_tv0: endpoint@2 {
                  reg = &lt;2&gt;;
                  remote-endpoint = &lt;&amp;tcon_tv0_in_tcon_top_mixer1&gt;;
              };

              tcon_top_mixer1_out_tcon_tv1: endpoint@3 {
                  reg = &lt;3&gt;;
                  remote-endpoint = &lt;&amp;tcon_tv1_in_tcon_top_mixer1&gt;;
              };
          };

          tcon_top_hdmi_in: port@4 {
              #address-cells = &lt;1&gt;;
              #size-cells = &lt;0&gt;;
              reg = &lt;4&gt;;

              tcon_top_hdmi_in_tcon_tv0: endpoint@0 {
                  reg = &lt;0&gt;;
                  remote-endpoint = &lt;&amp;tcon_tv0_out_tcon_top&gt;;
              };

              tcon_top_hdmi_in_tcon_tv1: endpoint@1 {
                  reg = &lt;1&gt;;
                  remote-endpoint = &lt;&amp;tcon_tv1_out_tcon_top&gt;;
              };
          };

          tcon_top_hdmi_out: port@5 {
              reg = &lt;5&gt;;

              tcon_top_hdmi_out_hdmi: endpoint {
                  remote-endpoint = &lt;&amp;hdmi_in_tcon_top&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>
