1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/nvmem/layouts/fixed-cell.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Fixed offset & size NVMEM cell
8
9maintainers:
10  - Rafał Miłecki <rafal@milecki.pl>
11  - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
12
13properties:
14  reg:
15    maxItems: 1
16
17  bits:
18    $ref: /schemas/types.yaml#/definitions/uint32-array
19    items:
20      - minimum: 0
21        maximum: 7
22        description:
23          Offset in bit within the address range specified by reg.
24      - minimum: 1
25        description:
26          Size in bit within the address range specified by reg.
27
28required:
29  - reg
30
31additionalProperties: true
32