Reserved Memory Based nvmem Device

Schema identifier ($id): "http://devicetree.org/schemas/nvmem/rmem.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Nicolas Saenz Julienne <nsaenzjulienne@suse.de>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): nvmem.yaml#

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "mobileye,eyeq5-bootloader-config", "raspberrypi,bootloader-config", "raspberrypi,bootloader-public-key"

Item 2

Exact value (const): "nvmem-rmem"

reg — not listed as required here #

Maximum number of items (maxItems): 1

no-map — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

Avoid creating a virtual mapping of the region as part of the OS' standard mapping of system memory.

Required in this object (required): "compatible", "no-map"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

reserved-memory {
        #address-cells = <1>;
        #size-cells = <1>;

        blconfig: nvram@10000000 {
                compatible = "raspberrypi,bootloader-config", "nvmem-rmem";
                #address-cells = <1>;
                #size-cells = <1>;
                reg = <0x10000000 0x1000>;
                no-map;
        };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page