boards: arm: b_l072z_lrwan1: Use LSE for RTC source clock
* This board was originally configured through its Kconfig to use LSE instead of LSI for the RTC source clock, so the dts is updated accordingly. * Remove the RTC source clock symbol from the Kconfig since it is now deprecated. Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
This commit is contained in:
parent
3e6c9c40aa
commit
b0d70ba176
2 changed files with 2 additions and 7 deletions
|
@ -8,9 +8,4 @@ if BOARD_B_L072Z_LRWAN1
|
|||
config BOARD
|
||||
default "b_l072z_lrwan1"
|
||||
|
||||
choice COUNTER_RTC_STM32_CLOCK_SRC
|
||||
default COUNTER_RTC_STM32_CLOCK_LSE
|
||||
depends on COUNTER
|
||||
endchoice # COUNTER_RTC_STM32_CLOCK_SRC
|
||||
|
||||
endif # BOARD_B_L072Z_LRWAN1
|
||||
|
|
|
@ -71,7 +71,7 @@
|
|||
cpu-power-states = <&stop>;
|
||||
};
|
||||
|
||||
&clk_lsi {
|
||||
&clk_lse {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
@ -158,7 +158,7 @@ arduino_i2c: &i2c1 {};
|
|||
|
||||
&rtc {
|
||||
clocks = <&rcc STM32_CLOCK_BUS_APB1 0x10000000>,
|
||||
<&rcc STM32_SRC_LSI RTC_SEL(2)>;
|
||||
<&rcc STM32_SRC_LSE RTC_SEL(1)>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue