blob: cad888f37bb13a365310889379966c68733bc347 [file] [log] [blame]
Louis Mayencourt6d2b5732019-12-17 13:17:25 +00001/*
2 * Copyright (c) 2019-2020, ARM Limited. All rights reserved.
3 *
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 {
22 load-address = <0x0 0x82000000>;
23 max-size = <0x01000000>;
24 id = <HW_CONFIG_ID>;
25 };
26
27 /*
28 * Load SoC and TOS firmware configs at the base of
29 * non shared SRAM. The runtime checks ensure we don't
30 * overlap BL2, BL31 or BL32. The NT firmware config
31 * is loaded at base of DRAM.
32 */
33 soc_fw-config {
Manish V Badarkhe8717e032020-05-30 17:40:44 +010034 load-address = <0x0 0x04001300>;
Louis Mayencourt6d2b5732019-12-17 13:17:25 +000035 max-size = <0x200>;
36 id = <SOC_FW_CONFIG_ID>;
37 };
38
Manish Pandeyc2753912021-04-14 15:03:34 +010039/* If required, SPD should enable loading of trusted OS fw config */
40#if defined(SPD_tspd) || defined(SPD_spmd)
Louis Mayencourt6d2b5732019-12-17 13:17:25 +000041 tos_fw-config {
Manish V Badarkhe8717e032020-05-30 17:40:44 +010042 load-address = <0x0 0x04001500>;
43 max-size = <0xB00>;
Louis Mayencourt6d2b5732019-12-17 13:17:25 +000044 id = <TOS_FW_CONFIG_ID>;
45 };
Manish Pandeyc2753912021-04-14 15:03:34 +010046#endif
Louis Mayencourt6d2b5732019-12-17 13:17:25 +000047
Manish Pandeyea164e72021-04-09 16:18:41 +010048#if !defined(SPD_spmd)
Louis Mayencourt6d2b5732019-12-17 13:17:25 +000049 nt_fw-config {
50 load-address = <0x0 0x80000000>;
51 max-size = <0x200>;
52 id = <NT_FW_CONFIG_ID>;
53 };
Manish Pandeyea164e72021-04-09 16:18:41 +010054#endif
Louis Mayencourt6d2b5732019-12-17 13:17:25 +000055 };
Louis Mayencourt6d2b5732019-12-17 13:17:25 +000056};