# Intel IXP4xx PCI controller

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

> Device-tree binding reference for Intel IXP4xx PCI 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;pci&#47;intel&#44;ixp4xx&#45;pci&#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">PCI host controller found in the Intel IXP4xx SoC series.</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>&#47;schemas&#47;pci&#47;pci&#45;host&#45;bridge&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-shared/pci/pci-host-bridge.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;intel&#44;ixp42x&#45;pci&#34;</code></span>, <span id="dt-2d97ae0f34d14dd8e72b"><code>&#34;intel&#44;ixp43x&#45;pci&#34;</code></span>

<div id="dt-e84064a2d568e9bcb9c3">
<p style="white-space: pre-wrap">The two supported variants are ixp42x and ixp43x, though more variants may exist.</p>
</div>

<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">IXP4xx-specific registers</p>
> </div>

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

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

<a id="dt-985aed94c3a5de8e946a"></a>

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

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

**Item 1**

> <div id="dt-094ee990c529b33ab668">
> <p style="white-space: pre-wrap">Main PCI interrupt</p>
> </div>

<a id="dt-14fdf3275cf454d3c593"></a>

**Item 2**

> <div id="dt-f26fcb0c97f34db34fe4">
> <p style="white-space: pre-wrap">PCI DMA interrupt 1</p>
> </div>

<a id="dt-6825e597892563d56556"></a>

**Item 3**

> <div id="dt-2c85367ad575dfda8b35">
> <p style="white-space: pre-wrap">PCI DMA interrupt 2</p>
> </div>

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

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-7928d91ff1b85834b6df"><code>2</code></span>

<div id="dt-e09d62fd28b1cb158f01">
<p style="white-space: pre-wrap">Typically one memory range of 64MB and one IO space range of 64KB.</p>
</div>

<a id="dt-43b0a2c310c74daba2e4"></a>

### <code>dma&#45;ranges</code> — required here

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

<div id="dt-3a503d91f0f1aa82288d">
<p style="white-space: pre-wrap">The DMA range tells the PCI host which addresses the RAM is at. It can map only 64MB so if the RAM is bigger than 64MB the DMA access has to be restricted to these addresses.</p>
</div>

<a id="dt-8586fac2d9a71adf4795"></a>

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

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

<a id="dt-05234e749367d8f94f52"></a>

### <code>interrupt&#45;map</code> — required here

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

<a id="dt-767b8ec2304e2f1ba5eb"></a>

### <code>interrupt&#45;map&#45;mask</code> — required here

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-dc1ee9a3b894cf7b6a7a"><code>63488</code></span>

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

**Item 2**

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

<a id="dt-3e089b0e5d962d22f7dd"></a>

**Item 3**

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

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

**Item 4**

> **Exact value (<code>const</code>):** <span id="dt-5ad458cd1a5a4240f919"><code>7</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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;dma&#45;ranges&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;interrupt&#45;cells&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;interrupt&#45;map&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;interrupt&#45;map&#45;mask&#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">pci@c0000000 {
  compatible = "intel,ixp43x-pci";
  reg = &lt;0xc0000000 0x1000&gt;;
  #address-cells = &lt;3&gt;;
  #size-cells = &lt;2&gt;;
  device_type = "pci";
  bus-range = &lt;0x00 0xff&gt;;

  ranges =
    &lt;0x02000000 0 0x48000000 0x48000000 0 0x04000000&gt;,
    &lt;0x01000000 0 0x00000000 0x4c000000 0 0x00010000&gt;;
  dma-ranges =
    &lt;0x02000000 0 0x00000000 0x00000000 0 0x04000000&gt;;

  #interrupt-cells = &lt;1&gt;;
  interrupt-map-mask = &lt;0xf800 0 0 7&gt;;
  interrupt-map =
    &lt;0x0800 0 0 1 &amp;gpio0 11 3&gt;, /* INT A on slot 1 is irq 11 */
    &lt;0x0800 0 0 2 &amp;gpio0 10 3&gt;, /* INT B on slot 1 is irq 10 */
    &lt;0x0800 0 0 3 &amp;gpio0 9  3&gt;, /* INT C on slot 1 is irq 9 */
    &lt;0x0800 0 0 4 &amp;gpio0 8  3&gt;, /* INT D on slot 1 is irq 8 */
    &lt;0x1000 0 0 1 &amp;gpio0 10 3&gt;, /* INT A on slot 2 is irq 10 */
    &lt;0x1000 0 0 2 &amp;gpio0 9  3&gt;, /* INT B on slot 2 is irq 9 */
    &lt;0x1000 0 0 3 &amp;gpio0 8  3&gt;, /* INT C on slot 2 is irq 8 */
    &lt;0x1000 0 0 4 &amp;gpio0 11 3&gt;, /* INT D on slot 2 is irq 11 */
    &lt;0x1800 0 0 1 &amp;gpio0 9  3&gt;, /* INT A on slot 3 is irq 9 */
    &lt;0x1800 0 0 2 &amp;gpio0 8  3&gt;, /* INT B on slot 3 is irq 8 */
    &lt;0x1800 0 0 3 &amp;gpio0 11 3&gt;, /* INT C on slot 3 is irq 11 */
    &lt;0x1800 0 0 4 &amp;gpio0 10 3&gt;; /* INT D on slot 3 is irq 10 */
};
</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>
