# Freescale QUICC Engine module (QE)

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

> Device-tree binding reference for Freescale QUICC Engine module (QE).

<!-- 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;cpm&#95;qe&#47;fsl&#44;qe&#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">This represents qe module that is installed on PowerQUICC II Pro.</p>
<p style="white-space: pre-wrap">NOTE:  This is an interim binding; it should be updated to fit
in with the CPM binding later in this document.</p>
<p style="white-space: pre-wrap">Basically, it is a bus of devices, that could act more or less
as a complete entity (UCC, USB etc ). All of them should be siblings on
the "root" qe node, using the common properties from there.
The description below applies to the qe of MPC8360 and
more nodes and properties would be extended in the future.</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-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;fsl&#44;qe&#34;</code></span>

<a id="dt-0891c69625632ea817fd"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-f1f862a3cfab3ac620c8"><code>&#34;simple&#45;bus&#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>

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

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

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

<a id="dt-35a8a57fdd6e9ed01be8"></a>

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

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

**Allowed values (<code>enum</code>):** <a id="dt-9fa9ba5f2a2ecb1852df"></a> <span id="dt-de7581f8f00afe7c340f"><code>&#34;QE&#34;</code></span>, <span id="dt-2d951a265ada8f310c90"><code>&#34;CPM&#34;</code></span>, <span id="dt-ab5b94300c411207ffda"><code>&#34;CPM2&#34;</code></span>

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

### <code>bus&#45;frequency</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-07658ac50660bb1604b5">[<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-a992fa93b10fb2c3a7ee">
<p style="white-space: pre-wrap">the clock frequency for QUICC Engine.</p>
</div>

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

### <code>fsl&#44;qe&#45;num&#45;riscs</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-b377112297650478c0be">[<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-7df1c1c8f1816336dc5d">
<p style="white-space: pre-wrap">define how many RISC engines the QE has.</p>
</div>

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

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

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-84bc10312e92fc27f76d"><code>28</code></span>

<div id="dt-307f2160e93c324d73c9">
<p style="white-space: pre-wrap">defining the array of serial number (SNUM) values for the virtual threads.</p>
</div>

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

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-bd0fb17b0d32a8789194">[<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-03f64f2684eb2030e7f6">
<p style="white-space: pre-wrap">required only if there is no fsl,qe-firmware child node</p>
<p style="white-space: pre-wrap">Points to a firmware node (see "QE Firmware Node" below)
that contains the firmware that should be uploaded for this QE.
The compatible property for the firmware node should say,
"fsl,qe-firmware".</p>
</div>

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

### <code>brg&#45;frequency</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1e78c4bb41e0009af5bf">[<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-a73d79355848b402b4a8">
<p style="white-space: pre-wrap">the internal clock source frequency for baud-rate generators in Hz.</p>
</div>

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

### <code>fsl&#44;qe&#45;num&#45;snums</code> — not listed as required here

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

**Deprecated (<code>deprecated</code>):** <span id="dt-b0982e5d99a517472c93"><code>true</code></span>

<div id="dt-eb812485a0d84df095c2">
<p style="white-space: pre-wrap">define how many serial number(SNUM) the QE can use
for the threads. Use fsl,qe-snums instead to not only specify the
number of snums, but also their values.</p>
</div>

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

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

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

### <code>&#94;muram&#64;&#91;a&#45;f0&#45;9&#93;&#43;&#36;</code> — name matches this regular expression

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d6fcf84eba65133e60f6">[<code>fsl&#44;qe&#45;muram&#46;yaml</code>](</kernel/hardware/devicetree-bindings/dt-soc/fsl-cpm-qe/fsl-qe-muram.md#dt-root>)</span>

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

### <code>&#94;interrupt&#45;controller&#64;&#91;a&#45;f0&#45;9&#93;&#43;&#36;</code> — name matches this regular expression

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-9556cad26e65b8155709">[<code>fsl&#44;qe&#45;ic&#46;yaml</code>](</kernel/hardware/devicetree-bindings/dt-soc/fsl-cpm-qe/fsl-qe-ic.md#dt-root>)</span>

<a id="dt-87f947252976f459ea95"></a>

### <code>&#94;si&#64;&#91;a&#45;f0&#45;9&#93;&#43;&#36;</code> — name matches this regular expression

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-8ce445eebd6eeecf6ab0">[<code>fsl&#44;qe&#45;si&#46;yaml</code>](</kernel/hardware/devicetree-bindings/dt-soc/fsl-cpm-qe/fsl-qe-si.md#dt-root>)</span>

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

### <code>&#94;siram&#64;&#91;a&#45;f0&#45;9&#93;&#43;&#36;</code> — name matches this regular expression

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-23645d2e2325fcf9a00c">[<code>fsl&#44;qe&#45;siram&#46;yaml</code>](</kernel/hardware/devicetree-bindings/dt-soc/fsl-cpm-qe/fsl-qe-siram.md#dt-root>)</span>

**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;bus&#45;frequency&#34;</code></span>

<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;simple&#45;bus&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-shared/simple-bus.md#dt-root>)</span>

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

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">qe-bus@e0100000 {
    compatible = "fsl,qe", "simple-bus";
    reg = &lt;0xe0100000 0x480&gt;;
    ranges = &lt;0 0xe0100000 0x00100000&gt;;
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;1&gt;;
    brg-frequency = &lt;0&gt;;
    bus-frequency = &lt;0x179a7b00&gt;;
    fsl,qe-snums = /bits/ 8 &lt;
        0x04 0x05 0x0c 0x0d 0x14 0x15 0x1c 0x1d
        0x24 0x25 0x2c 0x2d 0x34 0x35 0x88 0x89
        0x98 0x99 0xa8 0xa9 0xb8 0xb9 0xc8 0xc9
        0xd8 0xd9 0xe8 0xe9&gt;;

    interrupt-controller@80 {
        compatible = "fsl,qe-ic";
        reg = &lt;0x80 0x80&gt;;
        #interrupt-cells = &lt;1&gt;;
        interrupt-controller;
        interrupts = &lt;95 2 0 0  94 2 0 0&gt;;
    };

    si@700 {
        compatible = "fsl,t1040-qe-si";
        reg = &lt;0x700 0x80&gt;;
    };

    siram@1000 {
      compatible = "fsl,t1040-qe-siram";
      reg = &lt;0x1000 0x800&gt;;
    };

    muram@10000 {
        compatible = "fsl,qe-muram", "fsl,cpm-muram";
        ranges = &lt;0 0x00010000 0x0000c000&gt;;
        #address-cells = &lt;1&gt;;
        #size-cells = &lt;1&gt;;

          data-only@0{
              compatible = "fsl,qe-muram-data",
                          "fsl,cpm-muram-data";
              reg = &lt;0 0xc000&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>
