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