summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorJoão Paulo Gonçalves <joao.goncalves@toradex.com>2025-06-23 14:39:57 -0300
committerTom Rini <trini@konsulko.com>2025-07-09 08:40:03 -0600
commita03f4a632bf7c2337586394e5e7db6b368cfb37f (patch)
treeffbf7bd309d8746338b712d5a013728b849539f5 /board
parent7f4baa866dd510fe123290526dc1c7387dd48255 (diff)
board: toradex: verdin-am62p: Add fixup for critical trip points
While TI AM62P supports up to 125°C junction temperature, Tj, for industrial and automotive parts, Toradex Verdin-AM62P hardware lifetime guarantees consider a 105°C Tj. Fixup the device tree temperature critical trip points to match the hardware specifications. The implementation ensures the architecture code will not overwrite the board specific changes by enabling CONFIG_OF_BOARD_SETUP_EXTENDED for the Verdin-AM62P. Signed-off-by: João Paulo Gonçalves <joao.goncalves@toradex.com> Acked-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Diffstat (limited to 'board')
-rw-r--r--board/toradex/verdin-am62p/verdin-am62p.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/board/toradex/verdin-am62p/verdin-am62p.c b/board/toradex/verdin-am62p/verdin-am62p.c
index 8b246e9d304..43d1c9312fe 100644
--- a/board/toradex/verdin-am62p/verdin-am62p.c
+++ b/board/toradex/verdin-am62p/verdin-am62p.c
@@ -8,6 +8,7 @@
#include <config.h>
#include <asm/arch/hardware.h>
+#include <asm/arch/k3-common-fdt.h>
#include <asm/gpio.h>
#include <asm/io.h>
#include <dm/uclass.h>
@@ -97,6 +98,13 @@ int ft_board_setup(void *blob, struct bd_info *bd)
}
#endif
+#if IS_ENABLED(CONFIG_OF_BOARD_SETUP_EXTENDED)
+void ft_board_setup_ex(void *blob, struct bd_info *bd)
+{
+ fdt_fixup_thermal_critical_trips_k3(blob, 105);
+}
+#endif
+
static void select_dt_from_module_version(void)
{
char variant[32];