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 <nsaenzjulienne@suse.de> 11 12allOf: 13 - $ref: "nvmem.yaml#" 14 15properties: 16 compatible: 17 items: 18 - enum: 19 - raspberrypi,bootloader-config 20 - const: nvmem-rmem 21 22 reg: 23 maxItems: 1 24 25 no-map: 26 $ref: /schemas/types.yaml#/definitions/flag 27 description: 28 Avoid creating a virtual mapping of the region as part of the OS' 29 standard mapping of system memory. 30 31required: 32 - compatible 33 - no-map 34 35unevaluatedProperties: false 36 37examples: 38 - | 39 reserved-memory { 40 #address-cells = <1>; 41 #size-cells = <1>; 42 43 blconfig: nvram@10000000 { 44 compatible = "raspberrypi,bootloader-config", "nvmem-rmem"; 45 #address-cells = <1>; 46 #size-cells = <1>; 47 reg = <0x10000000 0x1000>; 48 no-map; 49 }; 50 }; 51 52... 53