# V3 Semiconductor V360 EPC PCI bridge

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

> Device-tree binding reference for V3 Semiconductor V360 EPC PCI bridge.

<!-- 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;v3&#44;v360epc&#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">This bridge is found in the ARM Integrator/AP (Application Platform)</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**

> **Exact value (<code>const</code>):** <span id="dt-aaadfb6b044cada8472e"><code>&#34;arm&#44;integrator&#45;ap&#45;pci&#34;</code></span>

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

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-f1f862a3cfab3ac620c8"><code>&#34;v3&#44;v360epc&#45;pci&#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">V3 host bridge controller</p>
> </div>

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

**Item 2**

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

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

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

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

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

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

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

<div id="dt-3a503d91f0f1aa82288d">
<p style="white-space: pre-wrap">The inbound ranges must be aligned to a 1MB boundary, and may be 1MB, 2MB, 4MB, 8MB, 16MB, 32MB, 64MB, 128MB, 256MB, 512MB, 1GB or 2GB in size. The memory should be marked as pre-fetchable.</p>
</div>

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

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

<div id="dt-b3ddec0f69e9f0c0dc40">
<p style="white-space: pre-wrap">Bus Error IRQ</p>
</div>

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

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

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

<div id="dt-e09d62fd28b1cb158f01">
<p style="white-space: pre-wrap">The non-prefetchable and prefetchable memory windows must each be exactly 256MB (0x10000000) in size. The prefetchable memory window must be immediately adjacent to the non-prefetchable memory window.</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;clocks&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;dma&#45;ranges&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;&#35;interrupt&#45;cells&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;interrupt&#45;map&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><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@62000000 {
    compatible = "arm,integrator-ap-pci", "v3,v360epc-pci";
    #interrupt-cells = &lt;1&gt;;
    #size-cells = &lt;2&gt;;
    #address-cells = &lt;3&gt;;
    reg = &lt;0x62000000 0x10000&gt;, &lt;0x61000000 0x01000000&gt;;
    device_type = "pci";
    interrupt-parent = &lt;&amp;pic&gt;;
    interrupts = &lt;17&gt;; /* Bus error IRQ */
    clocks = &lt;&amp;pciclk&gt;;
    ranges = &lt;0x01000000 0 0x00000000 0x60000000 0 0x01000000&gt;,     /* 16 MiB @ LB 60000000 */
             &lt;0x02000000 0 0x40000000 0x40000000 0 0x10000000&gt;,     /* 256 MiB @ LB 40000000 1:1 */
             &lt;0x42000000 0 0x50000000 0x50000000 0 0x10000000&gt;;     /* 256 MiB @ LB 50000000 1:1 */
    dma-ranges = &lt;0x02000000 0 0x20000000 0x20000000 0 0x20000000&gt;, /* EBI: 512 MB @ LB 20000000 1:1 */
                 &lt;0x02000000 0 0x80000000 0x80000000 0 0x40000000&gt;; /* CM alias: 1GB @ LB 80000000 */
    interrupt-map-mask = &lt;0xf800 0 0 0x7&gt;;
    interrupt-map =
        /* IDSEL 9 */
        &lt;0x4800 0 0 1 &amp;pic 13&gt;, /* INT A on slot 9 is irq 13 */
        &lt;0x4800 0 0 2 &amp;pic 14&gt;, /* INT B on slot 9 is irq 14 */
        &lt;0x4800 0 0 3 &amp;pic 15&gt;, /* INT C on slot 9 is irq 15 */
        &lt;0x4800 0 0 4 &amp;pic 16&gt;, /* INT D on slot 9 is irq 16 */
        /* IDSEL 10 */
        &lt;0x5000 0 0 1 &amp;pic 14&gt;, /* INT A on slot 10 is irq 14 */
        &lt;0x5000 0 0 2 &amp;pic 15&gt;, /* INT B on slot 10 is irq 15 */
        &lt;0x5000 0 0 3 &amp;pic 16&gt;, /* INT C on slot 10 is irq 16 */
        &lt;0x5000 0 0 4 &amp;pic 13&gt;, /* INT D on slot 10 is irq 13 */
        /* IDSEL 11 */
        &lt;0x5800 0 0 1 &amp;pic 15&gt;, /* INT A on slot 11 is irq 15 */
        &lt;0x5800 0 0 2 &amp;pic 16&gt;, /* INT B on slot 11 is irq 16 */
        &lt;0x5800 0 0 3 &amp;pic 13&gt;, /* INT C on slot 11 is irq 13 */
        &lt;0x5800 0 0 4 &amp;pic 14&gt;, /* INT D on slot 11 is irq 14 */
        /* IDSEL 12 */
        &lt;0x6000 0 0 1 &amp;pic 16&gt;, /* INT A on slot 12 is irq 16 */
        &lt;0x6000 0 0 2 &amp;pic 13&gt;, /* INT B on slot 12 is irq 13 */
        &lt;0x6000 0 0 3 &amp;pic 14&gt;, /* INT C on slot 12 is irq 14 */
        &lt;0x6000 0 0 4 &amp;pic 15&gt;; /* INT D on slot 12 is irq 15 */
};
</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>
