blob: 180b7144bfcc53b680fce4239715a9dee5919181 [file] [log] [blame]
Joshua Hendersonaf556c12016-02-25 10:30:43 -07001* Microchip PIC32 Real Time Clock and Calendar
2
3The RTCC keeps time in hours, minutes, and seconds, and one half second. It
4provides a calendar in weekday, date, month, and year. It also provides a
5configurable alarm.
6
7Required properties:
8- compatible: should be: "microchip,pic32mzda-rtc"
9- reg: physical base address of the controller and length of memory mapped
10 region.
11- interrupts: RTC alarm/event interrupt
12- clocks: clock phandle
13
14Example:
15
16 rtc: rtc@1f8c0000 {
17 compatible = "microchip,pic32mzda-rtc";
18 reg = <0x1f8c0000 0x60>;
19 interrupts = <166 IRQ_TYPE_EDGE_RISING>;
20 clocks = <&PBCLK6>;
21 };