# Xilinx Axi Uartlite

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

> Device-tree binding reference for Xilinx Axi Uartlite.

<!-- SPDX-License-Identifier: GPL-2.0 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;serial&#47;xlnx&#44;opb&#45;uartlite&#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;Peter Korsgaard &#60;jacmet&#64;sunsite&#46;dk&#62;&#34;</code></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-4ca83548ea02aea3457f"></a>

#### Rule for matching array elements (<code>contains</code>)

> **Allowed values (<code>enum</code>):** <a id="dt-e94a17cf5e636efa744d"></a> <span id="dt-fc12e483d817548be400"><code>&#34;xlnx&#44;xps&#45;uartlite&#45;1&#46;00&#46;a&#34;</code></span>, <span id="dt-20064a6865f5d9b325e1"><code>&#34;xlnx&#44;opb&#45;uartlite&#45;1&#46;00&#46;b&#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

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

<a id="dt-94561e4cb769212999eb"></a>

### <code>port&#45;number</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-65771317c2e81e57353b">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

<div id="dt-a5cdb55299cb30d0e9c7">
<p style="white-space: pre-wrap">Set Uart port number</p>
</div>

<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-041d7cd76b652a5de06a"></a>

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

**Exact value (<code>const</code>):** <span id="dt-882f4571b4b135d59582"><code>&#34;s&#95;axi&#95;aclk&#34;</code></span>

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

### <code>current&#45;speed</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-be9030cb2088cf93c825">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

<div id="dt-481aad712d7797ad8c09">
<p style="white-space: pre-wrap">The fixed baud rate that the device was configured for.</p>
</div>

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

### <code>xlnx&#44;data&#45;bits</code> — required here

**Allowed values (<code>enum</code>):** <a id="dt-1e2a73687564b158a486"></a> <span id="dt-cecdf02686f52d837baa"><code>5</code></span>, <span id="dt-b80679a9dae04020b5de"><code>6</code></span>, <span id="dt-8e2426c99aa7d0bca275"><code>7</code></span>, <span id="dt-ef5c1730b2333409c666"><code>8</code></span>

<div id="dt-2106d9d6e49616026646">
<p style="white-space: pre-wrap">The fixed number of data bits that the device was configured for.</p>
</div>

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

### <code>xlnx&#44;use&#45;parity</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-e95f688c964921921744">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Allowed values (<code>enum</code>):** <a id="dt-50f94f0e7b4065ac804b"></a> <span id="dt-be06dcfc7e18d523ade0"><code>0</code></span>, <span id="dt-c446ce036b64598b6927"><code>1</code></span>

<div id="dt-94cc65470754969dcff8">
<p style="white-space: pre-wrap">Whether parity checking was enabled when the device was configured.</p>
</div>

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

### <code>xlnx&#44;odd&#45;parity</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-17d9b1701fe19e13dd1b">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Allowed values (<code>enum</code>):** <a id="dt-9ec1f17296ed49357ec7"></a> <span id="dt-074fb70dce606c5cc11b"><code>0</code></span>, <span id="dt-08a4ec7e8ad04a72871b"><code>1</code></span>

<div id="dt-1dbdc607e62d56e5691f">
<p style="white-space: pre-wrap">Whether odd parity was configured.</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;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;current&#45;speed&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;xlnx&#44;data&#45;bits&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;xlnx&#44;use&#45;parity&#34;</code></span>

<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>serial&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-serial/serial.md#dt-root>)</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-af3054dd85bd2df465ef"></a>
> >
> > **<code>xlnx&#44;use&#45;parity</code> — not listed as required here**
> >
> > **Exact value (<code>const</code>):** <span id="dt-86d1fda1158bea40daa7"><code>1</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-ee96a18d4bb2a9d39bd9"></a> <span id="dt-96ee7f71687cd234a9f8"><code>&#34;xlnx&#44;odd&#45;parity&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">serial@800c0000 {
    compatible = "xlnx,xps-uartlite-1.00.a";
    reg = &lt;0x800c0000 0x10000&gt;;
    interrupts = &lt;0x0 0x6e 0x1&gt;;
    port-number = &lt;0&gt;;
    current-speed = &lt;115200&gt;;
    xlnx,data-bits = &lt;8&gt;;
    xlnx,use-parity = &lt;0&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 OR BSD-2-Clause</span></p>

</details>
