ARM: dts: bcm2711: Add reserved memory template to hold firmware configuration
authorNicolas Saenz Julienne <nsaenzjulienne@suse.de>
Tue, 12 Jan 2021 14:23:40 +0000 (15:23 +0100)
committerNicolas Saenz Julienne <nsaenzjulienne@suse.de>
Mon, 25 Jan 2021 20:49:41 +0000 (21:49 +0100)
commit6b4233f70a914d932a8156950bf9114ba6a06f6c
tree3e0876c4398a7c2b5cf411a389a8b726f41f4399
parentfcb985a0642ee169c6cf4d2322873f853d50abb2
ARM: dts: bcm2711: Add reserved memory template to hold firmware configuration

RPi4's co-processor will copy the board's bootloader[1] configuration
into memory for the OS to consume. Specifically, for the bootloader
configuration and upgrade user-space routines to query it through
nvmem's sysfs interface.

Introduce a reserved-memory area template for the co-processor to edit
before booting the system so as for Linux not to overwrite that memory
and to expose it as an nvmem device.

Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
Tested-by: Tim Gover <tim.gover@raspberrypi.com>
Link: https://lore.kernel.org/r/e8ca9365-a1f2-1f9d-377c-13bf97883cce@linaro.org
[1] https://www.raspberrypi.org/documentation/hardware/raspberrypi/bcm2711_bootloader_config.md
arch/arm/boot/dts/bcm2711-rpi-4-b.dts