# CPU node common properties

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Shared binding definitions_

> Device-tree binding reference for CPU node common properties.

<!-- 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;cpu&#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;base&#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;Devicetree Specification Mailing List &#60;devicetree&#45;spec&#64;vger&#46;kernel&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">In Devicetree data files, the layout of CPUs is described in the
"cpus" node.  This node in turn contains a number of subnodes
representing CPUs, which define properties for every cpu.</p>
<p style="white-space: pre-wrap">Bindings for CPU nodes follow the Devicetree Specification, available from:</p>
<p style="white-space: pre-wrap">https://www.devicetree.org/specifications/</p>
</div>

<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>cache&#45;controller&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-shared/cache-controller.md#dt-root>)</span>

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

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

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

### <code>device&#95;type</code> — not listed as required here

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

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

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

<div id="dt-571d87f60678ead6c5ff">
<p style="white-space: pre-wrap">Defines a unique CPU/thread ID for the CPU/threads represented by the CPU node.</p>
</div>

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

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

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

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

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

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

<a id="dt-0298421e73bc073162cc"></a>

### <code>clock&#45;frequency</code> — not listed as required here

<div id="dt-a8bced0e066c3e53744b">
<p style="white-space: pre-wrap">Specifies the current clock speed of the CPU in Hertz.</p>
</div>

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

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

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

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

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

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

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

### <code>cpu&#45;supply</code> — not listed as required here

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

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

### <code>timebase&#45;frequency</code> — not listed as required here

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

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-33af0ed1200409000b2b"></a>

**Rule 1**

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

<a id="dt-360175dc7a394825c1e0"></a>

**Rule 2**

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

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

<div id="dt-218148df1a8023d8fcfa">
<p style="white-space: pre-wrap">Specifies the current frequency at which the timebase and the decrementer registers are updated (in Hertz).</p>
</div>

<a id="dt-53c383b4b3f488dedd73"></a>

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-830dc82313734fdda776">[<code>types&#46;yaml&#35;&#47;definitions&#47;string</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2c695d502852c3a1e1b7>)</span>

**Allowed values (<code>enum</code>):** <a id="dt-396ba33e7d3fa7d49f07"></a> <span id="dt-b2fd06d83b51d086c74d"><code>&#34;okay&#34;</code></span>, <span id="dt-9c946b1ef0d285ab68ca"><code>&#34;disabled&#34;</code></span>, <span id="dt-378924a2c8cc75ab82cd"><code>&#34;fail&#34;</code></span>

<div id="dt-7c372fd1717451fd6736">
<p style="white-space: pre-wrap">A standard property describing the state of a CPU. A CPU may be running ("okay"), in a quiescent state ("disabled") or be not operational or not exist ("fail").</p>
</div>

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

### <code>enable&#45;method</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-4753eae2caeb0af644f1">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-7360acce49da10397d42>)</span>

<div id="dt-8af1f8bc18ce1a34ef21">
<p style="white-space: pre-wrap">Describes the method by which a CPU in a disabled state is enabled. This property is required for CPUs with a status property with a value of "disabled".  The value consists of one or more strings that define the method to release this CPU.  If a client program recognizes any of the methods, it may use it.</p>
</div>

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

### <code>cpu&#45;release&#45;addr</code> — not listed as required here

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

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-61c5bb9f9e931009c5ea"></a>

**Rule 1**

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

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

**Rule 2**

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

<div id="dt-70f52893e1611ed35540">
<p style="white-space: pre-wrap">This value specifies the physical address of a spin table entry that releases a secondary CPU from its spin loop.</p>
</div>

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

### <code>cache&#45;op&#45;block&#45;size</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-c746f7ae5cb0b50c7aa9">[<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-94199acc9075691ef6eb">
<p style="white-space: pre-wrap">Specifies the block size in bytes upon which cache block instructions operate.  Required if different than the L1 cache block size.</p>
</div>

<a id="dt-8069917f601ff983d02d"></a>

### <code>reservation&#45;granule&#45;size</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-128755157890b5654c57">[<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-f040d436b7e82dd21e2f">
<p style="white-space: pre-wrap">Specifies the reservation granule size supported by this processor in bytes.</p>
</div>

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

### <code>numa&#45;node&#45;id</code> — not listed as required here

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

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

### <code>mmu&#45;type</code> — not listed as required here

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

<div id="dt-17dfce439c33bbfa1583">
<p style="white-space: pre-wrap">Specifies the CPU's MMU type.</p>
</div>

<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-df9d7ed5fb4678c28837"></a>

### <code>tlb&#45;split</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-cbf8de386982838e9435">[<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-75555de234100f7d1c4f">
<p style="white-space: pre-wrap">If present, specifies that the TLB has a split configuration, with separate TLBs for instructions and data.  If absent, specifies that the TLB has a unified configuration.  Required for a CPU with a TLB in a split configuration.</p>
</div>

<a id="dt-89bd17462b355ca9be75"></a>

### <code>l2&#45;cache</code> — not listed as required here

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

#### Exactly one of these rules must match (<code>oneOf</code>)

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

**Rule 1**

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

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

**Rule 2**

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-51e405442dfb131eec1a">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;phandle</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2533fa46618221e83225>)</span>
>
> **Deprecated (<code>deprecated</code>):** <span id="dt-bc9dec466337cc0ae4ed"><code>true</code></span>

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

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

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

### <code>&#94;&#40;i&#45;&#124;d&#45;&#124;&#41;tlb&#45;&#40;size&#124;sets&#41;&#36;</code> — name matches this regular expression

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-fcb462047181f61aa76a">[<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-21f26eb8421913df2f9d"><code>1</code></span>

<a id="dt-413065af65ac6af8f24e"></a>

## At least one of these rules must match (<code>anyOf</code>)

<a id="dt-96eb361b08260472facb"></a>

### Rule 1

> **Required in this object (<code>required</code>):** <a id="dt-a3ce052275bac2469e04"></a> <span id="dt-396aa8b3d1b1aeeb2c7a"><code>&#34;device&#95;type&#34;</code></span>

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

### Rule 2

> **Required in this object (<code>required</code>):** <a id="dt-bb61b4b3827abc4e9b85"></a> <span id="dt-cffc196e945e46f91e3a"><code>&#34;reg&#34;</code></span>

<a id="dt-604844a603b89bc24dae"></a>

### Rule 3

> **Required in this object (<code>required</code>):** <a id="dt-c2acffc92d010c18f5e1"></a> <span id="dt-1359536c869a5c387788"><code>&#34;compatible&#34;</code></span>

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

## Property dependencies (<code>dependencies</code>)

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

### <code>cpu&#45;release&#45;addr</code> — applies when this property is present

Also requires: <span id="dt-a417e6ae07ab0b4a5473"><code>&#34;enable&#45;method&#34;</code></span>

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

### <code>d&#45;tlb&#45;size</code> — applies when this property is present

Also requires: <span id="dt-1ce29a93fe5296cb7260"><code>&#34;tlb&#45;split&#34;</code></span>

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

### <code>d&#45;tlb&#45;sets</code> — applies when this property is present

Also requires: <span id="dt-0fd3a1473292264c8104"><code>&#34;tlb&#45;split&#34;</code></span>

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

### <code>i&#45;tlb&#45;size</code> — applies when this property is present

Also requires: <span id="dt-ef0147890dcc5eae99a8"><code>&#34;tlb&#45;split&#34;</code></span>

<a id="dt-4406f85de48372fdb3ef"></a>

### <code>i&#45;tlb&#45;sets</code> — applies when this property is present

Also requires: <span id="dt-c6f9e924d7b3e299dbea"><code>&#34;tlb&#45;split&#34;</code></span>

<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.

## 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>

<p id="dt-comment-1"><strong>Line 2:</strong> <span> Copyright (C) 2018-2019 SiFive, Inc.</span></p>

<p id="dt-comment-2"><strong>Line 3:</strong> <span></span></p>

<p id="dt-comment-3"><strong>Line 4:</strong> <span> Description text is from the Devicetree Specification at</span></p>

<p id="dt-comment-4"><strong>Line 5:</strong> <span>   https://www.devicetree.org/specifications/</span></p>

<p id="dt-comment-5"><strong>Line 6:</strong> <span> which is</span></p>

<p id="dt-comment-6"><strong>Line 7:</strong> <span> Copyright 2008,2011 Power.org, Inc.</span></p>

<p id="dt-comment-7"><strong>Line 8:</strong> <span> Copyright 2008,2011 Freescale Semiconductor, Inc.</span></p>

<p id="dt-comment-8"><strong>Line 9:</strong> <span> Copyright 2008,2011 International Business Machines Corporation</span></p>

<p id="dt-comment-9"><strong>Line 10:</strong> <span> Copyright 2016,2017 Linaro,Ltd.</span></p>

<p id="dt-comment-10"><strong>Line 11:</strong> <span> Copyright 2016,2017 Arm,Ltd.</span></p>

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

<p id="dt-comment-12"><strong>Line 88:</strong> <span> Needed for some 32-bit Arm systems</span></p>

</details>
