# QorIQ DPAA Queue Manager Portals

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

> Device-tree binding reference for QorIQ DPAA Queue Manager Portals.

<!-- 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&#45;portal&#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">Portals are memory mapped interfaces to QMan that allow low-latency, lock-less interaction by software running on processor cores, accelerators and network interfaces with the QMan</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&#45;portal&#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;ls1043&#45;qman&#45;portal&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;fsl&#44;ls1046&#45;qman&#45;portal&#34;</code></span>, <span id="dt-bdca084879537277097b"><code>&#34;fsl&#44;qman&#45;portal&#45;1&#46;2&#46;0&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;fsl&#44;qman&#45;portal&#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">the cache-enabled region of the portal</p>
> </div>

<a id="dt-302751dd79bfd514b9d7"></a>

**Item 2**

> <div id="dt-b729cb065b03c20c0e01">
> <p style="white-space: pre-wrap">the cache-inhibited region of the portal</p>
> </div>

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

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

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

<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>

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

<div id="dt-32b1b9203c3e82e9c972">
<p style="white-space: pre-wrap">See pamu.txt. Two LIODN(s). DQRR LIODN (DLIODN) and Frame LIODN (FLIODN)</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.</p>
</div>

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

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

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

<div id="dt-53debb52fffd902b4a81">
<p style="white-space: pre-wrap">qman channel id.</p>
</div>

<a id="dt-19cbc5b7e5dabb16c580"></a>

### <code>cell&#45;index</code> — not listed as required here

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

<div id="dt-8d4ab3d90cbbdd65cb67">
<p style="white-space: pre-wrap">The hardware index of the channel. This can also be determined by dividing any of the channel's 8 work queue IDs by 8
In addition to these properties the qman-portals should have sub-nodes to represent the HW devices/portals that are connected to the software portal described here</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-e92215bd3c2f5373b164"></a>

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

<a id="dt-36a9071c075091a96d30"></a>

### <code>&#94;&#40;fman0&#124;fman1&#124;pme&#124;crypto&#41;&#43;&#36;</code> — name matches this regular expression

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

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

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

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

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-a03537bfeb96e5fd1c1c">[<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-aa1fa86f70d334ed6bc7">
<p style="white-space: pre-wrap">See pamu.txt, PAMU property used for static LIODN assignment</p>
</div>

<a id="dt-15d3cbc0d0439e7b6baf"></a>

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

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

<a id="dt-98b1661e859a2ca18582"></a>

**<code>dev&#45;handle</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-4ed094470b53c7c9861f">[<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-97fef48b54e7daf65187">
<p style="white-space: pre-wrap">The phandle to the particular hardware device that this portal is connected to.</p>
</div>

<a id="dt-766d79c723d02f93081c"></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-portal@0 {
    compatible = "fsl,qman-portal-1.2.0", "fsl,qman-portal";
    reg = &lt;0 0x4000&gt;, &lt;0x100000 0x1000&gt;;
    interrupts = &lt;104 IRQ_TYPE_EDGE_FALLING 0 0&gt;;
    fsl,liodn = &lt;1 2&gt;;
    fsl,qman-channel-id = &lt;0&gt;;

    fman0 {
        fsl,liodn = &lt;0x21&gt;;
        dev-handle = &lt;&amp;fman0&gt;;
    };

    fman1 {
        fsl,liodn = &lt;0xa1&gt;;
        dev-handle = &lt;&amp;fman1&gt;;
    };

    crypto {
        fsl,liodn = &lt;0x41 0x66&gt;;
        dev-handle = &lt;&amp;crypto&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>
