# Ilitek-9341 Display Panel

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

> Device-tree binding reference for Ilitek-9341 Display Panel.

<!-- 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;display&#47;panel&#47;ilitek&#44;ili9341&#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;Dillon Min &#60;dillon&#46;minfei&#64;gmail&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Ilitek ILI9341 TFT panel driver with SPI control bus
This is a driver for 320x240 TFT panels, accepting a rgb input
streams with 16 bits or 18 bits.</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>panel&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-display/panel/panel-common.md#dt-root>)</span>

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

### Rule 2

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-8549616abc3b04702c51">[<code>&#47;schemas&#47;spi&#47;spi&#45;peripheral&#45;props&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-spi/spi-peripheral-props.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

<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;adafruit&#44;yx240qv29&#34;</code></span>, <span id="dt-2d97ae0f34d14dd8e72b"><code>&#34;st&#44;sf&#45;tc240t&#45;9370&#45;t&#34;</code></span>, <span id="dt-9802844ed4869452d348"><code>&#34;canaan&#44;kd233&#45;tft&#34;</code></span>

<a id="dt-0891c69625632ea817fd"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-f1f862a3cfab3ac620c8"><code>&#34;ilitek&#44;ili9341&#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-d833e85214e7ab89d4e1"></a>

### <code>dc&#45;gpios</code> — required here

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

<div id="dt-4c70cb72450de2f44013">
<p style="white-space: pre-wrap">Display data/command selection (D/CX) of this DBI panel</p>
</div>

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

### <code>spi&#45;3wire</code> — not listed as required here

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

<a id="dt-03a3b4f56bf191dde680"></a>

### <code>spi&#45;max&#45;frequency</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-7c75e826b8c0ebcaaef4"><code>10000000</code></span>

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

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

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

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

### <code>vci&#45;supply</code> — not listed as required here

<div id="dt-051eb888831acf3c2938">
<p style="white-space: pre-wrap">Analog voltage supply (2.5 .. 3.3V)</p>
</div>

<a id="dt-45026b7950c84748e716"></a>

### <code>vddi&#45;supply</code> — not listed as required here

<div id="dt-c1f332025608b3b092cd">
<p style="white-space: pre-wrap">Voltage supply for interface logic (1.65 .. 3.3 V)</p>
</div>

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

### <code>vddi&#45;led&#45;supply</code> — not listed as required here

<div id="dt-229cfdbd8aec61c5daf3">
<p style="white-space: pre-wrap">Voltage supply for the LED driver (1.65 .. 3.3 V)</p>
</div>

<a id="dt-63ab525a9812ac23c446"></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;dc&#45;gpios&#34;</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>)**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-33b6ed092215f2be8801"></a> <span id="dt-9dc9072d1f2469ee9637"><code>&#34;st&#44;sf&#45;tc240t&#45;9370&#45;t&#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;port&#34;</code></span>

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

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">#include &lt;dt-bindings/gpio/gpio.h&gt;
spi {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    panel: display@0 {
        compatible = "st,sf-tc240t-9370-t",
                     "ilitek,ili9341";
        reg = &lt;0&gt;;
        spi-3wire;
        spi-max-frequency = &lt;10000000&gt;;
        dc-gpios = &lt;&amp;gpiod 13 0&gt;;
        port {
            panel_in: endpoint {
                remote-endpoint = &lt;&amp;display_out&gt;;
            };
        };
    };
    display@1{
        compatible = "adafruit,yx240qv29", "ilitek,ili9341";
        reg = &lt;1&gt;;
        spi-max-frequency = &lt;10000000&gt;;
        dc-gpios = &lt;&amp;gpio0 9 GPIO_ACTIVE_HIGH&gt;;
        reset-gpios = &lt;&amp;gpio0 8 GPIO_ACTIVE_HIGH&gt;;
        rotation = &lt;270&gt;;
        backlight = &lt;&amp;backlight&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 26:</strong> <span> ili9341 240*320 Color on stm32f429-disco board</span></p>

</details>
