# Common Properties for PCI MFD EP with Peripherals Addressable from BARs

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

> Device-tree binding reference for Common Properties for PCI MFD EP with Peripherals Addressable from BARs.

<!-- 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;pci&#45;ep&#45;bus&#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">Define a generic node representing a PCI endpoint which contains several sub- peripherals. The peripherals can be accessed through one or more BARs. This common schema is intended to be referenced from device tree bindings and does not represent a device tree binding by itself.</p>
</div>

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

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

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

### <code>&#35;address&#45;cells</code> — not listed as required here

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

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

### <code>&#35;size&#45;cells</code> — not listed as required here

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

<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>6</code></span>

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

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

> **Maximum number of items (<code>maxItems</code>):** <span id="dt-baeb3f795a96b5c9bbc8"><code>8</code></span>
>
> <a id="dt-9683e073d89a5550366e"></a>
>
> **Array items beyond the listed positions (<code>additionalItems</code>)**
>
> <code>true</code>
>
> Allowed by this rule.
>
> <a id="dt-967fcea4e00b744742be"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-ae60fbec69418416aebb"></a>
>
> **Item 1**
>
> > **Maximum value (<code>maximum</code>):** <span id="dt-c6d64c48215b6fabe0b0"><code>5</code></span>
>
> <a id="dt-1e1fce8d004a4abed31e"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-614550803c402a590003"><code>0</code></span>
>
> <a id="dt-601715494eba178c2cd1"></a>
>
> **Item 3**
>
> > **Exact value (<code>const</code>):** <span id="dt-2f5cb7bd1717682f5aa5"><code>0</code></span>

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

## Properties matching a name pattern (<code>patternProperties</code>)

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

### <code>&#94;pci&#45;ep&#45;bus&#64;&#91;0&#45;5&#93;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-d2c953b76cdf88391cc1"><code>&#34;object&#34;</code></span>

<div id="dt-f39102721e428b7716c6">
<p style="white-space: pre-wrap">One node for each BAR used by peripherals contained in the PCI endpoint. Each node represents a bus on which peripherals are connected. This allows for some segmentation, e.g., one peripheral is accessible through BAR0 and another through BAR1, and you don't want the two peripherals to be able to act on the other BAR. Alternatively, when different peripherals need to share BARs, you can define only one node and use a 'ranges' property to map all the used BARs.</p>
</div>

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

#### Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</code>)

<code>true</code>

Allowed by this rule.

<a id="dt-48559f21b3873788eed1"></a>

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

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

**<code>compatible</code> — required here**

**Exact value (<code>const</code>):** <span id="dt-0f6a1a31aa3d3ecf2c17"><code>&#34;simple&#45;bus&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-26b88aeb98a0444423c9"></a> <span id="dt-bf342e42d61816c38aa5"><code>&#34;compatible&#34;</code></span>

<a id="dt-738c4b4f9e483441138b"></a>

## Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</code>)

<code>true</code>

Allowed by this rule.

## 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 32:</strong> <span> The BAR number</span></p>

</details>
