# NVMEM (Non Volatile Memory) layouts

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Nvmem bindings / layouts_

> Device-tree binding reference for NVMEM (Non Volatile Memory) layouts.

<!-- 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;nvmem&#47;layouts&#47;nvmem&#45;layout&#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;Srinivas Kandagatla &#60;srinivas&#46;kandagatla&#64;linaro&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Michael Walle &#60;michael&#64;walle&#46;cc&#62;&#34;</code></span>, <span id="dt-2f1516674166ff6e66b8"><code>&#34;Miquel Raynal &#60;miquel&#46;raynal&#64;bootlin&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Most NVMEM layouts are static and thus do not require additional description
besides the bytes/bits offset and length. Other layouts can be less statically
define and might require dynamic reading of the NVMEM device in order to
perform their parsing. The nvmem-layout container is here to describe these.</p>
</div>

<a id="dt-51356188806d31ca2021"></a>

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

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

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-3f9b5da4ede7a001f396">[<code>fixed&#45;layout&#46;yaml</code>](</kernel/hardware/devicetree-bindings/dt-nvmem/layouts/fixed-layout.md#dt-root>)</span>

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

### Rule 2

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1588e278d319cf70d4bb">[<code>kontron&#44;sl28&#45;vpd&#46;yaml</code>](</kernel/hardware/devicetree-bindings/dt-nvmem/layouts/kontron-sl28-vpd.md#dt-root>)</span>

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

### Rule 3

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-69e968471f33b977ff0b">[<code>onie&#44;tlv&#45;layout&#46;yaml</code>](</kernel/hardware/devicetree-bindings/dt-nvmem/layouts/onie-tlv-layout.md#dt-root>)</span>

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

### Rule 4

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-3c56944a118211998042">[<code>u&#45;boot&#44;env&#46;yaml</code>](</kernel/hardware/devicetree-bindings/dt-nvmem/layouts/u-boot-env.md#dt-root>)</span>

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

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

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

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

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

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

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

<code>false</code>

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

</details>
