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:
Erwan Gouriou 2018-11-29 11:37:45 +01:00 committed by Anas Nashif
commit 3074e393db
10 changed files with 20 additions and 3 deletions

View file

@ -288,6 +288,7 @@
rtc: rtc@40002800 {
compatible = "st,stm32-rtc";
reg = <0x40002800 0x400>;
clocks = <&rcc STM32_CLOCK_BUS_APB1 0x10000000>;
interrupts = <41 0>;
prescaler = <32768>;
status = "disabled";