[PATCH 03/13] ARM: dts: stm32: convert stm23f7 boards to OF_UPSTREAM

Patrick DELAUNAY patrick.delaunay at foss.st.com
Tue Apr 22 10:06:26 CEST 2025


Hi,

On 4/1/25 15:14, Patrice Chotard wrote:
> Enable OF_UPSTREAM flag for STM32F7 platforms.
>
> Use upstream device tree for DSI and LTDC nodes,
> As now in upstream DT, in panel at 0 node, power-supply property is
> present, which is a fixed-regulator, add DM_REGULATOR_FIXED flag
> for stm32f769-disco boards.
>
> Set also DEFAULT_FDT_FILE in defconfigs and use it in stm32f746-disco.h
> to indicate which FDT file to load (All STM32F7 boards are using this
> file).
>
> If something is missing, it must be added in upstream device tree
> in linux kernel ("px_clk" for DSI by example).
>
> Signed-off-by: Patrick Delaunay <patrick.delaunay at foss.st.com>
> Signed-off-by: Patrice Chotard <patrice.chotard at foss.st.com>
> ---
>
>   arch/arm/dts/Makefile                    |   4 -
>   arch/arm/dts/stm32746g-eval.dts          | 186 -------
>   arch/arm/dts/stm32f7-pinctrl.dtsi        | 415 ---------------
>   arch/arm/dts/stm32f746-disco-u-boot.dtsi |  13 +-
>   arch/arm/dts/stm32f746-disco.dts         | 169 -------
>   arch/arm/dts/stm32f746-pinctrl.dtsi      |  11 -
>   arch/arm/dts/stm32f746.dtsi              | 613 -----------------------
>   arch/arm/dts/stm32f769-disco-u-boot.dtsi |  60 +--
>   arch/arm/dts/stm32f769-disco.dts         | 133 -----
>   arch/arm/dts/stm32f769-pinctrl.dtsi      |  11 -
>   arch/arm/mach-stm32/Kconfig              |   1 +
>   configs/stm32746g-eval_defconfig         |   3 +-
>   configs/stm32746g-eval_spl_defconfig     |   3 +-
>   configs/stm32f746-disco_defconfig        |   3 +-
>   configs/stm32f746-disco_spl_defconfig    |   3 +-
>   configs/stm32f769-disco_defconfig        |   4 +-
>   configs/stm32f769-disco_spl_defconfig    |   4 +-
>   include/configs/stm32f746-disco.h        |   2 +-
>   18 files changed, 34 insertions(+), 1604 deletions(-)
>   delete mode 100644 arch/arm/dts/stm32746g-eval.dts
>   delete mode 100644 arch/arm/dts/stm32f7-pinctrl.dtsi
>   delete mode 100644 arch/arm/dts/stm32f746-disco.dts
>   delete mode 100644 arch/arm/dts/stm32f746-pinctrl.dtsi
>   delete mode 100644 arch/arm/dts/stm32f746.dtsi
>   delete mode 100644 arch/arm/dts/stm32f769-disco.dts
>   delete mode 100644 arch/arm/dts/stm32f769-pinctrl.dtsi
>

Reviewed-by: Patrick Delaunay <patrick.delaunay at foss.st.com>

Thanks
Patrick




More information about the U-Boot mailing list