1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/nvmem/rmem.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Reserved Memory Based nvmem Device
8
9maintainers:
10  - Nicolas Saenz Julienne <[email protected]>
11
12allOf:
13  - $ref: nvmem.yaml#
14
15properties:
16  compatible:
17    items:
18      - enum:
19          - mobileye,eyeq5-bootloader-config
20          - raspberrypi,bootloader-config
21          - raspberrypi,bootloader-public-key
22      - const: nvmem-rmem
23
24  reg:
25    maxItems: 1
26
27  no-map:
28    $ref: /schemas/types.yaml#/definitions/flag
29    description:
30      Avoid creating a virtual mapping of the region as part of the OS'
31      standard mapping of system memory.
32
33required:
34  - compatible
35  - no-map
36
37unevaluatedProperties: false
38
39examples:
40  - |
41        reserved-memory {
42                #address-cells = <1>;
43                #size-cells = <1>;
44
45                blconfig: nvram@10000000 {
46                        compatible = "raspberrypi,bootloader-config", "nvmem-rmem";
47                        #address-cells = <1>;
48                        #size-cells = <1>;
49                        reg = <0x10000000 0x1000>;
50                        no-map;
51                };
52        };
53
54...
55