Commit | Line | Data |
---|---|---|
dcb9372b JE |
1 | NXP LPC1788 real-time clock |
2 | ||
3 | The LPC1788 RTC provides calendar and clock functionality | |
4 | together with periodic tick and alarm interrupt support. | |
5 | ||
6 | Required properties: | |
7 | - compatible : must contain "nxp,lpc1788-rtc" | |
8 | - reg : Specifies base physical address and size of the registers. | |
9 | - interrupts : A single interrupt specifier. | |
10 | - clocks : Must contain clock specifiers for rtc and register clock | |
11 | - clock-names : Must contain "rtc" and "reg" | |
12 | See ../clocks/clock-bindings.txt for details. | |
13 | ||
14 | Example: | |
15 | rtc: rtc@40046000 { | |
16 | compatible = "nxp,lpc1788-rtc"; | |
17 | reg = <0x40046000 0x1000>; | |
18 | interrupts = <47>; | |
19 | clocks = <&creg_clk 0>, <&ccu1 CLK_CPU_BUS>; | |
20 | clock-names = "rtc", "reg"; | |
21 | }; |