From acf0fe82d4e5bb3866ea3063e1da0be3d603e9cc Mon Sep 17 00:00:00 2001 From: Francois Ramu Date: Mon, 11 Dec 2023 17:52:15 +0100 Subject: [PATCH] boards: arm: Add RTC clock source for 96b_aerocore2 The `96b_aerocore2` board doesn't have its RTC node enabled, and is failing the following test: `tests/benchmarks/footprints/benchmark.kernel.footprints.pm` Enabled RTC node and lsi clock source for that platform. Signed-off-by: Francois Ramu --- boards/arm/96b_aerocore2/96b_aerocore2.dts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/boards/arm/96b_aerocore2/96b_aerocore2.dts b/boards/arm/96b_aerocore2/96b_aerocore2.dts index 4a4e8672f7f..dd5f8d8a895 100644 --- a/boards/arm/96b_aerocore2/96b_aerocore2.dts +++ b/boards/arm/96b_aerocore2/96b_aerocore2.dts @@ -42,6 +42,10 @@ }; +&clk_lsi { + status = "okay"; +}; + &clk_hse { clock-frequency = ; status = "okay"; @@ -180,6 +184,12 @@ zephyr_udc0: &usbotg_fs { status = "okay"; }; +&rtc { + clocks = <&rcc STM32_CLOCK_BUS_APB1 0x10000000>, + <&rcc STM32_SRC_LSI RTC_SEL(2)>; + status = "okay"; +}; + &rng { status = "okay"; };