1 From 15cfca011ac1e08e073628b36f40d64f03fcf2b2 Mon Sep 17 00:00:00 2001
2 From: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
3 Date: Thu, 10 Dec 2020 19:22:45 +0100
4 Subject: [PATCH] dt-bindings: nvmem: Add bindings for rmem driver
6 Firmware/co-processors might use reserved memory areas in order to pass
7 data stemming from an nvmem device otherwise non accessible to Linux.
8 For example an EEPROM memory only physically accessible to firmware, or
9 data only accessible early at boot time.
11 Introduce the dt-bindings to nvmem's rmem.
13 Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
18 - Update schema to new driver design
20 .../devicetree/bindings/nvmem/rmem.yaml | 49 +++++++++++++++++++
21 1 file changed, 49 insertions(+)
22 create mode 100644 Documentation/devicetree/bindings/nvmem/rmem.yaml
25 +++ b/Documentation/devicetree/bindings/nvmem/rmem.yaml
27 +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
30 +$id: http://devicetree.org/schemas/nvmem/rmem.yaml#
31 +$schema: http://devicetree.org/meta-schemas/core.yaml#
33 +title: Reserved Memory Based nvmem Device
36 + - Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
39 + - $ref: "nvmem.yaml#"
45 + - raspberrypi,bootloader-config
49 + $ref: /schemas/types.yaml#/definitions/flag
51 + Avoid creating a virtual mapping of the region as part of the OS'
52 + standard mapping of system memory.
58 +unevaluatedProperties: false
63 + #address-cells = <1>;
66 + blconfig: nvram@10000000 {
67 + compatible = "raspberrypi,bootloader-config", "nvmem-rmem";
68 + #address-cells = <1>;
70 + reg = <0x10000000 0x1000>;