# Renesas EMMA Mobile EV2 System Management Unit

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

> Device-tree binding reference for Renesas EMMA Mobile EV2 System Management Unit.

<!-- 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;renesas&#44;emev2&#45;smu&#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;Geert Uytterhoeven &#60;geert&#43;renesas&#64;glider&#46;be&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Magnus Damm &#60;magnus&#46;damm&#64;gmail&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The System Management Unit is described in user's manual R19UH0037EJ1000_SMU.
This is not a clock provider, but clocks under SMU depend on it.</p>
</div>

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;renesas&#44;emev2&#45;smu&#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-2efe70314a961a652abe"></a>

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

**Exact value (<code>const</code>):** <span id="dt-e6e6af09ab617572731b"><code>2</code></span>

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

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

**Exact value (<code>const</code>):** <span id="dt-793e842f88ef513a8f93"><code>0</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;address&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;size&#45;cells&#34;</code></span>

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

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

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

### <code>&#46;&#42;sclkdiv&#64;&#46;&#42;</code> — name matches this regular expression

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

<div id="dt-847f2618dae5a304381d">
<p style="white-space: pre-wrap">Function block with an input mux and a divider, which corresponds to
"Serial clock generator" in fig. "Clock System Overview" of the manual,
and "xxx frequency division setting register" (XXXCLKDIV) registers.
This makes internal (neither input nor output) clock that is provided
to input of xxxGCLK block.</p>
</div>

<a id="dt-828d7ad80d2d72ff9ff8"></a>

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

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

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

**Exact value (<code>const</code>):** <span id="dt-1ddaba782520c9a74831"><code>&#34;renesas&#44;emev2&#45;smu&#45;clkdiv&#34;</code></span>

<a id="dt-798881dffb74299ce272"></a>

**<code>reg</code> — required here**

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

<div id="dt-fe31d20366ac23090649">
<p style="white-space: pre-wrap">Byte offset from SMU base and Bit position in the register.</p>
</div>

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

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

**Minimum number of items (<code>minItems</code>):** <span id="dt-6e7908eafc2f4a20fb9c"><code>1</code></span>

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

<a id="dt-495e86633fe3c45c2d02"></a>

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

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

**Required in this object (<code>required</code>):** <a id="dt-c849b30e6366cbb7262a"></a> <span id="dt-55b66ef41d0a33ce68db"><code>&#34;compatible&#34;</code></span>, <span id="dt-24dada622c20e587c28b"><code>&#34;reg&#34;</code></span>, <span id="dt-3eb090abddd71dc20b00"><code>&#34;clocks&#34;</code></span>, <span id="dt-5ef66a78b1e16faf4016"><code>&#34;&#35;clock&#45;cells&#34;</code></span>

<a id="dt-bb24b7349ea086ab7d81"></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-7fc52d15ab7768977294"></a>

### <code>&#46;&#42;sclk&#64;&#46;&#42;</code> — name matches this regular expression

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

<div id="dt-4d05bececca962af2ed8">
<p style="white-space: pre-wrap">Clock gating node shown as "Clock stop processing block" in the
fig. "Clock System Overview" of the manual.
Registers are "xxx clock gate control register" (XXXGCLKCTRL).</p>
</div>

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-70854b9d8921ed916ec6"><code>&#34;renesas&#44;emev2&#45;smu&#45;gclk&#34;</code></span>

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

**<code>reg</code> — required here**

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

<div id="dt-480edba457aeeeb33445">
<p style="white-space: pre-wrap">Byte offset from SMU base and Bit position in the register.</p>
</div>

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

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

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

<a id="dt-6314455d5d3caa676d65"></a>

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

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

**Required in this object (<code>required</code>):** <a id="dt-df96aa321043bd861a46"></a> <span id="dt-8c80784993158a6736f4"><code>&#34;compatible&#34;</code></span>, <span id="dt-4780c171d9c57fd22199"><code>&#34;reg&#34;</code></span>, <span id="dt-5193a9fdecf175133451"><code>&#34;clocks&#34;</code></span>, <span id="dt-c5dd743df9493e5a9bb0"><code>&#34;&#35;clock&#45;cells&#34;</code></span>

<a id="dt-f4bc7ed0c1c1a8dd00a5"></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-738c4b4f9e483441138b"></a>

## Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</code>)

<code>true</code>

Allowed by this rule.

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

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">// Example of clock-tree description:
//
//  This describes a clock path in the clock tree
//   c32ki -&gt; pll3_fo -&gt; usia_u0_sclkdiv -&gt; usia_u0_sclk
clocks@e0110000 {
        compatible = "renesas,emev2-smu";
        reg = &lt;0xe0110000 0x10000&gt;;
        #address-cells = &lt;2&gt;;
        #size-cells = &lt;0&gt;;

        c32ki: c32ki {
                compatible = "fixed-clock";
                clock-frequency = &lt;32768&gt;;
                #clock-cells = &lt;0&gt;;
        };
        pll3_fo: pll3_fo {
                compatible = "fixed-factor-clock";
                clocks = &lt;&amp;c32ki&gt;;
                clock-div = &lt;1&gt;;
                clock-mult = &lt;7000&gt;;
                #clock-cells = &lt;0&gt;;
        };
        usia_u0_sclkdiv: usia_u0_sclkdiv@610,0 {
                compatible = "renesas,emev2-smu-clkdiv";
                reg = &lt;0x610 0&gt;;
                clocks = &lt;&amp;pll3_fo&gt;;
                #clock-cells = &lt;0&gt;;
        };
        usia_u0_sclk: usia_u0_sclk@4a0,1 {
                compatible = "renesas,emev2-smu-gclk";
                reg = &lt;0x4a0 1&gt;;
                clocks = &lt;&amp;usia_u0_sclkdiv&gt;;
                #clock-cells = &lt;0&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>
