drivers/counter: stm32 rtc: Use dts to get RTC clock information
RTC clock information should be provided by dts files Fixes #10451 Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
parent
da744314ca
commit
3074e393db
10 changed files with 20 additions and 3 deletions
|
@ -366,6 +366,8 @@
|
|||
#define CONFIG_RTC_0_NAME DT_ST_STM32_RTC_40002800_LABEL
|
||||
#define DT_RTC_0_NAME DT_ST_STM32_RTC_40002800_LABEL
|
||||
#define CONFIG_RTC_PRESCALER DT_ST_STM32_RTC_40002800_PRESCALER
|
||||
#define DT_RTC_0_CLOCK_BITS DT_ST_STM32_RTC_40002800_CLOCK_BITS
|
||||
#define DT_RTC_0_CLOCK_BUS DT_ST_STM32_RTC_40002800_CLOCK_BUS
|
||||
|
||||
#define DT_WDT_0_NAME DT_ST_STM32_WATCHDOG_0_LABEL
|
||||
/* End of SoC Level DTS fixup file */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue