xref: /linux/Documentation/devicetree/bindings/nvmem/layouts/nvmem-layout.yaml (revision c8d430db8eec7d4fd13a6bea27b7086a54eda6da)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/nvmem/layouts/nvmem-layout.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: NVMEM (Non Volatile Memory) layouts
8
9maintainers:
10  - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
11  - Michael Walle <michael@walle.cc>
12  - Miquel Raynal <miquel.raynal@bootlin.com>
13
14description: |
15  Most NVMEM layouts are static and thus do not require additional description
16  besides the bytes/bits offset and length. Other layouts can be less statically
17  define and might require dynamic reading of the NVMEM device in order to
18  perform their parsing. The nvmem-layout container is here to describe these.
19
20oneOf:
21  - $ref: fixed-layout.yaml
22  - $ref: kontron,sl28-vpd.yaml
23  - $ref: onie,tlv-layout.yaml
24  - $ref: u-boot,env.yaml
25
26properties:
27  compatible: true
28
29required:
30  - compatible
31
32unevaluatedProperties: false
33