[PATCH 0/4] Improve Verdin AM62P thermal setup by generalizing ft_board_setup_ex()

João Paulo Gonçalves jpaulo.silvagoncalves at gmail.com
Mon Jun 23 19:39:53 CEST 2025


In some use cases, board-specific device tree changes must not be overwritten
by system fixups. Although U-Boot provides ft_board_setup_ex() for this
purpose, it is currently only used on TI Keystone. This series makes
ft_board_setup_ex() a generic option, allowing its use by other architectures
and boards.

Additionally, considering that Toradex Verdin-AM62P hardware lifetime
guarantees are based on a 105°C junction temperature (while TI AM62Px supports
up to 125°C), this series implements necessary changes within TI K3 AM62P and
Toradex board code. These changes include exporting common fixup device Tree
functions used in TI K3 for board-code access and also fixup for AM62P thermal
zones to correctly reflect the number of CPU nodes according to the SoC part
number.

Signed-off-by: João Paulo Gonçalves <joao.goncalves at toradex.com>
---
João Paulo Gonçalves (4):
      boot: Make ft_board_setup_ex() generic
      arm: mach-k3: Export common fdt fixups for use in board code
      arm: mach-k3: am62p: fixup thermal cooling device by cpu number
      board: toradex: verdin-am62p: Add fixup for critical trip points

 arch/arm/Kconfig                                   |  1 +
 arch/arm/mach-k3/am62ax/am62a7_fdt.c               |  3 +-
 arch/arm/mach-k3/am62px/am62p5_fdt.c               | 73 +++++++++++-----------
 arch/arm/mach-k3/am62x/am625_fdt.c                 | 41 +-----------
 arch/arm/mach-k3/am65x/am654_fdt.c                 |  3 +-
 arch/arm/mach-k3/common_fdt.c                      | 38 ++++++++++-
 .../{common_fdt.h => include/mach/k3-common-fdt.h} |  7 ++-
 arch/arm/mach-k3/j721e/j721e_fdt.c                 |  3 +-
 arch/arm/mach-k3/j721s2/j721s2_fdt.c               |  3 +-
 arch/arm/mach-k3/j722s/j722s_fdt.c                 |  2 +-
 arch/arm/mach-k3/j784s4/j784s4_fdt.c               |  3 +-
 board/toradex/verdin-am62p/verdin-am62p.c          |  8 +++
 boot/Kconfig                                       | 10 +++
 boot/image-fdt.c                                   | 27 ++++----
 cmd/fdt.c                                          |  6 +-
 configs/verdin-am62p_a53_defconfig                 |  1 +
 include/fdt_support.h                              | 15 +++--
 17 files changed, 132 insertions(+), 112 deletions(-)
---
base-commit: dbf7fd557a73ded3141db3c2cf5c572989378825
change-id: 20250623-am62p-fdt-fixup-trip-points-8a69eeeea471

Best regards,
-- 
João Paulo Gonçalves <joao.goncalves at toradex.com>



More information about the U-Boot mailing list