1 * Microchip PIC32 Real Time Clock and Calendar 1 * Microchip PIC32 Real Time Clock and Calendar 2 2 3 The RTCC keeps time in hours, minutes, and sec 3 The RTCC keeps time in hours, minutes, and seconds, and one half second. It 4 provides a calendar in weekday, date, month, a 4 provides a calendar in weekday, date, month, and year. It also provides a 5 configurable alarm. 5 configurable alarm. 6 6 7 Required properties: 7 Required properties: 8 - compatible: should be: "microchip,pic32mzda- 8 - compatible: should be: "microchip,pic32mzda-rtc" 9 - reg: physical base address of the controller 9 - reg: physical base address of the controller and length of memory mapped 10 region. 10 region. 11 - interrupts: RTC alarm/event interrupt 11 - interrupts: RTC alarm/event interrupt 12 - clocks: clock phandle 12 - clocks: clock phandle 13 13 14 Example: 14 Example: 15 15 16 rtc: rtc@1f8c0000 { 16 rtc: rtc@1f8c0000 { 17 compatible = "microchip,pic32m 17 compatible = "microchip,pic32mzda-rtc"; 18 reg = <0x1f8c0000 0x60>; 18 reg = <0x1f8c0000 0x60>; 19 interrupts = <166 IRQ_TYPE_EDG 19 interrupts = <166 IRQ_TYPE_EDGE_RISING>; 20 clocks = <&PBCLK6>; 20 clocks = <&PBCLK6>; 21 }; 21 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.