# NVIDIA Tegra Clock and Reset Controller

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

> Device-tree binding reference for NVIDIA Tegra Clock and Reset Controller.

<!-- SPDX-License-Identifier: (GPL-2.0+ 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;nvidia&#44;tegra20&#45;car&#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;Jon Hunter &#60;jonathanh&#64;nvidia&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Thierry Reding &#60;thierry&#46;reding&#64;gmail&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Clock and Reset (CAR) is the HW module responsible for muxing and gating
Tegra's clocks, and setting their rates. It comprises CLKGEN and RSTGEN units.</p>
<p style="white-space: pre-wrap">CLKGEN provides the registers to program the PLLs. It controls most of
the clock source programming and most of the clock dividers.</p>
<p style="white-space: pre-wrap">CLKGEN input signals include the external clock for the reference frequency
(12 MHz, 26 MHz) and the external clock for the Real Time Clock (32.768 KHz).</p>
<p style="white-space: pre-wrap">Outputs from CLKGEN are inputs clock of the h/w blocks in the Tegra system.</p>
<p style="white-space: pre-wrap">RSTGEN provides the registers needed to control resetting of each block in
the Tegra system.</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;nvidia&#44;tegra20&#45;car&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;nvidia&#44;tegra30&#45;car&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;nvidia&#44;tegra114&#45;car&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;nvidia&#44;tegra210&#45;car&#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-02c38475362b738e226b"></a>

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

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

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

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

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

### <code>&#94;&#40;sclk&#41;&#124;&#40;pll&#45;&#91;cem&#93;&#41;&#36;</code> — name matches this regular expression

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

<a id="dt-145413b69e797f3df865"></a>

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

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

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

**Allowed values (<code>enum</code>):** <a id="dt-64eeed12dfb04a4be4c3"></a> <span id="dt-356b64b1fdbbd74075b2"><code>&#34;nvidia&#44;tegra20&#45;sclk&#34;</code></span>, <span id="dt-2f5d48af73bb0d5baab7"><code>&#34;nvidia&#44;tegra30&#45;sclk&#34;</code></span>, <span id="dt-383dde3dea10960c8ce9"><code>&#34;nvidia&#44;tegra30&#45;pllc&#34;</code></span>, <span id="dt-8a23d8e3fbf775c65236"><code>&#34;nvidia&#44;tegra30&#45;plle&#34;</code></span>, <span id="dt-97bd2037ba054b14365b"><code>&#34;nvidia&#44;tegra30&#45;pllm&#34;</code></span>

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

**<code>operating&#45;points&#45;v2</code> — required here**

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

<a id="dt-555707699ca206252a08"></a>

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

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

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

<a id="dt-293c36f9688515b164f9"></a>

**Item 1**

> <div id="dt-166a6fe78ae77f5830ac">
> <p style="white-space: pre-wrap">node's clock</p>
> </div>

<a id="dt-807d340a789c6312a000"></a>

**<code>power&#45;domains</code> — required here**

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

<div id="dt-7f26aabd0e166c5960c3">
<p style="white-space: pre-wrap">phandle to the core SoC power domain</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-12d9c67da7550a0feb1e"></a> <span id="dt-dfb75133660584076176"><code>&#34;compatible&#34;</code></span>, <span id="dt-407d069f96261f803113"><code>&#34;operating&#45;points&#45;v2&#34;</code></span>, <span id="dt-62e4db05f4815c8b892f"><code>&#34;clocks&#34;</code></span>, <span id="dt-c2a4d127be9ba218c032"><code>&#34;power&#45;domains&#34;</code></span>

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

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

<code>false</code>

Not allowed by this rule.

**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;&#35;reset&#45;cells&#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/tegra20-car.h&gt;

car: clock-controller@60006000 {
    compatible = "nvidia,tegra20-car";
    reg = &lt;0x60006000 0x1000&gt;;
    #clock-cells = &lt;1&gt;;
    #reset-cells = &lt;1&gt;;

    sclk {
        compatible = "nvidia,tegra20-sclk";
        operating-points-v2 = &lt;&amp;opp_table&gt;;
        clocks = &lt;&amp;tegra_car TEGRA20_CLK_SCLK&gt;;
        power-domains = &lt;&amp;domain&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+ OR BSD-2-Clause)</span></p>

</details>
