# Generic i.MX bus frequency device

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

> Device-tree binding reference for Generic i.MX bus frequency device.

<!-- SPDX-License-Identifier: GPL-2.0 -->


<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;interconnect&#47;fsl&#44;imx8m&#45;noc&#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;Peng Fan &#60;peng&#46;fan&#64;nxp&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The i.MX SoC family has multiple buses for which clock frequency (and
sometimes voltage) can be adjusted.</p>
<p style="white-space: pre-wrap">Some of those buses expose register areas mentioned in the memory maps as GPV
("Global Programmers View") but not all. Access to this area might be denied
for normal (non-secure) world.</p>
<p style="white-space: pre-wrap">The buses are based on externally licensed IPs such as ARM NIC-301 and
Arteris FlexNOC but DT bindings are specific to the integration of these bus
interconnect IPs into imx SOCs.</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**

> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-3b212051dcd0fc641cd8"></a> <span id="dt-bd6e6716d05ec45653db"><code>&#34;fsl&#44;imx8mm&#45;nic&#34;</code></span>, <span id="dt-3e7fb897881b12f43f81"><code>&#34;fsl&#44;imx8mn&#45;nic&#34;</code></span>, <span id="dt-b7d19de74fd35364d49f"><code>&#34;fsl&#44;imx8mp&#45;nic&#34;</code></span>, <span id="dt-6cbdeefc52e7132bc62c"><code>&#34;fsl&#44;imx8mq&#45;nic&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1da74b37131fdcec1073"><code>&#34;fsl&#44;imx8m&#45;nic&#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;imx8mm&#45;noc&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;fsl&#44;imx8mn&#45;noc&#34;</code></span>, <span id="dt-bdca084879537277097b"><code>&#34;fsl&#44;imx8mp&#45;noc&#34;</code></span>, <span id="dt-922f7901d25b667972ac"><code>&#34;fsl&#44;imx8mq&#45;noc&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;fsl&#44;imx8m&#45;noc&#34;</code></span>

<a id="dt-39cb5b72c94e12bd53ea"></a>

**Rule 3**

> **Exact value (<code>const</code>):** <span id="dt-710bc579d54b8b6b1f6c"><code>&#34;fsl&#44;imx8m&#45;nic&#34;</code></span>

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

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

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

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

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

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

<a id="dt-324942e28549e5e189eb"></a>

### <code>operating&#45;points&#45;v2</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-242e482ee6fa5e68b3dc"></a>

### <code>opp&#45;table</code> — not listed as required here

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

<a id="dt-1710d4457c512a78659f"></a>

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-e937712d52891a63e595">[<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-698c0cd264d566d84fb5">
<p style="white-space: pre-wrap">Phandle to DDR Controller.</p>
</div>

<a id="dt-3a3a88d262aedc100476"></a>

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

<div id="dt-7f55f44250a1c37306c4">
<p style="white-space: pre-wrap">If specified then also act as an interconnect provider. Should only be set once per soc on the main noc.</p>
</div>

**Exact value (<code>const</code>):** <span id="dt-bbf0029d5af0156a271b"><code>1</code></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;clocks&#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/clock/imx8mm-clock.h&gt;
#include &lt;dt-bindings/interconnect/imx8mm.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;

noc: interconnect@32700000 {
    compatible = "fsl,imx8mm-noc", "fsl,imx8m-noc";
    reg = &lt;0x32700000 0x100000&gt;;
    clocks = &lt;&amp;clk IMX8MM_CLK_NOC&gt;;
    #interconnect-cells = &lt;1&gt;;
    fsl,ddrc = &lt;&amp;ddrc&gt;;

    operating-points-v2 = &lt;&amp;noc_opp_table&gt;;
    noc_opp_table: opp-table {
        compatible = "operating-points-v2";

        opp-133333333 {
            opp-hz = /bits/ 64 &lt;133333333&gt;;
        };
        opp-800000000 {
            opp-hz = /bits/ 64 &lt;800000000&gt;;
        };
    };
};

ddrc: memory-controller@3d400000 {
    compatible = "fsl,imx8mm-ddrc", "fsl,imx8m-ddrc";
    reg = &lt;0x3d400000 0x400000&gt;;
    clock-names = "core", "pll", "alt", "apb";
    clocks = &lt;&amp;clk IMX8MM_CLK_DRAM_CORE&gt;,
             &lt;&amp;clk IMX8MM_DRAM_PLL&gt;,
             &lt;&amp;clk IMX8MM_CLK_DRAM_ALT&gt;,
             &lt;&amp;clk IMX8MM_CLK_DRAM_APB&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</span></p>

</details>
