Back to home page

OSCL-LXR

 
 

    


0001 NXP LPC1788 real-time clock
0002 
0003 The LPC1788 RTC provides calendar and clock functionality
0004 together with periodic tick and alarm interrupt support.
0005 
0006 Required properties:
0007 - compatible    : must contain "nxp,lpc1788-rtc"
0008 - reg           : Specifies base physical address and size of the registers.
0009 - interrupts    : A single interrupt specifier.
0010 - clocks        : Must contain clock specifiers for rtc and register clock
0011 - clock-names   : Must contain "rtc" and "reg"
0012   See ../clocks/clock-bindings.txt for details.
0013 
0014 Example:
0015 rtc: rtc@40046000 {
0016         compatible = "nxp,lpc1788-rtc";
0017         reg = <0x40046000 0x1000>;
0018         interrupts = <47>;
0019         clocks = <&creg_clk 0>, <&ccu1 CLK_CPU_BUS>;
0020         clock-names = "rtc", "reg";
0021 };