# Qualcomm SM8550 PCI Express Root Complex

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

> Device-tree binding reference for Qualcomm SM8550 PCI Express Root Complex.

<!-- 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;qcom&#44;pcie&#45;sm8550&#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;Bjorn Andersson &#60;andersson&#64;kernel&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Manivannan Sadhasivam &#60;mani&#64;kernel&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Qualcomm SM8550 SoC (and compatible) PCIe root complex controller is based on the Synopsys DesignWare PCIe IP.</p>
</div>

<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

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

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

**Rule 1**

> **Exact value (<code>const</code>):** <span id="dt-d1fe1b456a54b64074d3"><code>&#34;qcom&#44;pcie&#45;sm8550&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;qcom&#44;kaanapali&#45;pcie&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;qcom&#44;sar2130p&#45;pcie&#34;</code></span>, <span id="dt-bdca084879537277097b"><code>&#34;qcom&#44;pcie&#45;sm8650&#34;</code></span>, <span id="dt-922f7901d25b667972ac"><code>&#34;qcom&#44;pcie&#45;sm8750&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;qcom&#44;pcie&#45;sm8550&#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>5</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>6</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>5</code></span>

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-69afd9f8af3b0c5757d2"><code>&#34;parf&#34;</code></span>

<a id="dt-12013039402717d72b48"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-8472c6e17fb2491b6ba3"><code>&#34;dbi&#34;</code></span>

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

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-bd78c6ffbdc5ce20feb0"><code>&#34;elbi&#34;</code></span>

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

**Item 4**

> **Exact value (<code>const</code>):** <span id="dt-98e4b3caabf49b98c17d"><code>&#34;atu&#34;</code></span>

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

**Item 5**

> **Exact value (<code>const</code>):** <span id="dt-f5b0caab3d0e3bc730aa"><code>&#34;config&#34;</code></span>

<a id="dt-6163748256066003777f"></a>

**Item 6**

> **Exact value (<code>const</code>):** <span id="dt-81567d5e5cafc8c025ce"><code>&#34;mhi&#34;</code></span>

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

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

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

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

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

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

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

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;aux&#34;</code></span>

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

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;cfg&#34;</code></span>

<a id="dt-261be8310c899fd46631"></a>

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-ad55fa67f3e765bf6ab6"><code>&#34;bus&#95;master&#34;</code></span>

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

**Item 4**

> **Exact value (<code>const</code>):** <span id="dt-a00c09b3bb0bf38fee22"><code>&#34;bus&#95;slave&#34;</code></span>

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

**Item 5**

> **Exact value (<code>const</code>):** <span id="dt-0662e29e8e0f6fa46046"><code>&#34;slave&#95;q2a&#34;</code></span>

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

**Item 6**

> **Exact value (<code>const</code>):** <span id="dt-74db9e0661e7c48759a1"><code>&#34;ddrss&#95;sf&#95;tbu&#34;</code></span>

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

**Item 7**

> **Exact value (<code>const</code>):** <span id="dt-476373fe0de47601719d"><code>&#34;noc&#95;aggr&#34;</code></span>

<a id="dt-0193be4a74dd05cd3681"></a>

**Item 8**

> **Exact value (<code>const</code>):** <span id="dt-630c939e660398e2f44a"><code>&#34;cnoc&#95;sf&#95;axi&#34;</code></span>

<a id="dt-63ff63a9c6771cd12cff"></a>

**Item 9**

> **Exact value (<code>const</code>):** <span id="dt-08dc2d8c9b908aa3d268"><code>&#34;qmip&#95;pcie&#95;ahb&#34;</code></span>

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

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

**Minimum number of items (<code>minItems</code>):** <span id="dt-1691b9edf145244244a0"><code>8</code></span>

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

<a id="dt-8aa4fd7705c68de75d2b"></a>

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

**Minimum number of items (<code>minItems</code>):** <span id="dt-30089c7b6e408306475b"><code>8</code></span>

<a id="dt-77e94e63ca0b20bb5ef1"></a>

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

<a id="dt-1198ecbdbe49337cf73e"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-7f7686a533ef09dda0b1"><code>&#34;msi0&#34;</code></span>

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

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-5af1964d23a153c89b8a"><code>&#34;msi1&#34;</code></span>

<a id="dt-01a6f91e38388cdf0f5a"></a>

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-25e85adf3e7caf29cd92"><code>&#34;msi2&#34;</code></span>

<a id="dt-96b5fc50d1d5da0ddc64"></a>

**Item 4**

> **Exact value (<code>const</code>):** <span id="dt-bb507334c2bd56c85638"><code>&#34;msi3&#34;</code></span>

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

**Item 5**

> **Exact value (<code>const</code>):** <span id="dt-24e24ae9c744f6d3404a"><code>&#34;msi4&#34;</code></span>

<a id="dt-78538ebdcee0e6b3ee29"></a>

**Item 6**

> **Exact value (<code>const</code>):** <span id="dt-7cc2c08134dc2e073aa6"><code>&#34;msi5&#34;</code></span>

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

**Item 7**

> **Exact value (<code>const</code>):** <span id="dt-08fa51b24e80029ccaa4"><code>&#34;msi6&#34;</code></span>

<a id="dt-01720d94ef8e36f0fe37"></a>

**Item 8**

> **Exact value (<code>const</code>):** <span id="dt-b69442fc9d7cffb6c650"><code>&#34;msi7&#34;</code></span>

<a id="dt-489088339303f6d7dc09"></a>

**Item 9**

> **Exact value (<code>const</code>):** <span id="dt-4f107fa09e05a1c047ff"><code>&#34;global&#34;</code></span>

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

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

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

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

<a id="dt-563c20491090a57ac4c9"></a>

### <code>reset&#45;names</code> — required here

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

<a id="dt-353fc881e5c58d1dcba1"></a>

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

<a id="dt-5629342117bd5a110a5b"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-00c19fce1fea453eab02"><code>&#34;pci&#34;</code></span>

<a id="dt-80813f149d5a57545875"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-bff27a7e8c043853e284"><code>&#34;link&#95;down&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;power&#45;domains&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;resets&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;reset&#45;names&#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>qcom&#44;pcie&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-pci/qcom-pcie-common.md#dt-root>)</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">#include &lt;dt-bindings/clock/qcom,sm8550-gcc.h&gt;
#include &lt;dt-bindings/gpio/gpio.h&gt;
#include &lt;dt-bindings/interconnect/qcom,sm8550-rpmh.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;

soc {
    #address-cells = &lt;2&gt;;
    #size-cells = &lt;2&gt;;

    pcie@1c00000 {
        compatible = "qcom,pcie-sm8550";
        reg = &lt;0 0x01c00000 0 0x3000&gt;,
              &lt;0 0x60000000 0 0xf1d&gt;,
              &lt;0 0x60000f20 0 0xa8&gt;,
              &lt;0 0x60001000 0 0x1000&gt;,
              &lt;0 0x60100000 0 0x100000&gt;;
        reg-names = "parf", "dbi", "elbi", "atu", "config";
        ranges = &lt;0x01000000 0x0 0x00000000 0x0 0x60200000 0x0 0x100000&gt;,
                 &lt;0x02000000 0x0 0x60300000 0x0 0x60300000 0x0 0x3d00000&gt;;

        bus-range = &lt;0x00 0xff&gt;;
        device_type = "pci";
        linux,pci-domain = &lt;0&gt;;
        num-lanes = &lt;2&gt;;

        #address-cells = &lt;3&gt;;
        #size-cells = &lt;2&gt;;

        clocks = &lt;&amp;gcc GCC_PCIE_0_AUX_CLK&gt;,
                 &lt;&amp;gcc GCC_PCIE_0_CFG_AHB_CLK&gt;,
                 &lt;&amp;gcc GCC_PCIE_0_MSTR_AXI_CLK&gt;,
                 &lt;&amp;gcc GCC_PCIE_0_SLV_AXI_CLK&gt;,
                 &lt;&amp;gcc GCC_PCIE_0_SLV_Q2A_AXI_CLK&gt;,
                 &lt;&amp;gcc GCC_DDRSS_PCIE_SF_QTB_CLK&gt;,
                 &lt;&amp;gcc GCC_AGGRE_NOC_PCIE_AXI_CLK&gt;;
        clock-names = "aux",
                      "cfg",
                      "bus_master",
                      "bus_slave",
                      "slave_q2a",
                      "ddrss_sf_tbu",
                      "noc_aggr";

        dma-coherent;

        interrupts = &lt;GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH&gt;,
                     &lt;GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH&gt;,
                     &lt;GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH&gt;,
                     &lt;GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH&gt;,
                     &lt;GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH&gt;,
                     &lt;GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH&gt;,
                     &lt;GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH&gt;,
                     &lt;GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH&gt;,
                     &lt;GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH&gt;;
        interrupt-names = "msi0", "msi1", "msi2", "msi3",
                          "msi4", "msi5", "msi6", "msi7", "global";
        #interrupt-cells = &lt;1&gt;;
        interrupt-map-mask = &lt;0 0 0 0x7&gt;;
        interrupt-map = &lt;0 0 0 1 &amp;intc 0 0 0 149 IRQ_TYPE_LEVEL_HIGH&gt;, /* int_a */
                        &lt;0 0 0 2 &amp;intc 0 0 0 150 IRQ_TYPE_LEVEL_HIGH&gt;, /* int_b */
                        &lt;0 0 0 3 &amp;intc 0 0 0 151 IRQ_TYPE_LEVEL_HIGH&gt;, /* int_c */
                        &lt;0 0 0 4 &amp;intc 0 0 0 152 IRQ_TYPE_LEVEL_HIGH&gt;; /* int_d */

        interconnects = &lt;&amp;pcie_noc MASTER_PCIE_0 0 &amp;mc_virt SLAVE_EBI1 0&gt;,
                        &lt;&amp;gem_noc MASTER_APPSS_PROC 0 &amp;cnoc_main SLAVE_PCIE_0 0&gt;;
        interconnect-names = "pcie-mem", "cpu-pcie";

        iommu-map = &lt;0x0 &amp;apps_smmu 0x1400 0x1&gt;,
                    &lt;0x100 &amp;apps_smmu 0x1401 0x1&gt;;

        phys = &lt;&amp;pcie0_phy&gt;;
        phy-names = "pciephy";

        pinctrl-0 = &lt;&amp;pcie0_default_state&gt;;
        pinctrl-names = "default";

        power-domains = &lt;&amp;gcc PCIE_0_GDSC&gt;;

        resets = &lt;&amp;gcc GCC_PCIE_0_BCR&gt;;
        reset-names = "pci";

        perst-gpios = &lt;&amp;tlmm 94 GPIO_ACTIVE_LOW&gt;;
        wake-gpios = &lt;&amp;tlmm 96 GPIO_ACTIVE_HIGH&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>

<p id="dt-comment-1"><strong>Line 36:</strong> <span> Qualcomm specific registers</span></p>

<p id="dt-comment-2"><strong>Line 37:</strong> <span> DesignWare PCIe registers</span></p>

<p id="dt-comment-3"><strong>Line 38:</strong> <span> External local bus interface registers</span></p>

<p id="dt-comment-4"><strong>Line 39:</strong> <span> ATU address space</span></p>

<p id="dt-comment-5"><strong>Line 40:</strong> <span> PCIe configuration space</span></p>

<p id="dt-comment-6"><strong>Line 41:</strong> <span> MHI registers</span></p>

<p id="dt-comment-7"><strong>Line 50:</strong> <span> Auxiliary clock</span></p>

<p id="dt-comment-8"><strong>Line 51:</strong> <span> Configuration clock</span></p>

<p id="dt-comment-9"><strong>Line 52:</strong> <span> Master AXI clock</span></p>

<p id="dt-comment-10"><strong>Line 53:</strong> <span> Slave AXI clock</span></p>

<p id="dt-comment-11"><strong>Line 54:</strong> <span> Slave Q2A clock</span></p>

<p id="dt-comment-12"><strong>Line 55:</strong> <span> PCIe SF TBU clock</span></p>

<p id="dt-comment-13"><strong>Line 56:</strong> <span> Aggre NoC PCIe AXI clock</span></p>

<p id="dt-comment-14"><strong>Line 57:</strong> <span> Config NoC PCIe1 AXI clock</span></p>

<p id="dt-comment-15"><strong>Line 58:</strong> <span> QMIP PCIe AHB clock</span></p>

<p id="dt-comment-16"><strong>Line 84:</strong> <span> PCIe core reset</span></p>

<p id="dt-comment-17"><strong>Line 85:</strong> <span> PCIe link down reset</span></p>

</details>
