xref: /linux/Documentation/devicetree/bindings/nvmem/layouts/nvmem-layout.yaml (revision f9bff0e31881d03badf191d3b0005839391f5f2b)
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
25properties:
26  compatible: true
27
28required:
29  - compatible
30
31unevaluatedProperties: false
32