# NVMEM layout of the Kontron SMARC-sAL28 vital product data

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

> Device-tree binding reference for NVMEM layout of the Kontron SMARC-sAL28 vital product data.

<!-- 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;kontron&#44;sl28&#45;vpd&#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;Michael Walle &#60;michael&#64;walle&#46;cc&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The vital product data (VPD) of the sl28 boards contains a serial number and a base MAC address. The actual MAC addresses for the on-board ethernet devices are derived from this base MAC address by adding an offset.</p>
</div>

<a id="dt-865ef19e891fb9fe7b15"></a>

## Automatic schema selection (<code>select</code>)

<code>false</code>

Not selected automatically by this rule.

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

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

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

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

<a id="dt-39566f01414e34c67b85"></a>

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

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

**Rule 1**

> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-3b212051dcd0fc641cd8"></a> <span id="dt-bd6e6716d05ec45653db"><code>&#34;kontron&#44;sa67&#45;vpd&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1da74b37131fdcec1073"><code>&#34;kontron&#44;sl28&#45;vpd&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> **Exact value (<code>const</code>):** <span id="dt-58a429cd4bf531951c0d"><code>&#34;kontron&#44;sl28&#45;vpd&#34;</code></span>

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

### <code>serial&#45;number</code> — not listed as required here

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

<div id="dt-de5d9179b85a90cfcaa6">
<p style="white-space: pre-wrap">The board's serial number</p>
</div>

<a id="dt-315c0a2f696b67e2dc2d"></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-7ed4aab92754768d8e06"></a>

### <code>base&#45;mac&#45;address</code> — not listed as required here

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

<div id="dt-67ea2231a1d390c00a37">
<p style="white-space: pre-wrap">Base MAC address for all on-module network interfaces. The first argument of the phandle will be treated as an offset.</p>
</div>

<a id="dt-0952640d8d1f91af588d"></a>

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

<a id="dt-55cbea4bfad7e7a5d64c"></a>

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

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

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

<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">otp-1 {
    compatible = "user-otp";

    nvmem-layout {
        compatible = "kontron,sl28-vpd";

        serial_number: serial-number {
        };

        base_mac_address: base-mac-address {
            #nvmem-cell-cells = &lt;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 OR BSD-2-Clause)</span></p>

</details>
