4 - compatible: can be either "st,stm32-rtc" or "st,stm32h7-rtc", depending on
5 the device is compatible with stm32(f4/f7) or stm32h7.
6 - reg: address range of rtc register set.
7 - clocks: can use up to two clocks, depending on part used:
8 - "rtc_ck": RTC clock source.
9 It is required on stm32(f4/f7) and stm32h7.
10 - "pclk": RTC APB interface clock.
11 It is not present on stm32(f4/f7).
12 It is required on stm32h7.
13 - clock-names: must be "rtc_ck" and "pclk".
14 It is required only on stm32h7.
15 - interrupt-parent: phandle for the interrupt controller.
16 - interrupts: rtc alarm interrupt.
17 - st,syscfg: phandle for pwrcfg, mandatory to disable/enable backup domain
18 (RTC registers) write protection.
20 Optional properties (to override default rtc_ck parent clock):
21 - assigned-clocks: reference to the rtc_ck clock entry.
22 - assigned-clock-parents: phandle of the new parent clock of rtc_ck.
27 compatible = "st,stm32-rtc";
28 reg = <0x40002800 0x400>;
29 clocks = <&rcc 1 CLK_RTC>;
30 assigned-clocks = <&rcc 1 CLK_RTC>;
31 assigned-clock-parents = <&rcc 1 CLK_LSE>;
32 interrupt-parent = <&exti>;
34 st,syscfg = <&pwrcfg>;
38 compatible = "st,stm32h7-rtc";
39 reg = <0x58004000 0x400>;
40 clocks = <&rcc RTCAPB_CK>, <&rcc RTC_CK>;
41 clock-names = "pclk", "rtc_ck";
42 assigned-clocks = <&rcc RTC_CK>;
43 assigned-clock-parents = <&rcc LSE_CK>;
44 interrupt-parent = <&exti>;
46 interrupt-names = "alarm";
47 st,syscfg = <&pwrcfg>;