# Peripheral-specific properties for Arm PL022 SPI controller

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

> Device-tree binding reference for Peripheral-specific properties for Arm PL022 SPI controller.

<!-- 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;spi&#47;arm&#44;pl022&#45;peripheral&#45;props&#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;Linus Walleij &#60;linusw&#64;kernel&#46;org&#62;&#34;</code></span>

<a id="dt-865ef19e891fb9fe7b15"></a>

## Automatic schema selection (<code>select</code>)

<code>false</code>

Not selected automatically by this rule.

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

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

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

### <code>pl022&#44;interface</code> — not listed as required here

<div id="dt-3478500c82b77b901909">
<p style="white-space: pre-wrap">SPI interface type</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-8d5193dc16eadae4c2b8">[<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-84321874b16cec86ed50"></a> <span id="dt-2ee8bfed2f9a12876c2f"><code>0</code></span>, <span id="dt-1266674c39bd0645527f"><code>1</code></span>, <span id="dt-313e17fe78389126c511"><code>2</code></span>

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

### <code>pl022&#44;com&#45;mode</code> — not listed as required here

<div id="dt-57d6f383520ceca4166f">
<p style="white-space: pre-wrap">Specifies the transfer mode</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-c23cc676b0d6d371cdb3">[<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-81abdabbea93be1bb5cc"></a> <span id="dt-655dc219d44b269409f3"><code>0</code></span>, <span id="dt-3261a3c2f0e9f1ba7467"><code>1</code></span>, <span id="dt-0f5da12bab8541a3a23d"><code>2</code></span>

**Default value (<code>default</code>):** <span id="dt-741e78015d68f4b327a4"><code>1</code></span>

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

### <code>pl022&#44;rx&#45;level&#45;trig</code> — not listed as required here

<div id="dt-cc058e817e97c9593eb2">
<p style="white-space: pre-wrap">Rx FIFO watermark level</p>
</div>

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

**Minimum value (<code>minimum</code>):** <span id="dt-e0310a4adc849f56d4af"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-ee7dfd7dae6f503d0a9c"><code>4</code></span>

<a id="dt-67fb1670ffd68417f01a"></a>

### <code>pl022&#44;tx&#45;level&#45;trig</code> — not listed as required here

<div id="dt-a04729b0dab3d5996ff4">
<p style="white-space: pre-wrap">Tx FIFO watermark level</p>
</div>

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

**Minimum value (<code>minimum</code>):** <span id="dt-e6beb4aa95f51a0a43e4"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-2706cf3b0ebcd15a4e02"><code>4</code></span>

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

### <code>pl022&#44;ctrl&#45;len</code> — not listed as required here

<div id="dt-81be1f731c701931111f">
<p style="white-space: pre-wrap">Microwire interface - Control length</p>
</div>

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

**Minimum value (<code>minimum</code>):** <span id="dt-8dced0d035571e2fc9e7"><code>3</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-08c8f0898ebf09f81932"><code>31</code></span>

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

### <code>pl022&#44;wait&#45;state</code> — not listed as required here

<div id="dt-6bce8c66da96a9f7ef1e">
<p style="white-space: pre-wrap">Microwire interface - Wait state</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-e7663aa4cff855e3318a">[<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-384f9ca94d821891860e"></a> <span id="dt-3e2a0aa662f14bc6736c"><code>0</code></span>, <span id="dt-5d559b2b30676447ca59"><code>1</code></span>

<a id="dt-41f4e38f51890ba850ef"></a>

### <code>pl022&#44;duplex</code> — not listed as required here

<div id="dt-bff58e8a09c647747f31">
<p style="white-space: pre-wrap">Microwire interface - Full/Half duplex</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-192ab40638679f3e61c2">[<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-08ec033421a086397039"></a> <span id="dt-309eebd749a2c1c208e0"><code>0</code></span>, <span id="dt-983c166023b4e24270ee"><code>1</code></span>

<a id="dt-738c4b4f9e483441138b"></a>

## Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</code>)

<code>true</code>

Allowed by this rule.

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

<p id="dt-comment-1"><strong>Line 19:</strong> <span> SPI</span></p>

<p id="dt-comment-2"><strong>Line 20:</strong> <span> Texas Instruments Synchronous Serial Frame Format</span></p>

<p id="dt-comment-3"><strong>Line 21:</strong> <span> Microwire (Half Duplex)</span></p>

<p id="dt-comment-4"><strong>Line 27:</strong> <span> interrupt mode</span></p>

<p id="dt-comment-5"><strong>Line 28:</strong> <span> polling mode</span></p>

<p id="dt-comment-6"><strong>Line 29:</strong> <span> DMA mode</span></p>

</details>
