# QorIQ DPAA Buffer Manager

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Soc bindings / fsl_

> Device-tree binding reference for QorIQ DPAA Buffer Manager.

<!-- 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;soc&#47;fsl&#47;fsl&#44;bman&#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;Frank Li &#60;Frank&#46;Li&#64;nxp&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Buffer Manager is part of the Data-Path Acceleration Architecture (DPAA). BMan supports hardware allocation and deallocation of buffers belonging to pools originally created by software with configurable depletion thresholds. This binding covers the CCSR space programming model</p>
</div>

<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-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;fsl&#44;bman&#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;fsl&#44;ls1043a&#45;bman&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;fsl&#44;ls1046a&#45;bman&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;fsl&#44;bman&#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">Registers region within the CCSR address space</p>
> <p style="white-space: pre-wrap">The BMan revision information is located in the BMAN_IP_REV_1/2
> registers which are located at offsets 0xbf8 and 0xbfc</p>
> </div>

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

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

<a id="dt-985aed94c3a5de8e946a"></a>

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

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

**Item 1**

> <div id="dt-094ee990c529b33ab668">
> <p style="white-space: pre-wrap">The error interrupt</p>
> </div>

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

### <code>memory&#45;region</code> — not listed as required here

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

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

<div id="dt-b794f979757a4fadd5eb">
<p style="white-space: pre-wrap">List of phandles referencing the BMan private memory nodes (described below). The bman-fqd node must be first followed by bman-pfdr node. Only used on ARM
Devices connected to a BMan instance via Direct Connect Portals (DCP) must link to the respective BMan instance</p>
</div>

<a id="dt-573ca0b7ab70250edf86"></a>

### <code>fsl&#44;bman&#45;portals</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-9135876491cbbdaa7a66">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;phandle</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2533fa46618221e83225>)</span>

<div id="dt-da189b0934220dd4d78a">
<p style="white-space: pre-wrap">ref fsl,bman-port.yaml</p>
</div>

<a id="dt-82acb75eb46319a96ebf"></a>

### <code>fsl&#44;liodn</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-ef58aedc21f78f94cdfb">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-03a03f95a666fe4b033c>)</span>

<div id="dt-32b1b9203c3e82e9c972">
<p style="white-space: pre-wrap">See pamu.txt, PAMU property used for static LIODN assignment</p>
</div>

<a id="dt-17bf21db3c6b17c291bf"></a>

### <code>fsl&#44;iommu&#45;parent</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-fbd28a92eb02de8fdf64">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;phandle</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2533fa46618221e83225>)</span>

<div id="dt-159a2cab78f3e14a2e5e">
<p style="white-space: pre-wrap">See pamu.txt, PAMU property used for dynamic LIODN assignment</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;interrupts&#34;</code></span>

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

## Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</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/interrupt-controller/irq.h&gt;

bman@31a000 {
    compatible = "fsl,bman";
    reg = &lt;0x31a000 0x1000&gt;;
    interrupts = &lt;16 IRQ_TYPE_EDGE_FALLING 1 2&gt;;
    fsl,liodn = &lt;0x17&gt;;
    fsl,bman-portals = &lt;&amp;bportals&gt;;
    memory-region = &lt;&amp;bman_fbpr&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>
