GNU Linux-libre 5.15.137-gnu
[releases.git] / Documentation / devicetree / bindings / nvmem / rmem.yaml
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
7 title: Reserved Memory Based nvmem Device
8
9 maintainers:
10   - Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
11
12 allOf:
13   - $ref: "nvmem.yaml#"
14
15 properties:
16   compatible:
17     items:
18       - enum:
19           - raspberrypi,bootloader-config
20       - const: nvmem-rmem
21
22   no-map:
23     $ref: /schemas/types.yaml#/definitions/flag
24     description:
25       Avoid creating a virtual mapping of the region as part of the OS'
26       standard mapping of system memory.
27
28 required:
29   - compatible
30   - no-map
31
32 unevaluatedProperties: false
33
34 examples:
35   - |
36         reserved-memory {
37                 #address-cells = <1>;
38                 #size-cells = <1>;
39
40                 blconfig: nvram@10000000 {
41                         compatible = "raspberrypi,bootloader-config", "nvmem-rmem";
42                         #address-cells = <1>;
43                         #size-cells = <1>;
44                         reg = <0x10000000 0x1000>;
45                         no-map;
46                 };
47         };
48
49 ...