From 75a2e5625c0d8e5862df53ab9b1f786b13e9fbf5 Mon Sep 17 00:00:00 2001 From: Arnaud Pouliquen Date: Mon, 21 Jul 2025 13:40:32 +0200 Subject: [PATCH] boards: add HSE and HSI support for STM32MP257F boards. Add declaration of the HSE and HSI frequency that will be used to compute the SystemCoreClock. Signed-off-by: Arnaud Pouliquen --- .../stm32mp257f_dk/stm32mp257f_dk_stm32mp257fxx_m33.dts | 9 +++++++++ .../stm32mp257f_ev1_stm32mp257fxx_m33.dts | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/boards/st/stm32mp257f_dk/stm32mp257f_dk_stm32mp257fxx_m33.dts b/boards/st/stm32mp257f_dk/stm32mp257f_dk_stm32mp257fxx_m33.dts index 66e2e34eb4d..c36d3b443a3 100644 --- a/boards/st/stm32mp257f_dk/stm32mp257f_dk_stm32mp257fxx_m33.dts +++ b/boards/st/stm32mp257f_dk/stm32mp257f_dk_stm32mp257fxx_m33.dts @@ -45,6 +45,15 @@ }; }; +&clk_hsi { + status = "okay"; +}; + +&clk_hse { + clock-frequency = ; + status = "okay"; +}; + &rcc { clock-frequency = ; }; diff --git a/boards/st/stm32mp257f_ev1/stm32mp257f_ev1_stm32mp257fxx_m33.dts b/boards/st/stm32mp257f_ev1/stm32mp257f_ev1_stm32mp257fxx_m33.dts index c9a3cdd4f79..a4303592abc 100644 --- a/boards/st/stm32mp257f_ev1/stm32mp257f_ev1_stm32mp257fxx_m33.dts +++ b/boards/st/stm32mp257f_ev1/stm32mp257f_ev1_stm32mp257fxx_m33.dts @@ -45,6 +45,15 @@ }; }; +&clk_hsi { + status = "okay"; +}; + +&clk_hse { + clock-frequency = ; + status = "okay"; +}; + &rcc { clock-frequency = ; };