blob: 4adf5d58f4b05ee242780c99a70cba8d0a6c555d [file] [log] [blame]
Louis Mayencourt6d2b5732019-12-17 13:17:25 +00001/*
Manish V Badarkhe87dd1a32023-02-07 11:26:38 +00002 * Copyright (c) 2019-2023, Arm Limited. All rights reserved.
Louis Mayencourt6d2b5732019-12-17 13:17:25 +00003 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
Manish Pandeyf4110242020-06-08 14:48:09 +01007#include <common/tbbr/tbbr_img_def.h>
Louis Mayencourt6d2b5732019-12-17 13:17:25 +00008
9/dts-v1/;
10
11/ {
12 dtb-registry {
Louis Mayencourtb26fafa2020-04-20 14:17:21 +010013 compatible = "fconf,dyn_cfg-dtb_registry";
Louis Mayencourt6d2b5732019-12-17 13:17:25 +000014
Louis Mayencourt6d2b5732019-12-17 13:17:25 +000015 tb_fw-config {
Manish V Badarkhe64616a52020-05-31 08:53:40 +010016 load-address = <0x0 0x4001300>;
Manish V Badarkhe0bafa822020-06-29 11:14:07 +010017 max-size = <0x1800>;
Louis Mayencourt6d2b5732019-12-17 13:17:25 +000018 id = <TB_FW_CONFIG_ID>;
19 };
20
21 hw-config {
Manish V Badarkhe86854e72022-03-15 16:05:58 +000022 load-address = <0x0 0x07f00000>;
23 max-size = <0x00100000>;
Louis Mayencourt6d2b5732019-12-17 13:17:25 +000024 id = <HW_CONFIG_ID>;
Manish V Badarkheb2e34ff2023-02-07 11:26:38 +000025 secondary-load-address = <0x0 0x82000000>;
Louis Mayencourt6d2b5732019-12-17 13:17:25 +000026 };
27
28 /*
29 * Load SoC and TOS firmware configs at the base of
30 * non shared SRAM. The runtime checks ensure we don't
31 * overlap BL2, BL31 or BL32. The NT firmware config
32 * is loaded at base of DRAM.
33 */
34 soc_fw-config {
Manish V Badarkhe8717e032020-05-30 17:40:44 +010035 load-address = <0x0 0x04001300>;
Louis Mayencourt6d2b5732019-12-17 13:17:25 +000036 max-size = <0x200>;
37 id = <SOC_FW_CONFIG_ID>;
38 };
39
Manish Pandeyc2753912021-04-14 15:03:34 +010040/* If required, SPD should enable loading of trusted OS fw config */
41#if defined(SPD_tspd) || defined(SPD_spmd)
Louis Mayencourt6d2b5732019-12-17 13:17:25 +000042 tos_fw-config {
Manish V Badarkhe87dd1a32023-02-07 11:26:38 +000043
Manish V Badarkhe8717e032020-05-30 17:40:44 +010044 load-address = <0x0 0x04001500>;
Manish V Badarkhe87dd1a32023-02-07 11:26:38 +000045#if ENABLE_RME
46 secondary-load-address = <0x0 0x7e00000>;
47#endif /* ENABLE_RME */
Manish V Badarkhe8717e032020-05-30 17:40:44 +010048 max-size = <0xB00>;
Louis Mayencourt6d2b5732019-12-17 13:17:25 +000049 id = <TOS_FW_CONFIG_ID>;
50 };
Manish Pandeyc2753912021-04-14 15:03:34 +010051#endif
Louis Mayencourt6d2b5732019-12-17 13:17:25 +000052
53 nt_fw-config {
54 load-address = <0x0 0x80000000>;
55 max-size = <0x200>;
56 id = <NT_FW_CONFIG_ID>;
57 };
58 };
Louis Mayencourt6d2b5732019-12-17 13:17:25 +000059};