Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/nvmem/rmem.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Reserved Memory Based nvmem Device
0008 
0009 maintainers:
0010   - Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
0011 
0012 allOf:
0013   - $ref: "nvmem.yaml#"
0014 
0015 properties:
0016   compatible:
0017     items:
0018       - enum:
0019           - raspberrypi,bootloader-config
0020       - const: nvmem-rmem
0021 
0022   reg:
0023     maxItems: 1
0024 
0025   no-map:
0026     $ref: /schemas/types.yaml#/definitions/flag
0027     description:
0028       Avoid creating a virtual mapping of the region as part of the OS'
0029       standard mapping of system memory.
0030 
0031 required:
0032   - compatible
0033   - no-map
0034 
0035 unevaluatedProperties: false
0036 
0037 examples:
0038   - |
0039         reserved-memory {
0040                 #address-cells = <1>;
0041                 #size-cells = <1>;
0042 
0043                 blconfig: nvram@10000000 {
0044                         compatible = "raspberrypi,bootloader-config", "nvmem-rmem";
0045                         #address-cells = <1>;
0046                         #size-cells = <1>;
0047                         reg = <0x10000000 0x1000>;
0048                         no-map;
0049                 };
0050         };
0051 
0052 ...