# Generic Parallel ATA Controller

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

> Device-tree binding reference for Generic Parallel ATA Controller.

<!-- 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;ata&#47;ata&#45;generic&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Generic Parallel ATA controllers supporting PIO modes only.</p>
</div>

<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;arm&#44;vexpress&#45;cf&#34;</code></span>, <span id="dt-2d97ae0f34d14dd8e72b"><code>&#34;fsl&#44;mpc8349emitx&#45;pata&#34;</code></span>

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

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-f1f862a3cfab3ac620c8"><code>&#34;ata&#45;generic&#34;</code></span>

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

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

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

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

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

**Item 1**

> <div id="dt-e773fec0b410a1422253">
> <p style="white-space: pre-wrap">Command interface registers</p>
> </div>

<a id="dt-302751dd79bfd514b9d7"></a>

**Item 2**

> <div id="dt-b729cb065b03c20c0e01">
> <p style="white-space: pre-wrap">Control interface registers</p>
> </div>

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

### <code>reg&#45;shift</code> — not listed as required here

**Allowed values (<code>enum</code>):** <a id="dt-b4b5f89af2a1081356d6"></a> <span id="dt-27e92bcb09d658e25cd5"><code>1</code></span>, <span id="dt-23f273e4d91eb71d383f"><code>2</code></span>

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

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

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

<a id="dt-444eb40cc24cbf39882b"></a>

### <code>ata&#45;generic&#44;use16bit</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-e9649616c83de99a203a"><code>&#34;boolean&#34;</code></span>

<div id="dt-7433a96a8cabbba50f97">
<p style="white-space: pre-wrap">Use 16-bit accesses instead of 32-bit for data transfers</p>
</div>

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

### <code>pio&#45;mode</code> — not listed as required here

<div id="dt-8a6024c3878e0e145950">
<p style="white-space: pre-wrap">Maximum ATA PIO transfer mode</p>
</div>

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

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

**Default value (<code>default</code>):** <span id="dt-b1b09ad49c3b15ad9804"><code>0</code></span>

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

<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">compact-flash@1a000 {
    compatible = "arm,vexpress-cf", "ata-generic";
    reg = &lt;0x1a000 0x100&gt;,
          &lt;0x1a100 0xf00&gt;;
    reg-shift = &lt;2&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>

</details>
