# Microchip PCIe Root Port Bridge Controller

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

> Device-tree binding reference for Microchip PCIe Root Port Bridge 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;microchip&#44;pcie&#45;host&#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;Daire McNamara &#60;daire&#46;mcnamara&#64;microchip&#46;com&#62;&#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>plda&#44;xpressrich3&#45;axi&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-pci/plda-xpressrich3-axi-common.md#dt-root>)</span>

<a id="dt-22ca5ec5b89308748ecc"></a>

### Rule 2

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-8549616abc3b04702c51">[<code>&#47;schemas&#47;interrupt&#45;controller&#47;msi&#45;controller&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-interrupt-controller/msi-controller.md#dt-root>)</span>

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

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

<a id="dt-5c1d81699dcbe840de83"></a>

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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;microchip&#44;pcie&#45;host&#45;1&#46;0&#34;</code></span>

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

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

**Minimum number of items (<code>minItems</code>):** <span id="dt-4b3e7791b11b96c3db87"><code>3</code></span>

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

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

**Minimum number of items (<code>minItems</code>):** <span id="dt-3f2820449161ca72af98"><code>3</code></span>

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

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

<div id="dt-853257adf43f6880d753">
<p style="white-space: pre-wrap">Fabric Interface Controllers, FICs, are the interface between the FPGA fabric and the core complex on PolarFire SoC. The FICs require two clocks, one from each side of the interface. The "FIC clocks" described by this property are on the core complex side &amp; communication through a FIC is not possible unless it's corresponding clock is enabled. A clock must be enabled for each of the interfaces the root port is connected through. This could in theory be all 4 interfaces, one interface or any combination in between.</p>
</div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-1f26a8d0aa315cbb9547"><code>1</code></span>

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

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

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

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">FIC0's clock</p>
> </div>

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

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">FIC1's clock</p>
> </div>

<a id="dt-2e04c77836db3f7805be"></a>

**Item 3**

> <div id="dt-98e44cf6c35fb1f8c6f9">
> <p style="white-space: pre-wrap">FIC2's clock</p>
> </div>

<a id="dt-0f12147a6759258c14d2"></a>

**Item 4**

> <div id="dt-dea0dc8762ea31ff72ac">
> <p style="white-space: pre-wrap">FIC3's clock</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

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

<div id="dt-d153c20aa0faf1618c41">
<p style="white-space: pre-wrap">As any FIC connection combination is possible, the names should match the order in the clocks property and take the form "ficN" where N is a number 0-3</p>
</div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-dab867b03596a88fc725"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-65c84d57f9774b7ce5c4"><code>4</code></span>

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

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

> **String pattern (<code>pattern</code>):** <span id="dt-552e4e1b0fe9c6cc6aa2"><code>&#34;&#94;fic&#91;0&#45;3&#93;&#36;&#34;</code></span>

<a id="dt-75e3c11ae7b7c2f18928"></a>

### <code>dma&#45;noncoherent</code> — not listed as required here

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

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

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

**Minimum number of items (<code>minItems</code>):** <span id="dt-989f0eccbe89ee8db08b"><code>1</code></span>

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

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

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

**Minimum number of items (<code>minItems</code>):** <span id="dt-bfea42a36923ebcced60"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b6e06b8bd3fc43cc1816"><code>6</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">soc {
    #address-cells = &lt;2&gt;;
    #size-cells = &lt;2&gt;;
    pcie0: pcie@2030000000 {
        compatible = "microchip,pcie-host-1.0";
        reg = &lt;0x0 0x70000000 0x0 0x08000000&gt;,
              &lt;0x0 0x43008000 0x0 0x00002000&gt;,
              &lt;0x0 0x4300a000 0x0 0x00002000&gt;;
        reg-names = "cfg", "bridge", "ctrl";
        device_type = "pci";
        #address-cells = &lt;3&gt;;
        #size-cells = &lt;2&gt;;
        #interrupt-cells = &lt;1&gt;;
        interrupts = &lt;119&gt;;
        interrupt-map-mask = &lt;0x0 0x0 0x0 0x7&gt;;
        interrupt-map = &lt;0 0 0 1 &amp;pcie_intc0 0&gt;,
                        &lt;0 0 0 2 &amp;pcie_intc0 1&gt;,
                        &lt;0 0 0 3 &amp;pcie_intc0 2&gt;,
                        &lt;0 0 0 4 &amp;pcie_intc0 3&gt;;
        interrupt-parent = &lt;&amp;plic0&gt;;
        msi-parent = &lt;&amp;pcie0&gt;;
        msi-controller;
        bus-range = &lt;0x00 0x7f&gt;;
        ranges = &lt;0x03000000 0x0 0x78000000 0x0 0x78000000 0x0 0x04000000&gt;;
        pcie_intc0: interrupt-controller {
            #address-cells = &lt;0&gt;;
            #interrupt-cells = &lt;1&gt;;
            interrupt-controller;
        };
    };
};
</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>

<p id="dt-comment-1"><strong>Line 18:</strong> <span> PolarFire</span></p>

</details>
