[Uboot-stm32] [PATCH] ARM: dts: stm32: add U-Boot specific dtsi for stm32mp157f-dk2

Patrice CHOTARD patrice.chotard at foss.st.com
Tue May 26 13:59:57 CEST 2026



On 5/13/26 08:44, Patrice CHOTARD wrote:
> 
> 
> On 5/12/26 09:11, Dario Binacchi wrote:
>> The STM32MP157F-DK2 board is a direct derivative of the STM32MP157C-DK2.
>> As explained by ST [1], the "STM32MP157F-DK2 is assembled with latest
>> STM32MP15 RevZ cut which is the only one available for new product now.
>> The major differences in this 'F' variant SoC are the increased max
>> frequency of the Cortex-A7 cores and the correction of some HW bugs
>> (Device Rev.Z, see errata ES0438)".
>>
>> Introducing arch/arm/dts/stm32mp157f-dk2-u-boot.dtsi by including
>> stm32mp157c-dk2-u-boot.dtsi allows inheriting U-Boot specific properties
>> (e.g., bootph, fwumdata), avoiding code duplication and ensuring
>> feature parity.
>>
>> [1] https://community.st.com/t5/stm32-mpus-products-and-hardware/i-m-wondering-what-s-the-difference-point-between-stm32mp157c/td-p/213460
>>
>> Signed-off-by: Dario Binacchi <dario.binacchi at amarulasolutions.com>
>>
>> ---
>>
>>  arch/arm/dts/stm32mp157f-dk2-u-boot.dtsi | 6 ++++++
>>  1 file changed, 6 insertions(+)
>>  create mode 100644 arch/arm/dts/stm32mp157f-dk2-u-boot.dtsi
>>
>> diff --git a/arch/arm/dts/stm32mp157f-dk2-u-boot.dtsi b/arch/arm/dts/stm32mp157f-dk2-u-boot.dtsi
>> new file mode 100644
>> index 000000000000..456ba70ba9ca
>> --- /dev/null
>> +++ b/arch/arm/dts/stm32mp157f-dk2-u-boot.dtsi
>> @@ -0,0 +1,6 @@
>> +// SPDX-License-Identifier: GPL-2.0+
>> +/*
>> + * Copyright (C) 2026 Amarula Solutions, Dario Binacchi <dario.binacchi at amarulasolutions.com>
>> + */
>> +
>> +#include "stm32mp157c-dk2-u-boot.dtsi"
> 
> 
> Hi Dario
> 
> Reviewed-by: Patrice Chotard <patrice.chotard at foss.st.com>
> 
> Thanks
> Patrice
Hi Dario

This patch doesn't compile against U-Boot v2026.07-rc3 tag, we gat the follwing compilation error :

DTC     dts/upstream/src/arm/st/stm32mp157f-dk2.dtb
Error: ../arch/arm/dts/stm32mp15-u-boot.dtsi:83.1-9 Label or path clk_csi not found
Error: ../arch/arm/dts/stm32mp15-u-boot.dtsi:87.1-9 Label or path clk_hsi not found
Error: ../arch/arm/dts/stm32mp15-u-boot.dtsi:91.1-9 Label or path clk_hse not found
Error: ../arch/arm/dts/stm32mp15-u-boot.dtsi:95.1-9 Label or path clk_lsi not found
Error: ../arch/arm/dts/stm32mp15-u-boot.dtsi:99.1-9 Label or path clk_lse not found
Error: ../arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi:76.1-9 Label or path clk_hse not found
FATAL ERROR: Syntax error parsing input tree
Check /local/home/nxp11987/projects/community/U-Boot/stm32mp135f-dk/dts/upstream/src/arm/st/.stm32mp157f-dk2.dtb.pre.tmp for errors
make[3]: *** [../scripts/Makefile.lib:476: dts/upstream/src/arm/st/stm32mp157f-dk2.dtb] Error 1


Thanks
Patrice





> _______________________________________________
> Uboot-stm32 mailing list
> Uboot-stm32 at st-md-mailman.stormreply.com
> https://st-md-mailman.stormreply.com/mailman/listinfo/uboot-stm32



More information about the U-Boot mailing list