mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-07 21:33:54 +00:00
feat(fdts): add STM32MP1 fw-config DT files
Create all boards fw-config DT files. They all include a generic stm32mp15-fw-config.dtsi. Change-Id: Ib9ac8a59e93e01365001b0d11fee41f7c507c08e Signed-off-by: Yann Gautier <yann.gautier@foss.st.com>
This commit is contained in:
parent
18b415be9d
commit
d9e0586b61
16 changed files with 153 additions and 0 deletions
48
fdts/stm32mp15-fw-config.dtsi
Normal file
48
fdts/stm32mp15-fw-config.dtsi
Normal file
|
@ -0,0 +1,48 @@
|
|||
// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
|
||||
/*
|
||||
* Copyright (c) 2021, 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>;
|
||||
};
|
||||
|
||||
#ifdef AARCH32_SP_OPTEE
|
||||
tos_fw {
|
||||
load-address = <0x0 STM32MP_OPTEE_BASE>;
|
||||
max-size = <STM32MP_OPTEE_SIZE>;
|
||||
id = <BL32_IMAGE_ID>;
|
||||
};
|
||||
#else
|
||||
tos_fw {
|
||||
load-address = <0x0 STM32MP_BL32_BASE>;
|
||||
max-size = <STM32MP_BL32_SIZE>;
|
||||
id = <BL32_IMAGE_ID>;
|
||||
};
|
||||
|
||||
tos_fw-config {
|
||||
load-address = <0x0 STM32MP_BL32_DTB_BASE>;
|
||||
max-size = <STM32MP_BL32_DTB_SIZE>;
|
||||
id = <TOS_FW_CONFIG_ID>;
|
||||
};
|
||||
#endif
|
||||
};
|
||||
};
|
7
fdts/stm32mp157a-avenger96-fw-config.dts
Normal file
7
fdts/stm32mp157a-avenger96-fw-config.dts
Normal file
|
@ -0,0 +1,7 @@
|
|||
// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
|
||||
/*
|
||||
* Copyright (c) 2020-2021, STMicroelectronics - All Rights Reserved
|
||||
*/
|
||||
|
||||
#define DDR_SIZE 0x40000000 /* 1GB */
|
||||
#include "stm32mp15-fw-config.dtsi"
|
7
fdts/stm32mp157a-dk1-fw-config.dts
Normal file
7
fdts/stm32mp157a-dk1-fw-config.dts
Normal file
|
@ -0,0 +1,7 @@
|
|||
// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
|
||||
/*
|
||||
* Copyright (c) 2020-2021, STMicroelectronics - All Rights Reserved
|
||||
*/
|
||||
|
||||
#define DDR_SIZE 0x20000000 /* 512MB */
|
||||
#include "stm32mp15-fw-config.dtsi"
|
7
fdts/stm32mp157a-ed1-fw-config.dts
Normal file
7
fdts/stm32mp157a-ed1-fw-config.dts
Normal file
|
@ -0,0 +1,7 @@
|
|||
// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
|
||||
/*
|
||||
* Copyright (c) 2020-2021, STMicroelectronics - All Rights Reserved
|
||||
*/
|
||||
|
||||
#define DDR_SIZE 0x40000000 /* 1GB */
|
||||
#include "stm32mp15-fw-config.dtsi"
|
7
fdts/stm32mp157a-ev1-fw-config.dts
Normal file
7
fdts/stm32mp157a-ev1-fw-config.dts
Normal file
|
@ -0,0 +1,7 @@
|
|||
// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
|
||||
/*
|
||||
* Copyright (c) 2020-2021, STMicroelectronics - All Rights Reserved
|
||||
*/
|
||||
|
||||
#define DDR_SIZE 0x40000000 /* 1GB */
|
||||
#include "stm32mp15-fw-config.dtsi"
|
7
fdts/stm32mp157c-dk2-fw-config.dts
Normal file
7
fdts/stm32mp157c-dk2-fw-config.dts
Normal file
|
@ -0,0 +1,7 @@
|
|||
// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
|
||||
/*
|
||||
* Copyright (c) 2020-2021, STMicroelectronics - All Rights Reserved
|
||||
*/
|
||||
|
||||
#define DDR_SIZE 0x20000000 /* 512MB */
|
||||
#include "stm32mp15-fw-config.dtsi"
|
7
fdts/stm32mp157c-ed1-fw-config.dts
Normal file
7
fdts/stm32mp157c-ed1-fw-config.dts
Normal file
|
@ -0,0 +1,7 @@
|
|||
// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
|
||||
/*
|
||||
* Copyright (c) 2020-2021, STMicroelectronics - All Rights Reserved
|
||||
*/
|
||||
|
||||
#define DDR_SIZE 0x40000000 /* 1GB */
|
||||
#include "stm32mp15-fw-config.dtsi"
|
7
fdts/stm32mp157c-ev1-fw-config.dts
Normal file
7
fdts/stm32mp157c-ev1-fw-config.dts
Normal file
|
@ -0,0 +1,7 @@
|
|||
// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
|
||||
/*
|
||||
* Copyright (c) 2020-2021, STMicroelectronics - All Rights Reserved
|
||||
*/
|
||||
|
||||
#define DDR_SIZE 0x40000000 /* 1GB */
|
||||
#include "stm32mp15-fw-config.dtsi"
|
7
fdts/stm32mp157c-lxa-mc1-fw-config.dts
Normal file
7
fdts/stm32mp157c-lxa-mc1-fw-config.dts
Normal file
|
@ -0,0 +1,7 @@
|
|||
// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
|
||||
/*
|
||||
* Copyright (c) 2021, STMicroelectronics - All Rights Reserved
|
||||
*/
|
||||
|
||||
#define DDR_SIZE 0x20000000 /* 512MB */
|
||||
#include "stm32mp15-fw-config.dtsi"
|
7
fdts/stm32mp157c-odyssey-fw-config.dts
Normal file
7
fdts/stm32mp157c-odyssey-fw-config.dts
Normal file
|
@ -0,0 +1,7 @@
|
|||
// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
|
||||
/*
|
||||
* Copyright (c) 2021, STMicroelectronics - All Rights Reserved
|
||||
*/
|
||||
|
||||
#define DDR_SIZE 0x20000000 /* 512MB */
|
||||
#include "stm32mp15-fw-config.dtsi"
|
7
fdts/stm32mp157d-dk1-fw-config.dts
Normal file
7
fdts/stm32mp157d-dk1-fw-config.dts
Normal file
|
@ -0,0 +1,7 @@
|
|||
// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
|
||||
/*
|
||||
* Copyright (c) 2020-2021, STMicroelectronics - All Rights Reserved
|
||||
*/
|
||||
|
||||
#define DDR_SIZE 0x20000000 /* 512MB */
|
||||
#include "stm32mp15-fw-config.dtsi"
|
7
fdts/stm32mp157d-ed1-fw-config.dts
Normal file
7
fdts/stm32mp157d-ed1-fw-config.dts
Normal file
|
@ -0,0 +1,7 @@
|
|||
// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
|
||||
/*
|
||||
* Copyright (c) 2020-2021, STMicroelectronics - All Rights Reserved
|
||||
*/
|
||||
|
||||
#define DDR_SIZE 0x40000000 /* 1GB */
|
||||
#include "stm32mp15-fw-config.dtsi"
|
7
fdts/stm32mp157d-ev1-fw-config.dts
Normal file
7
fdts/stm32mp157d-ev1-fw-config.dts
Normal file
|
@ -0,0 +1,7 @@
|
|||
// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
|
||||
/*
|
||||
* Copyright (c) 2020-2021, STMicroelectronics - All Rights Reserved
|
||||
*/
|
||||
|
||||
#define DDR_SIZE 0x40000000 /* 1GB */
|
||||
#include "stm32mp15-fw-config.dtsi"
|
7
fdts/stm32mp157f-dk2-fw-config.dts
Normal file
7
fdts/stm32mp157f-dk2-fw-config.dts
Normal file
|
@ -0,0 +1,7 @@
|
|||
// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
|
||||
/*
|
||||
* Copyright (c) 2020-2021, STMicroelectronics - All Rights Reserved
|
||||
*/
|
||||
|
||||
#define DDR_SIZE 0x20000000 /* 512MB */
|
||||
#include "stm32mp15-fw-config.dtsi"
|
7
fdts/stm32mp157f-ed1-fw-config.dts
Normal file
7
fdts/stm32mp157f-ed1-fw-config.dts
Normal file
|
@ -0,0 +1,7 @@
|
|||
// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
|
||||
/*
|
||||
* Copyright (c) 2020-2021, STMicroelectronics - All Rights Reserved
|
||||
*/
|
||||
|
||||
#define DDR_SIZE 0x40000000 /* 1GB */
|
||||
#include "stm32mp15-fw-config.dtsi"
|
7
fdts/stm32mp157f-ev1-fw-config.dts
Normal file
7
fdts/stm32mp157f-ev1-fw-config.dts
Normal file
|
@ -0,0 +1,7 @@
|
|||
// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
|
||||
/*
|
||||
* Copyright (c) 2020-2021, STMicroelectronics - All Rights Reserved
|
||||
*/
|
||||
|
||||
#define DDR_SIZE 0x40000000 /* 1GB */
|
||||
#include "stm32mp15-fw-config.dtsi"
|
Loading…
Add table
Reference in a new issue