# NVIDIA Tegra124 SOCTHERM Thermal Management System

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

> Device-tree binding reference for NVIDIA Tegra124 SOCTHERM Thermal Management System.

<!-- 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;thermal&#47;nvidia&#44;tegra124&#45;soctherm&#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;Thierry Reding &#60;thierry&#46;reding&#64;gmail&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Jon Hunter &#60;jonathanh&#64;nvidia&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The SOCTHERM IP block contains thermal sensors, support for polled or interrupt-based thermal monitoring, CPU and GPU throttling based on temperature trip points, and handling external overcurrent notifications. It is also used to manage emergency shutdown in an overheating situation.</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;tegra114&#45;soctherm&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;nvidia&#44;tegra124&#45;soctherm&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;nvidia&#44;tegra132&#45;soctherm&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;nvidia&#44;tegra210&#45;soctherm&#34;</code></span>, <span id="dt-498d24c42855e222b0fd"><code>&#34;nvidia&#44;tegra210b01&#45;soctherm&#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>2</code></span>

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

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-58a7d566e1c7a6b0e414"><code>2</code></span>

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

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

<a id="dt-985aed94c3a5de8e946a"></a>

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

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

**Item 1**

> <div id="dt-094ee990c529b33ab668">
> <p style="white-space: pre-wrap">module interrupt</p>
> </div>

<a id="dt-14fdf3275cf454d3c593"></a>

**Item 2**

> <div id="dt-f26fcb0c97f34db34fe4">
> <p style="white-space: pre-wrap">EDP interrupt</p>
> </div>

<a id="dt-8aa4fd7705c68de75d2b"></a>

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

<a id="dt-77e94e63ca0b20bb5ef1"></a>

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

<a id="dt-1198ecbdbe49337cf73e"></a>

**Item 1**

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

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

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-5af1964d23a153c89b8a"><code>&#34;edp&#34;</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">thermal sensor clock</p>
> </div>

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

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">module 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;tsensor&#34;</code></span>

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

**Item 2**

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

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

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

<a id="dt-7d15d3b17aa2d528614e"></a>

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

<a id="dt-95107b4b3584e917ff31"></a>

**Item 1**

> <div id="dt-3686a6620d670314acea">
> <p style="white-space: pre-wrap">module reset</p>
> </div>

<a id="dt-563c20491090a57ac4c9"></a>

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

<a id="dt-353fc881e5c58d1dcba1"></a>

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

<a id="dt-5629342117bd5a110a5b"></a>

**Item 1**

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

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

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

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

<a id="dt-36c28e26a0c8e3f575ff"></a>

### <code>throttle&#45;cfgs</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-de0e058f311540c44a77">[<code>thermal&#45;cooling&#45;devices&#46;yaml</code>](</kernel/hardware/devicetree-bindings/dt-thermal/thermal-cooling-devices.md#dt-root>)</span>

<div id="dt-3bac42b050d07dc8d0a4">
<p style="white-space: pre-wrap">A sub-node which is a container of configuration for each hardware throttle events. These events can be set as cooling devices. Throttle event sub-nodes must be named as "light" or "heavy".</p>
</div>

<a id="dt-4550d7cf4e9df1fcd2a5"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-550bcf394992c6bd3528"></a>

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

<a id="dt-85b5f5d7154e163716a2"></a>

**<code>&#94;&#40;light&#124;heavy&#124;oc1&#41;&#36;</code> — name matches this regular expression**

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

<a id="dt-a9f15ceeee77db428990"></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-f47b08c8798a61a9dbbb"></a>

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

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

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

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

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

**<code>nvidia&#44;priority</code> — not listed as required here**

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

**Minimum value (<code>minimum</code>):** <span id="dt-adaf33068c1bc58fef5f"><code>1</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-d5737c726ad0a7be75cb"><code>100</code></span>

<div id="dt-cbaf640b84ebd2665981">
<p style="white-space: pre-wrap">Each throttles has its own throttle settings, so the SW need to set priorities for various throttle, the HW arbiter can select the final throttle settings. Bigger value indicates higher priority, In general, higher priority translates to lower target frequency. SW needs to ensure that critical thermal alarms are given higher priority, and ensure that there is no race if priority of two vectors is set to the same value.</p>
</div>

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

**<code>nvidia&#44;cpu&#45;throt&#45;percent</code> — not listed as required here**

<div id="dt-03d39c5bb892515f7948">
<p style="white-space: pre-wrap">This property is for Tegra124 and Tegra210. It is the throttling depth of pulse skippers, it's the percentage throttling.</p>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-d3a7d3f0373af8adecdf"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-e946cb6dd50d807128f6"><code>100</code></span>

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

**<code>nvidia&#44;cpu&#45;throt&#45;level</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-129baf4fcdbb1648ac16">[<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-03cbf3f039b09253988b">
<p style="white-space: pre-wrap">This property is only for Tegra132, it is the level of pulse skippers, which used to throttle clock frequencies. It indicates cpu clock throttling depth, and the depth can be programmed.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-a0ef52acaa9dabb6fed6"></a> <span id="dt-5183c4d181ffdd63c1b5"><code>0</code></span>, <span id="dt-42c5f5957475f6c64eb9"><code>1</code></span>, <span id="dt-de089f7066d5ebde16b4"><code>2</code></span>, <span id="dt-b3431598f146dd952582"><code>3</code></span>

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

**<code>nvidia&#44;gpu&#45;throt&#45;level</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-c0612dda64b81590e707">[<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-3e5a03bd76a39b924c90">
<p style="white-space: pre-wrap">This property is for Tegra124 and Tegra210. It is the level of pulse skippers, which used to throttle clock frequencies. It indicates gpu clock throttling depth and can be programmed to any of the following values which represent a throttling percentage.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-afabdced3da2db2595de"></a> <span id="dt-937aacf22af0618aa6cd"><code>0</code></span>, <span id="dt-6af9ff7d307061411578"><code>1</code></span>, <span id="dt-1e38942fbbd2ba0c312d"><code>2</code></span>, <span id="dt-92a76711606807903883"><code>3</code></span>

<a id="dt-23f9e847bab8e9688388"></a>

**<code>nvidia&#44;count&#45;threshold</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-898e3bb3880c6e49fcbc">[<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-b0857cfbc8e411abb7e6">
<p style="white-space: pre-wrap">Specifies the number of OC events that are required for triggering an interrupt. Interrupts are not triggered if the property is missing. A value of 0 will interrupt on every OC alarm.</p>
</div>

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

**<code>nvidia&#44;polarity&#45;active&#45;low</code> — not listed as required here**

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

<div id="dt-4d3a16e6466754fa899d">
<p style="white-space: pre-wrap">Configures the polarity of the OC alaram signal. If present, this means assert low, otherwise assert high.</p>
</div>

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

**<code>nvidia&#44;alarm&#45;filter</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-528828f526ebc8654e80">[<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-4b8245a59756d56dc3fa">
<p style="white-space: pre-wrap">Number of clocks to filter event. When the filter expires (which means the OC event has not occurred for a long time), the counter is cleared and filter is rearmed.</p>
</div>

**Default value (<code>default</code>):** <span id="dt-2fa3f342befa5f033735"><code>0</code></span>

<a id="dt-05089fb4c10077553486"></a>

**<code>nvidia&#44;throttle&#45;period&#45;us</code> — not listed as required here**

<div id="dt-870387a85b348552609c">
<p style="white-space: pre-wrap">Specifies the number of microseconds for which throttling is engaged after the OC event is deasserted.</p>
</div>

**Default value (<code>default</code>):** <span id="dt-da6c439c72c67784cb41"><code>0</code></span>

<a id="dt-64c7a308b8be07667aba"></a>

### <code>nvidia&#44;thermtrips</code> — not listed as required here

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

<div id="dt-8986d36c9af8defebfd1">
<p style="white-space: pre-wrap">When present, this property specifies the temperature at which the
SOCTHERM hardware will assert the thermal trigger signal to the Power
Management IC, which can be configured to reset or shutdown the device.
It is an array of pairs where each pair represents a tsensor ID followed
by a temperature in milli Celcius. In the absence of this property the
critical trip point will be used for thermtrip temperature.</p>
<pre><code>Note:
- the "critical" type trip points will be used to set the temperature at
  which the SOCTHERM hardware will assert a thermal trigger if the
  "nvidia,thermtrips" property is missing.  When the thermtrips property
  is present, the breach of a critical trip point is reported back to
  the thermal framework to implement software shutdown.</code></pre>
<pre><code>- the "hot" type trip points will be set to SOCTHERM hardware as the
  throttle temperature.  Once the temperature of this thermal zone is
  higher than it, it will trigger the HW throttle event.</code></pre>
</div>

<a id="dt-949ab3a0a15ac96f20a6"></a>

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

> <a id="dt-7f51f147108b5f17cdd7"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-527068e628fb5e9bfb57"></a>
>
> **Item 1**
>
> > <div id="dt-9fe5ff4d900522e67398">
> > <p style="white-space: pre-wrap">sensor ID</p>
> > </div>
> >
> > <a id="dt-22b2c38b4edcc23ada70"></a>
> >
> > **Exactly one of these rules must match (<code>oneOf</code>)**
> >
> > <a id="dt-194eb85c6fab125c6bf6"></a>
> >
> > **Rule 1**
> >
> > > <div id="dt-c6c063f7799dca1e30a4">
> > > <p style="white-space: pre-wrap">CPU sensor</p>
> > > </div>
> > >
> > > **Exact value (<code>const</code>):** <span id="dt-26e916f23821c984eade"><code>0</code></span>
> >
> > <a id="dt-182363a4377344ec6b4a"></a>
> >
> > **Rule 2**
> >
> > > <div id="dt-0126bde76ed94b36f01d">
> > > <p style="white-space: pre-wrap">MEM sensor</p>
> > > </div>
> > >
> > > **Exact value (<code>const</code>):** <span id="dt-47046333c6b3e4ad4821"><code>1</code></span>
> >
> > <a id="dt-9df9f264d243558eb957"></a>
> >
> > **Rule 3**
> >
> > > <div id="dt-ae129b853cc83bae3de2">
> > > <p style="white-space: pre-wrap">GPU sensor</p>
> > > </div>
> > >
> > > **Exact value (<code>const</code>):** <span id="dt-6902971adf042b59d942"><code>2</code></span>
> >
> > <a id="dt-861c9dd07d3a9afbcfda"></a>
> >
> > **Rule 4**
> >
> > > <div id="dt-d92d0a7ffac52b2fa364">
> > > <p style="white-space: pre-wrap">PLLX sensor</p>
> > > </div>
> > >
> > > **Exact value (<code>const</code>):** <span id="dt-c7e82b4d8406e86900a6"><code>3</code></span>
>
> <a id="dt-b79f79817bb78f487675"></a>
>
> **Item 2**
>
> > <div id="dt-4353257b8f30ab280942">
> > <p style="white-space: pre-wrap">temperature threshold (in millidegree Celsius)</p>
> > </div>

**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;reg&#45;names&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;interrupts&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;interrupt&#45;names&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;clocks&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;resets&#34;</code></span>, <span id="dt-727c9b818c335e022c0e"><code>&#34;reset&#45;names&#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>thermal&#45;sensor&#46;yaml</code>](</kernel/hardware/devicetree-bindings/dt-thermal/thermal-sensor.md#dt-root>)</span>

<a id="dt-22ca5ec5b89308748ecc"></a>

### Rule 2

> <a id="dt-ffbf5afb799d5f07b3e1"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-05d9c37a1275e72a170e"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-e9866824361c1aee7933"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-d1402748b5f4caf0b18a"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-61039da0155527cc02ba"></a> <span id="dt-20f8a813aab744ff239a"><code>&#34;nvidia&#44;tegra114&#45;soctherm&#34;</code></span>, <span id="dt-97636aa7a2139f7622b5"><code>&#34;nvidia&#44;tegra124&#45;soctherm&#34;</code></span>, <span id="dt-d29379bd469379c8aac7"><code>&#34;nvidia&#44;tegra210&#45;soctherm&#34;</code></span>, <span id="dt-4d46427daeb4d8de3150"><code>&#34;nvidia&#44;tegra210b01&#45;soctherm&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-26d1c84fcc55a7d91dea"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-18ed1f4bd380878274d8"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > <a id="dt-57a47f31b9538e0be5c1"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-bc319cbd3310a768e6d0"></a>
> >
> > **Item 1**
> >
> > > <div id="dt-9da9173723afbadba2bd">
> > > <p style="white-space: pre-wrap">SOCTHERM register set</p>
> > > </div>
> >
> > <a id="dt-4b59d984630720aedcbf"></a>
> >
> > **Item 2**
> >
> > > <div id="dt-b910d735710af4cc497d">
> > > <p style="white-space: pre-wrap">clock and reset controller registers</p>
> > > </div>
> >
> > <a id="dt-d950ec7774f5cc573245"></a>
> >
> > **<code>reg&#45;names</code> — not listed as required here**
> >
> > <a id="dt-a800b5914a4cda2cce34"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-0428080af588ed1ee599"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-9324644531bdb5ab5d65"><code>&#34;soctherm&#45;reg&#34;</code></span>
> >
> > <a id="dt-7f354359a699c3516473"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-ec321e37d7c7679af086"><code>&#34;car&#45;reg&#34;</code></span>
>
> <a id="dt-56ef1e95d4edd6e6f24c"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-f0255e6a88a00985d33b"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-d92e0020acecb84cba03"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > <a id="dt-6d2a34019ba0c7057a81"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-28ddd19ba02a360f1c02"></a>
> >
> > **Item 1**
> >
> > > <div id="dt-25d763924ef988e6933e">
> > > <p style="white-space: pre-wrap">SOCTHERM register set</p>
> > > </div>
> >
> > <a id="dt-f25680cb8a8394747858"></a>
> >
> > **Item 2**
> >
> > > <div id="dt-e7a1149d6d5472d87ec0">
> > > <p style="white-space: pre-wrap">CCROC registers</p>
> > > </div>
> >
> > <a id="dt-de3f0db477c85d08f996"></a>
> >
> > **<code>reg&#45;names</code> — not listed as required here**
> >
> > <a id="dt-480aaa66046d821d7f95"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-d6c0028698b931241b18"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-f1e19f365c38a57f95e9"><code>&#34;soctherm&#45;reg&#34;</code></span>
> >
> > <a id="dt-72a87846d58842a7aca1"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-4a93cdfb72dee2a866a0"><code>&#34;ccroc&#45;reg&#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/tegra124-car.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
#include &lt;dt-bindings/thermal/tegra124-soctherm.h&gt;

soctherm@700e2000 {
    compatible = "nvidia,tegra124-soctherm";
    reg = &lt;0x700e2000 0x600&gt;, /* SOC_THERM reg_base */
          &lt;0x60006000 0x400&gt;; /* CAR reg_base */
    reg-names = "soctherm-reg", "car-reg";
    interrupts = &lt;GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH&gt;,
                 &lt;GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH&gt;;
    interrupt-names = "thermal", "edp";
    clocks = &lt;&amp;tegra_car TEGRA124_CLK_TSENSOR&gt;,
             &lt;&amp;tegra_car TEGRA124_CLK_SOC_THERM&gt;;
    clock-names = "tsensor", "soctherm";
    resets = &lt;&amp;tegra_car 78&gt;;
    reset-names = "soctherm";

    #thermal-sensor-cells = &lt;1&gt;;

    nvidia,thermtrips = &lt;TEGRA124_SOCTHERM_SENSOR_CPU 102500&gt;,
                        &lt;TEGRA124_SOCTHERM_SENSOR_GPU 103000&gt;;

    throttle-cfgs {
        /*
         * When the "heavy" cooling device triggered,
         * the HW will skip cpu clock's pulse in 85% depth,
         * skip gpu clock's pulse in 85% level
         */
        heavy {
            nvidia,priority = &lt;100&gt;;
            nvidia,cpu-throt-percent = &lt;85&gt;;
            nvidia,gpu-throt-level = &lt;TEGRA_SOCTHERM_THROT_LEVEL_HIGH&gt;;

            #cooling-cells = &lt;2&gt;;
        };

        /*
         * When the "light" cooling device triggered,
         * the HW will skip cpu clock's pulse in 50% depth,
         * skip gpu clock's pulse in 50% level
         */
        light {
            nvidia,priority = &lt;80&gt;;
            nvidia,cpu-throt-percent = &lt;50&gt;;
            nvidia,gpu-throt-level = &lt;TEGRA_SOCTHERM_THROT_LEVEL_LOW&gt;;

            #cooling-cells = &lt;2&gt;;
        };

        /*
         * If these two devices are triggered in same time, the HW throttle
         * arbiter will select the highest priority as the final throttle
         * settings to skip cpu pulse.
         */

        oc1 {
            nvidia,priority = &lt;50&gt;;
            nvidia,polarity-active-low;
            nvidia,count-threshold = &lt;100&gt;;
            nvidia,alarm-filter = &lt;5100000&gt;;
            nvidia,throttle-period-us = &lt;0&gt;;
            nvidia,cpu-throt-percent = &lt;75&gt;;
            nvidia,gpu-throt-level = &lt;TEGRA_SOCTHERM_THROT_LEVEL_MED&gt;;
        };
    };
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">thermal-sensor@700e2000 {
    compatible = "nvidia,tegra132-soctherm";
    reg = &lt;0x700e2000 0x600&gt;, /* SOC_THERM reg_base */
          &lt;0x70040000 0x200&gt;; /* CCROC reg_base */
    reg-names = "soctherm-reg", "ccroc-reg";
    interrupts = &lt;GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH&gt;,
                 &lt;GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH&gt;;
    interrupt-names = "thermal", "edp";
    clocks = &lt;&amp;tegra_car TEGRA124_CLK_TSENSOR&gt;,
             &lt;&amp;tegra_car TEGRA124_CLK_SOC_THERM&gt;;
    clock-names = "tsensor", "soctherm";
    resets = &lt;&amp;tegra_car 78&gt;;
    reset-names = "soctherm";
    #thermal-sensor-cells = &lt;1&gt;;

    throttle-cfgs {
        /*
         * When the "heavy" cooling device triggered,
         * the HW will skip cpu clock's pulse in HIGH level
         */
        heavy {
            nvidia,priority = &lt;100&gt;;
            nvidia,cpu-throt-level = &lt;TEGRA_SOCTHERM_THROT_LEVEL_HIGH&gt;;

            #cooling-cells = &lt;2&gt;;
        };

        /*
         * When the "light" cooling device triggered,
         * the HW will skip cpu clock's pulse in MED level
         */
        light {
            nvidia,priority = &lt;80&gt;;
            nvidia,cpu-throt-level = &lt;TEGRA_SOCTHERM_THROT_LEVEL_MED&gt;;

            #cooling-cells = &lt;2&gt;;
        };

        /*
         * If these two devices are triggered in same time, the HW throttle
         * arbiter will select the highest priority as the final throttle
         * settings to skip cpu pulse.
         */
    };
};
</code></pre>

<pre id="dt-d0212a4cd671f89a0b40"><code class="language-dts">thermal-zones {
    cpu-thermal {
        polling-delay-passive = &lt;1000&gt;;
        polling-delay = &lt;1000&gt;;

        thermal-sensors = &lt;&amp;soctherm TEGRA124_SOCTHERM_SENSOR_CPU&gt;;

        trips {
            cpu_shutdown_trip: shutdown-trip {
                temperature = &lt;102500&gt;;
                hysteresis = &lt;1000&gt;;
                type = "critical";
            };

            cpu_throttle_trip: throttle-trip {
                temperature = &lt;100000&gt;;
                hysteresis = &lt;1000&gt;;
                type = "hot";
            };
        };

        cooling-maps {
            map0 {
                trip = &lt;&amp;cpu_throttle_trip&gt;;
                cooling-device = &lt;&amp;throttle_heavy 1 1&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>

<p id="dt-comment-1"><strong>Line 105:</strong> <span> none (TEGRA_SOCTHERM_THROT_LEVEL_NONE)</span></p>

<p id="dt-comment-2"><strong>Line 107:</strong> <span> low (TEGRA_SOCTHERM_THROT_LEVEL_LOW)</span></p>

<p id="dt-comment-3"><strong>Line 109:</strong> <span> medium (TEGRA_SOCTHERM_THROT_LEVEL_MED)</span></p>

<p id="dt-comment-4"><strong>Line 111:</strong> <span> high (TEGRA_SOCTHERM_THROT_LEVEL_HIGH)</span></p>

<p id="dt-comment-5"><strong>Line 122:</strong> <span> none (0%, TEGRA_SOCTHERM_THROT_LEVEL_NONE)</span></p>

<p id="dt-comment-6"><strong>Line 124:</strong> <span> low (50%, TEGRA_SOCTHERM_THROT_LEVEL_LOW)</span></p>

<p id="dt-comment-7"><strong>Line 126:</strong> <span> medium (75%, TEGRA_SOCTHERM_THROT_LEVEL_MED)</span></p>

<p id="dt-comment-8"><strong>Line 128:</strong> <span> high (85%, TEGRA_SOCTHERM_THROT_LEVEL_HIGH)</span></p>

<p id="dt-comment-9"><strong>Line 131:</strong> <span> optional</span></p>

<p id="dt-comment-10"><strong>Line 132:</strong> <span> Tegra210 specific and valid only for OCx throttle events</span></p>

<p id="dt-comment-11"><strong>Line 157:</strong> <span> optional</span></p>

<p id="dt-comment-12"><strong>Line 310:</strong> <span> referring to Tegra132's "reg", "reg-names" and "throttle-cfgs"</span></p>

<p id="dt-comment-13"><strong>Line 358:</strong> <span> referring to thermal sensors</span></p>

</details>
