# QorIQ DPAA Queue Manager

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

> Device-tree binding reference for QorIQ DPAA Queue 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;qman&#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 Queue Manager is part of the Data-Path Acceleration Architecture (DPAA). QMan supports queuing and QoS scheduling of frames to CPUs, network interfaces and DPAA logic modules, maintains packet ordering within flows. Besides providing flow-level queuing, is also responsible for congestion management functions such as RED/WRED, congestion notifications and tail discards. 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;qman&#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;qman&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;fsl&#44;ls1046a&#45;qman&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;fsl&#44;qman&#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 QMan revision information is located in the QMAN_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-5421ab01de9248e4d4a7"></a>

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-feed41d0816020d5db1d">[<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-4f6924568f357758c1b0">
<p style="white-space: pre-wrap">ref fsl,qman-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>

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

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

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

<div id="dt-853257adf43f6880d753">
<p style="white-space: pre-wrap">Reference input clock. Its frequency is half of the platform clock</p>
</div>

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

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

**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 QMan private memory nodes (described below). The qman-fqd node must be first followed by qman-pfdr node. Only used on ARM Devices connected to a QMan instance via Direct Connect Portals (DCP) must link to the respective QMan instance.</p>
</div>

<a id="dt-09da713f24ef373df48b"></a>

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-642a304d1066d281af0e">[<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-95ba24665be4483a8363">
<p style="white-space: pre-wrap">List of phandle and DCP index pairs, to the QMan instance to which this device is connected via the DCP</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;

qman: qman@318000 {
    compatible = "fsl,qman";
    reg = &lt;0x318000 0x1000&gt;;
    interrupts = &lt;16 IRQ_TYPE_EDGE_FALLING 1 3&gt;;
    fsl,liodn = &lt;0x16&gt;;
    fsl,qman-portals = &lt;&amp;qportals&gt;;
    memory-region = &lt;&amp;qman_fqd &amp;qman_pfdr&gt;;
    clocks = &lt;&amp;platform_pll 1&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>
