mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-07 21:33:54 +00:00

BL31 will need to access a device tree for several configurations (UART, GIC, OTP mapping...). Create a BL31 device tree (SOC_FW_CONFIG). It is loaded in DDR, in a spare area. Signed-off-by: Yann Gautier <yann.gautier@foss.st.com> Signed-off-by: Maxime Méré <maxime.mere@foss.st.com> Change-Id: I320a05859e1aa3dd8db9a274e7201075a8c250c2
42 lines
755 B
Text
42 lines
755 B
Text
// SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
|
|
/*
|
|
* Copyright (c) 2024, STMicroelectronics - All Rights Reserved
|
|
*/
|
|
|
|
#include <common/tbbr/tbbr_img_def.h>
|
|
|
|
#include <platform_def.h>
|
|
|
|
/dts-v1/;
|
|
|
|
/ {
|
|
dtb-registry {
|
|
compatible = "fconf,dyn_cfg-dtb_registry";
|
|
|
|
hw-config {
|
|
load-address = <0x0 STM32MP_HW_CONFIG_BASE>;
|
|
max-size = <STM32MP_HW_CONFIG_MAX_SIZE>;
|
|
id = <HW_CONFIG_ID>;
|
|
};
|
|
|
|
nt_fw {
|
|
load-address = <0x0 STM32MP_BL33_BASE>;
|
|
max-size = <STM32MP_BL33_MAX_SIZE>;
|
|
id = <BL33_IMAGE_ID>;
|
|
};
|
|
|
|
soc_fw {
|
|
load-address = <0x0 STM32MP_SYSRAM_BASE>;
|
|
max-size = <STM32MP_BL31_SIZE>;
|
|
id = <BL31_IMAGE_ID>;
|
|
};
|
|
|
|
soc_fw-config {
|
|
id = <SOC_FW_CONFIG_ID>;
|
|
};
|
|
|
|
tos_fw {
|
|
id = <BL32_IMAGE_ID>;
|
|
};
|
|
};
|
|
};
|