boards: arm: Add RTC clock source for STM32 boards dts

For every board using an STM32, add the RTC clock source in its dts

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
This commit is contained in:
Guillaume Gautier 2022-09-07 09:13:35 +02:00 committed by Fabio Baltieri
commit dbbfff5002
72 changed files with 416 additions and 0 deletions

View file

@ -62,6 +62,10 @@
};
};
&clk_lsi {
status = "okay";
};
&clk_hse {
hse-bypass;
clock-frequency = <DT_FREQ_M(8)>; /* STLink 8MHz clock */
@ -108,6 +112,8 @@
};
&rtc {
clocks = <&rcc STM32_CLOCK_BUS_APB4 0x00010000>,
<&rcc STM32_SRC_LSI RTC_SEL(2)>;
status = "okay";
};