18c2ecf20Sopenharmony_ci* Microchip PIC32 Real Time Clock and Calendar 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciThe RTCC keeps time in hours, minutes, and seconds, and one half second. It 48c2ecf20Sopenharmony_ciprovides a calendar in weekday, date, month, and year. It also provides a 58c2ecf20Sopenharmony_ciconfigurable alarm. 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ciRequired properties: 88c2ecf20Sopenharmony_ci- compatible: should be: "microchip,pic32mzda-rtc" 98c2ecf20Sopenharmony_ci- reg: physical base address of the controller and length of memory mapped 108c2ecf20Sopenharmony_ci region. 118c2ecf20Sopenharmony_ci- interrupts: RTC alarm/event interrupt 128c2ecf20Sopenharmony_ci- clocks: clock phandle 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ciExample: 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_ci rtc: rtc@1f8c0000 { 178c2ecf20Sopenharmony_ci compatible = "microchip,pic32mzda-rtc"; 188c2ecf20Sopenharmony_ci reg = <0x1f8c0000 0x60>; 198c2ecf20Sopenharmony_ci interrupts = <166 IRQ_TYPE_EDGE_RISING>; 208c2ecf20Sopenharmony_ci clocks = <&PBCLK6>; 218c2ecf20Sopenharmony_ci }; 22