blob: e2837b951237b90300af6679975bed765bffdff3 [file] [log] [blame]
Amelie Delaunay7c609302017-01-05 14:43:23 +01001STM32 Real Time Clock
2
3Required properties:
4- compatible: "st,stm32-rtc".
5- reg: address range of rtc register set.
6- clocks: reference to the clock entry ck_rtc.
7- interrupt-parent: phandle for the interrupt controller.
8- interrupts: rtc alarm interrupt.
9- st,syscfg: phandle for pwrcfg, mandatory to disable/enable backup domain
10 (RTC registers) write protection.
11
12Optional properties (to override default ck_rtc parent clock):
13- assigned-clocks: reference to the ck_rtc clock entry.
14- assigned-clock-parents: phandle of the new parent clock of ck_rtc.
15
16Example:
17
18 rtc: rtc@40002800 {
19 compatible = "st,stm32-rtc";
20 reg = <0x40002800 0x400>;
21 clocks = <&rcc 1 CLK_RTC>;
22 assigned-clocks = <&rcc 1 CLK_RTC>;
23 assigned-clock-parents = <&rcc 1 CLK_LSE>;
24 interrupt-parent = <&exti>;
25 interrupts = <17 1>;
26 st,syscfg = <&pwrcfg>;
27 };