# RaspberryPi RP1 MFD PCI device

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

> Device-tree binding reference for RaspberryPi RP1 MFD PCI device.

<!-- 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;misc&#47;pci1de4&#44;1&#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;A&#46; della Porta &#60;andrea&#46;porta&#64;suse&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The RaspberryPi RP1 is a PCI multi function device containing peripherals ranging from Ethernet to USB controller, I2C, SPI and others. The peripherals are accessed by addressing the PCI BAR1 region.</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;ep&#45;bus&#46;yaml</code>](</kernel/hardware/devicetree-bindings/dt-pci/pci-ep-bus.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-61a516e97f63448cee16"></a>

#### Array items beyond the listed positions (<code>additionalItems</code>)

<code>true</code>

Allowed by this rule.

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

<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;pci1de4&#44;1&#34;</code></span>

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

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

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

<div id="dt-571d87f60678ead6c5ff">
<p style="white-space: pre-wrap">The PCI Bus-Device-Function address.</p>
</div>

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

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

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>2</code></span>

<div id="dt-0cc2c51365b6879fba3b">
<pre><code>Specifies respectively the interrupt number and flags as defined
in include/dt-bindings/interrupt-controller/irq.h.
Since all interrupts are active high, only IRQ_TYPE_LEVEL_HIGH
and IRQ_TYPE_EDGE_RISING can be specified as type flags.
The supported values for the interrupt number are:
  - IO BANK0: 0
  - IO BANK1: 1
  - IO BANK2: 2
  - AUDIO IN: 3
  - AUDIO OUT: 4
  - PWM0: 5
  - ETH: 6
  - I2C0: 7
  - I2C1: 8
  - I2C2: 9
  - I2C3: 10
  - I2C4: 11
  - I2C5: 12
  - I2C6: 13
  - I2S0: 14
  - I2S1: 15
  - I2S2: 16
  - SDIO0: 17
  - SDIO1: 18
  - SPI0: 19
  - SPI1: 20
  - SPI2: 21
  - SPI3: 22
  - SPI4: 23
  - SPI5: 24
  - UART0: 25
  - TIMER0: 26
  - TIMER1: 27
  - TIMER2: 28
  - TIMER3: 29
  - USB HOST0: 30
  - USB HOST0-0: 31
  - USB HOST0-1: 32
  - USB HOST0-2: 33
  - USB HOST0-3: 34
  - USB HOST1: 35
  - USB HOST1-0: 36
  - USB HOST1-1: 37
  - USB HOST1-2: 38
  - USB HOST1-3: 39
  - DMA: 40
  - PWM1: 41
  - UART1: 42
  - UART2: 43
  - UART3: 44
  - UART4: 45
  - UART5: 46
  - MIPI0: 47
  - MIPI1: 48
  - VIDEO OUT: 49
  - PIO0: 50
  - PIO1: 51
  - ADC FIFO: 52
  - PCIE OUT: 53
  - SPI6: 54
  - SPI7: 55
  - SPI8: 56
  - PROC MISC: 57
  - SYSCFG: 58
  - CLOCKS DEFAULT: 59
  - VBUSCTRL: 60</code></pre>
</div>

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

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

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

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

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

**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;&#35;interrupt&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;interrupt&#45;controller&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;pci&#45;ep&#45;bus&#64;1&#34;</code></span>

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

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">pci {
    #address-cells = &lt;3&gt;;
    #size-cells = &lt;2&gt;;

    dev@0,0 {
        compatible = "pci1de4,1";
        reg = &lt;0x10000 0x0 0x0 0x0 0x0&gt;;
        ranges = &lt;0x01 0x00 0x00000000  0x82010000 0x00 0x00  0x00 0x400000&gt;;
        #address-cells = &lt;3&gt;;
        #size-cells = &lt;2&gt;;
        interrupt-controller;
        #interrupt-cells = &lt;2&gt;;

        pci_ep_bus: pci-ep-bus@1 {
            compatible = "simple-bus";
            ranges = &lt;0x00 0x40000000  0x01 0x00 0x00000000  0x00 0x00400000&gt;;
            dma-ranges = &lt;0x10 0x00000000  0x43000000 0x10 0x00000000  0x10 0x00000000&gt;;
            #address-cells = &lt;2&gt;;
            #size-cells = &lt;2&gt;;

            rp1_clocks: clocks@40018000 {
                compatible = "raspberrypi,rp1-clocks";
                reg = &lt;0x00 0x40018000 0x0 0x10038&gt;;
                #clock-cells = &lt;1&gt;;
                clocks = &lt;&amp;clk_rp1_xosc&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>
