xref: /freebsd-src/sys/contrib/device-tree/Bindings/nvmem/rmem.yaml (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
15def4c47SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
25def4c47SEmmanuel Vadot%YAML 1.2
35def4c47SEmmanuel Vadot---
45def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/nvmem/rmem.yaml#
55def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
65def4c47SEmmanuel Vadot
75def4c47SEmmanuel Vadottitle: Reserved Memory Based nvmem Device
85def4c47SEmmanuel Vadot
95def4c47SEmmanuel Vadotmaintainers:
105def4c47SEmmanuel Vadot  - Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
115def4c47SEmmanuel Vadot
125def4c47SEmmanuel VadotallOf:
13fac71e4eSEmmanuel Vadot  - $ref: nvmem.yaml#
145def4c47SEmmanuel Vadot
155def4c47SEmmanuel Vadotproperties:
165def4c47SEmmanuel Vadot  compatible:
175def4c47SEmmanuel Vadot    items:
185def4c47SEmmanuel Vadot      - enum:
195def4c47SEmmanuel Vadot          - raspberrypi,bootloader-config
20*f126890aSEmmanuel Vadot          - raspberrypi,bootloader-public-key
215def4c47SEmmanuel Vadot      - const: nvmem-rmem
225def4c47SEmmanuel Vadot
23e67e8565SEmmanuel Vadot  reg:
24e67e8565SEmmanuel Vadot    maxItems: 1
25e67e8565SEmmanuel Vadot
265def4c47SEmmanuel Vadot  no-map:
275def4c47SEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/flag
285def4c47SEmmanuel Vadot    description:
295def4c47SEmmanuel Vadot      Avoid creating a virtual mapping of the region as part of the OS'
305def4c47SEmmanuel Vadot      standard mapping of system memory.
315def4c47SEmmanuel Vadot
325def4c47SEmmanuel Vadotrequired:
335def4c47SEmmanuel Vadot  - compatible
345def4c47SEmmanuel Vadot  - no-map
355def4c47SEmmanuel Vadot
365def4c47SEmmanuel VadotunevaluatedProperties: false
375def4c47SEmmanuel Vadot
385def4c47SEmmanuel Vadotexamples:
395def4c47SEmmanuel Vadot  - |
405def4c47SEmmanuel Vadot        reserved-memory {
415def4c47SEmmanuel Vadot                #address-cells = <1>;
425def4c47SEmmanuel Vadot                #size-cells = <1>;
435def4c47SEmmanuel Vadot
445def4c47SEmmanuel Vadot                blconfig: nvram@10000000 {
455def4c47SEmmanuel Vadot                        compatible = "raspberrypi,bootloader-config", "nvmem-rmem";
465def4c47SEmmanuel Vadot                        #address-cells = <1>;
475def4c47SEmmanuel Vadot                        #size-cells = <1>;
485def4c47SEmmanuel Vadot                        reg = <0x10000000 0x1000>;
495def4c47SEmmanuel Vadot                        no-map;
505def4c47SEmmanuel Vadot                };
515def4c47SEmmanuel Vadot        };
525def4c47SEmmanuel Vadot
535def4c47SEmmanuel Vadot...
54