# Freescale i.MX7ULP Peripheral Clock Control (PCC) modules Clock Controller

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

> Device-tree binding reference for Freescale i.MX7ULP Peripheral Clock Control (PCC) modules Clock Controller.

<!-- 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;clock&#47;imx7ulp&#45;pcc&#45;clock&#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;A&#46;s&#46; Dong &#60;aisheng&#46;dong&#64;nxp&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">i.MX7ULP Clock functions are under joint control of the System
Clock Generation (SCG) modules, Peripheral Clock Control (PCC)
modules, and Core Mode Controller (CMC)1 blocks</p>
<p style="white-space: pre-wrap">The clocking scheme provides clear separation between M4 domain
and A7 domain. Except for a few clock sources shared between two
domains, such as the System Oscillator clock, the Slow IRC (SIRC),
and and the Fast IRC clock (FIRCLK), clock sources and clock
management are separated and contained within each domain.</p>
<p style="white-space: pre-wrap">M4 clock management consists of SCG0, PCC0, PCC1, and CMC0 modules.
A7 clock management consists of SCG1, PCC2, PCC3, and CMC1 modules.</p>
<p style="white-space: pre-wrap">Note: this binding doc is only for A7 clock domain.</p>
<p style="white-space: pre-wrap">The Peripheral Clock Control (PCC) is responsible for clock selection,
optional division and clock gating mode for peripherals in their
respected power domain.</p>
<p style="white-space: pre-wrap">The clock consumer should specify the desired clock by having the clock
ID in its "clocks" phandle cell.
See include/dt-bindings/clock/imx7ulp-clock.h for the full list of
i.MX7ULP clock IDs of each module.</p>
</div>

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

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

<a id="dt-5c1d81699dcbe840de83"></a>

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

**Allowed values (<code>enum</code>):** <a id="dt-207128c21dbd6355c894"></a> <span id="dt-bd234eb96375d77ca611"><code>&#34;fsl&#44;imx7ulp&#45;pcc2&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;fsl&#44;imx7ulp&#45;pcc3&#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-7471877b51a93881192b"></a>

### <code>&#35;clock&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-0eebe37dd30ae3dd2a72"><code>1</code></span>

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

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

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

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

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">nic1 bus clock</p>
> </div>

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

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">nic1 clock</p>
> </div>

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

**Item 3**

> <div id="dt-98e44cf6c35fb1f8c6f9">
> <p style="white-space: pre-wrap">ddr clock</p>
> </div>

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

**Item 4**

> <div id="dt-dea0dc8762ea31ff72ac">
> <p style="white-space: pre-wrap">apll pfd2</p>
> </div>

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

**Item 5**

> <div id="dt-d67f1ffe8dbde75faf78">
> <p style="white-space: pre-wrap">apll pfd1</p>
> </div>

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

**Item 6**

> <div id="dt-33432f859e093c0b33d4">
> <p style="white-space: pre-wrap">apll pfd0</p>
> </div>

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

**Item 7**

> <div id="dt-ea8da08d635fbec17c67">
> <p style="white-space: pre-wrap">usb pll</p>
> </div>

<a id="dt-54c68f408b9de8f89b61"></a>

**Item 8**

> <div id="dt-4f5bf39a48469220a049">
> <p style="white-space: pre-wrap">system osc bus clock</p>
> </div>

<a id="dt-70a1a7b058ca0d6b926f"></a>

**Item 9**

> <div id="dt-0de632d2a145847cfa72">
> <p style="white-space: pre-wrap">fast internal reference clock bus</p>
> </div>

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

**Item 10**

> <div id="dt-6894e360c86a075494aa">
> <p style="white-space: pre-wrap">rtc osc</p>
> </div>

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

**Item 11**

> <div id="dt-ce56df8912b8f8ea9536">
> <p style="white-space: pre-wrap">system pll bus clock</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;nic1&#95;bus&#95;clk&#34;</code></span>

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

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;nic1&#95;clk&#34;</code></span>

<a id="dt-261be8310c899fd46631"></a>

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-ad55fa67f3e765bf6ab6"><code>&#34;ddr&#95;clk&#34;</code></span>

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

**Item 4**

> **Exact value (<code>const</code>):** <span id="dt-a00c09b3bb0bf38fee22"><code>&#34;apll&#95;pfd2&#34;</code></span>

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

**Item 5**

> **Exact value (<code>const</code>):** <span id="dt-0662e29e8e0f6fa46046"><code>&#34;apll&#95;pfd1&#34;</code></span>

<a id="dt-5c85cfca154ff81f91db"></a>

**Item 6**

> **Exact value (<code>const</code>):** <span id="dt-74db9e0661e7c48759a1"><code>&#34;apll&#95;pfd0&#34;</code></span>

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

**Item 7**

> **Exact value (<code>const</code>):** <span id="dt-476373fe0de47601719d"><code>&#34;upll&#34;</code></span>

<a id="dt-0193be4a74dd05cd3681"></a>

**Item 8**

> **Exact value (<code>const</code>):** <span id="dt-630c939e660398e2f44a"><code>&#34;sosc&#95;bus&#95;clk&#34;</code></span>

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

**Item 9**

> **Exact value (<code>const</code>):** <span id="dt-08dc2d8c9b908aa3d268"><code>&#34;firc&#95;bus&#95;clk&#34;</code></span>

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

**Item 10**

> **Exact value (<code>const</code>):** <span id="dt-a77f41dba60b56e1254c"><code>&#34;rosc&#34;</code></span>

<a id="dt-12d8b06a7df3814aa931"></a>

**Item 11**

> **Exact value (<code>const</code>):** <span id="dt-2ed53cba7466661173bd"><code>&#34;spll&#95;bus&#95;clk&#34;</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;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;clock&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clock&#45;names&#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/imx7ulp-clock.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;

clock-controller@403f0000 {
    compatible = "fsl,imx7ulp-pcc2";
    reg = &lt;0x403f0000 0x10000&gt;;
    #clock-cells = &lt;1&gt;;
    clocks = &lt;&amp;scg1 IMX7ULP_CLK_NIC1_BUS_DIV&gt;,
             &lt;&amp;scg1 IMX7ULP_CLK_NIC1_DIV&gt;,
             &lt;&amp;scg1 IMX7ULP_CLK_DDR_DIV&gt;,
             &lt;&amp;scg1 IMX7ULP_CLK_APLL_PFD2&gt;,
             &lt;&amp;scg1 IMX7ULP_CLK_APLL_PFD1&gt;,
             &lt;&amp;scg1 IMX7ULP_CLK_APLL_PFD0&gt;,
             &lt;&amp;scg1 IMX7ULP_CLK_UPLL&gt;,
             &lt;&amp;scg1 IMX7ULP_CLK_SOSC_BUS_CLK&gt;,
             &lt;&amp;scg1 IMX7ULP_CLK_FIRC_BUS_CLK&gt;,
             &lt;&amp;scg1 IMX7ULP_CLK_ROSC&gt;,
             &lt;&amp;scg1 IMX7ULP_CLK_SPLL_BUS_CLK&gt;;
     clock-names = "nic1_bus_clk", "nic1_clk", "ddr_clk",
                   "apll_pfd2", "apll_pfd1", "apll_pfd0",
                   "upll", "sosc_bus_clk", "firc_bus_clk",
                   "rosc", "spll_bus_clk";
};
</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>
