Louis Mayencourt | 6d2b573 | 2019-12-17 13:17:25 +0000 | [diff] [blame] | 1 | /* |
Manish V Badarkhe | 87dd1a3 | 2023-02-07 11:26:38 +0000 | [diff] [blame] | 2 | * Copyright (c) 2019-2023, Arm Limited. All rights reserved. |
Louis Mayencourt | 6d2b573 | 2019-12-17 13:17:25 +0000 | [diff] [blame] | 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
| 6 | |
Manish Pandey | f411024 | 2020-06-08 14:48:09 +0100 | [diff] [blame] | 7 | #include <common/tbbr/tbbr_img_def.h> |
Louis Mayencourt | 6d2b573 | 2019-12-17 13:17:25 +0000 | [diff] [blame] | 8 | |
| 9 | /dts-v1/; |
| 10 | |
| 11 | / { |
| 12 | dtb-registry { |
Louis Mayencourt | b26fafa | 2020-04-20 14:17:21 +0100 | [diff] [blame] | 13 | compatible = "fconf,dyn_cfg-dtb_registry"; |
Louis Mayencourt | 6d2b573 | 2019-12-17 13:17:25 +0000 | [diff] [blame] | 14 | |
Louis Mayencourt | 6d2b573 | 2019-12-17 13:17:25 +0000 | [diff] [blame] | 15 | tb_fw-config { |
Manish V Badarkhe | 64616a5 | 2020-05-31 08:53:40 +0100 | [diff] [blame] | 16 | load-address = <0x0 0x4001300>; |
Manish V Badarkhe | 0bafa82 | 2020-06-29 11:14:07 +0100 | [diff] [blame] | 17 | max-size = <0x1800>; |
Louis Mayencourt | 6d2b573 | 2019-12-17 13:17:25 +0000 | [diff] [blame] | 18 | id = <TB_FW_CONFIG_ID>; |
| 19 | }; |
| 20 | |
| 21 | hw-config { |
Manish V Badarkhe | 86854e7 | 2022-03-15 16:05:58 +0000 | [diff] [blame] | 22 | load-address = <0x0 0x07f00000>; |
| 23 | max-size = <0x00100000>; |
Louis Mayencourt | 6d2b573 | 2019-12-17 13:17:25 +0000 | [diff] [blame] | 24 | id = <HW_CONFIG_ID>; |
Manish V Badarkhe | b2e34ff | 2023-02-07 11:26:38 +0000 | [diff] [blame] | 25 | secondary-load-address = <0x0 0x82000000>; |
Louis Mayencourt | 6d2b573 | 2019-12-17 13:17:25 +0000 | [diff] [blame] | 26 | }; |
| 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 Badarkhe | 8717e03 | 2020-05-30 17:40:44 +0100 | [diff] [blame] | 35 | load-address = <0x0 0x04001300>; |
Louis Mayencourt | 6d2b573 | 2019-12-17 13:17:25 +0000 | [diff] [blame] | 36 | max-size = <0x200>; |
| 37 | id = <SOC_FW_CONFIG_ID>; |
| 38 | }; |
| 39 | |
Manish Pandey | c275391 | 2021-04-14 15:03:34 +0100 | [diff] [blame] | 40 | /* If required, SPD should enable loading of trusted OS fw config */ |
| 41 | #if defined(SPD_tspd) || defined(SPD_spmd) |
Louis Mayencourt | 6d2b573 | 2019-12-17 13:17:25 +0000 | [diff] [blame] | 42 | tos_fw-config { |
Manish V Badarkhe | 87dd1a3 | 2023-02-07 11:26:38 +0000 | [diff] [blame] | 43 | |
Manish V Badarkhe | 8717e03 | 2020-05-30 17:40:44 +0100 | [diff] [blame] | 44 | load-address = <0x0 0x04001500>; |
Manish V Badarkhe | 87dd1a3 | 2023-02-07 11:26:38 +0000 | [diff] [blame] | 45 | #if ENABLE_RME |
| 46 | secondary-load-address = <0x0 0x7e00000>; |
| 47 | #endif /* ENABLE_RME */ |
Manish V Badarkhe | 8717e03 | 2020-05-30 17:40:44 +0100 | [diff] [blame] | 48 | max-size = <0xB00>; |
Louis Mayencourt | 6d2b573 | 2019-12-17 13:17:25 +0000 | [diff] [blame] | 49 | id = <TOS_FW_CONFIG_ID>; |
| 50 | }; |
Manish Pandey | c275391 | 2021-04-14 15:03:34 +0100 | [diff] [blame] | 51 | #endif |
Louis Mayencourt | 6d2b573 | 2019-12-17 13:17:25 +0000 | [diff] [blame] | 52 | |
| 53 | nt_fw-config { |
| 54 | load-address = <0x0 0x80000000>; |
| 55 | max-size = <0x200>; |
| 56 | id = <NT_FW_CONFIG_ID>; |
| 57 | }; |
| 58 | }; |
Louis Mayencourt | 6d2b573 | 2019-12-17 13:17:25 +0000 | [diff] [blame] | 59 | }; |