xref: /freebsd/sys/contrib/device-tree/Bindings/nvmem/layouts/nvmem-layout.yaml (revision 734e82fe33aa764367791a7d603b383996c6b40b)
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: kontron,sl28-vpd.yaml
22  - $ref: onie,tlv-layout.yaml
23
24properties:
25  compatible: true
26
27  '#address-cells': false
28
29  '#size-cells': false
30
31required:
32  - compatible
33
34unevaluatedProperties: false
35