From ae5f4e2c6c1fcf9c256622713f97d255584e73fc Mon Sep 17 00:00:00 2001 From: Patrice Chotard Date: Tue, 1 Apr 2025 15:14:03 +0200 Subject: ARM: dts: stm32: convert stm23f7 boards to OF_UPSTREAM Enable OF_UPSTREAM flag for STM32F7 platforms. Use upstream device tree for DSI and LTDC nodes, As now in upstream DT, in panel@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 Signed-off-by: Patrice Chotard Reviewed-by: Patrick Delaunay --- include/configs/stm32f746-disco.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/configs/stm32f746-disco.h b/include/configs/stm32f746-disco.h index 00ec9efba57..e6f8dee668d 100644 --- a/include/configs/stm32f746-disco.h +++ b/include/configs/stm32f746-disco.h @@ -30,7 +30,7 @@ #include #define CFG_EXTRA_ENV_SETTINGS \ "kernel_addr_r=0xC0008000\0" \ - "fdtfile="CONFIG_DEFAULT_DEVICE_TREE".dtb\0" \ + "fdtfile="CONFIG_DEFAULT_FDT_FILE".dtb\0" \ "fdt_addr_r=0xC0408000\0" \ "scriptaddr=0xC0418000\0" \ "pxefile_addr_r=0xC0428000\0" \ -- cgit v1.2.3