Back to home page

OSCL-LXR

 
 

    


0001 * Microchip PIC32 Real Time Clock and Calendar
0002 
0003 The RTCC keeps time in hours, minutes, and seconds, and one half second. It
0004 provides a calendar in weekday, date, month, and year. It also provides a
0005 configurable alarm.
0006 
0007 Required properties:
0008 - compatible: should be: "microchip,pic32mzda-rtc"
0009 - reg: physical base address of the controller and length of memory mapped
0010     region.
0011 - interrupts: RTC alarm/event interrupt
0012 - clocks: clock phandle
0013 
0014 Example:
0015 
0016         rtc: rtc@1f8c0000 {
0017                 compatible = "microchip,pic32mzda-rtc";
0018                 reg = <0x1f8c0000 0x60>;
0019                 interrupts = <166 IRQ_TYPE_EDGE_RISING>;
0020                 clocks = <&PBCLK6>;
0021         };