# Common Cache Properties

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

> Device-tree binding reference for Common Cache Properties.

<!-- SPDX-License-Identifier: 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;cache&#45;controller&#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;Rob Herring &#60;robh&#64;kernel&#46;org&#62;&#34;</code></span>

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

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

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

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

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

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

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

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

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

<a id="dt-82b375bc8a7b9533ccbc"></a>

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

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

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

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

<a id="dt-4133e2e80c1a2dec89a8"></a>

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-eba4a91f9f9eaf102ef9">[<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-5cf02ae75b1d6984d29b"></a>

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-2a66b5389073a0a42d76">[<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-477670ecd08b400f5275"></a>

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

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

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

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

**Requirements triggered by another property (<code>dependentRequired</code>):** <a id="dt-e3a4857bf233f030e290"></a> { <code>cache&#45;size</code>: <a id="dt-9d03cf61efe8de96476c"></a> <span id="dt-1501b4483ad6f2483335"><code>&#34;cache&#45;unified&#34;</code></span>, <code>cache&#45;sets</code>: <a id="dt-a42364385212aba2e0dd"></a> <span id="dt-cfde72c2615018963ffd"><code>&#34;cache&#45;unified&#34;</code></span>, <code>cache&#45;block&#45;size</code>: <a id="dt-c5da000e97a8625cef85"></a> <span id="dt-9458ab5a7293da3f86e6"><code>&#34;cache&#45;unified&#34;</code></span>, <code>cache&#45;line&#45;size</code>: <a id="dt-0f128b8f51c97f519dfc"></a> <span id="dt-b66b22d3cd87d3757737"><code>&#34;cache&#45;unified&#34;</code></span>, <code>cache&#45;level</code>: <a id="dt-8255629a2fe78fcf51d6"></a> <span id="dt-e30f99393330824a1de4"><code>&#34;compatible&#34;</code></span> }

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

## Rules triggered by another property (<code>dependentSchemas</code>)

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

### <code>cache&#45;unified</code> — applies when this property is present

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

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

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

**<code>&#94;&#91;id&#93;&#45;cache&#45;</code> — name matches this regular expression**

<code>false</code> — Not permitted by this property rule.

<a id="dt-158e3f6339df9dc0e448"></a>

## Condition (<code>if</code>)

> <a id="dt-3bfe73d6d5d592adab9c"></a>
>
> ### This rule must not match (<code>not</code>)
>
> > <a id="dt-f5021076855403a9683d"></a>
> >
> > #### Properties and child nodes (<code>properties</code>)
> >
> > <a id="dt-1869d73cfe6e64b64236"></a>
> >
> > **<code>device&#95;type</code> — required here**
> >
> > **Exact value (<code>const</code>):** <span id="dt-726690f23eaab4563697"><code>&#34;cpu&#34;</code></span>
> >
> > **Required in this object (<code>required</code>):** <a id="dt-c5548ec7af287083fcce"></a> <span id="dt-86d1fed7a8a2cf122d8e"><code>&#34;device&#95;type&#34;</code></span>

<a id="dt-94d3067a06aec87aad7f"></a>

## When the condition matches (<code>then</code>)

> **Required in this object (<code>required</code>):** <a id="dt-824165741bab07e919e7"></a> <span id="dt-0be16f81402541b26aff"><code>&#34;cache&#45;level&#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: BSD-2-Clause</span></p>

<p id="dt-comment-1"><strong>Line 2:</strong> <span> Copyright 2019 Linaro Ltd.</span></p>

<p id="dt-comment-2"><strong>Line 3:</strong> <span> Copyright 2022 Arm Ltd.</span></p>

</details>
