# UBI volume

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Mtd bindings / partitions_

> Device-tree binding reference for UBI volume.

<!-- 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;mtd&#47;partitions&#47;ubi&#45;volume&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This binding describes a single UBI volume. Volumes can be matches either
by their ID or their name, or both.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Daniel Golle &#60;daniel&#64;makrotopia&#46;org&#62;&#34;</code></span>

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

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

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

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-fe5054de33534a02ed70">[<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-3e0c8a79b8a004b1e674">
<p style="white-space: pre-wrap">Match UBI volume ID</p>
</div>

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

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-210e86691e4c8f707a26">[<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-8486ebdd4ddfe6cb2611">
<p style="white-space: pre-wrap">Match UBI volume ID</p>
</div>

<a id="dt-471cf9e1db75cd15a4c6"></a>

### <code>nvmem&#45;layout</code> — not listed as required here

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

<div id="dt-f65bd309d804ec56f5a9">
<p style="white-space: pre-wrap">This container may reference an NVMEM layout parser.</p>
</div>

<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;volid&#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;volname&#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-only OR BSD-2-Clause</span></p>

<p id="dt-comment-1"><strong>Line 39:</strong> <span> This is a generic file other binding inherit from and extend</span></p>

</details>
