nvmem-layout.yaml 931 B

1234567891011121314151617181920212223242526272829303132
  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. title: NVMEM (Non Volatile Memory) layouts
  7. maintainers:
  8. - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
  9. - Michael Walle <michael@walle.cc>
  10. - Miquel Raynal <miquel.raynal@bootlin.com>
  11. description: |
  12. Most NVMEM layouts are static and thus do not require additional description
  13. besides the bytes/bits offset and length. Other layouts can be less statically
  14. define and might require dynamic reading of the NVMEM device in order to
  15. perform their parsing. The nvmem-layout container is here to describe these.
  16. oneOf:
  17. - $ref: fixed-layout.yaml
  18. - $ref: kontron,sl28-vpd.yaml
  19. - $ref: onie,tlv-layout.yaml
  20. - $ref: u-boot,env.yaml
  21. properties:
  22. compatible: true
  23. required:
  24. - compatible
  25. unevaluatedProperties: false