c6ee6495d4
On RPi4 the bootloader[1] will copy the binary public key blob (if present) into memory location specified by this node, for use by the OS. [1] https://www.raspberrypi.com/documentation/computers/configuration.html#nvmem-nodes Signed-off-by: Ivan T. Ivanov <iivanov@suse.de> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Message-ID: <20230611140330.154222-7-srinivas.kandagatla@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
54 lines
1.2 KiB
YAML
54 lines
1.2 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/nvmem/rmem.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Reserved Memory Based nvmem Device
|
|
|
|
maintainers:
|
|
- Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
|
|
|
|
allOf:
|
|
- $ref: nvmem.yaml#
|
|
|
|
properties:
|
|
compatible:
|
|
items:
|
|
- enum:
|
|
- raspberrypi,bootloader-config
|
|
- raspberrypi,bootloader-public-key
|
|
- const: nvmem-rmem
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
no-map:
|
|
$ref: /schemas/types.yaml#/definitions/flag
|
|
description:
|
|
Avoid creating a virtual mapping of the region as part of the OS'
|
|
standard mapping of system memory.
|
|
|
|
required:
|
|
- compatible
|
|
- no-map
|
|
|
|
unevaluatedProperties: false
|
|
|
|
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;
|
|
};
|
|
};
|
|
|
|
...
|