| 1 |
* Microchip PIC32 Real Time Clock and Calendar |
| 2 |
|
| 3 |
The RTCC keeps time in hours, minutes, and seconds, and one half second. It |
| 4 |
provides a calendar in weekday, date, month, and year. It also provides a |
| 5 |
configurable alarm. |
| 6 |
|
| 7 |
Required 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 |
|
| 14 |
Example: |
| 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 |
}; |