Merge branch 'apw' (xfrm_user fixes)
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / rtc / st,stm32-rtc.txt
1 STM32 Real Time Clock
2
3 Required 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
12 Optional 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
16 Example:
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         };