1*c66ec88fSEmmanuel Vadot* Microchip PIC32 Real Time Clock and Calendar 2*c66ec88fSEmmanuel Vadot 3*c66ec88fSEmmanuel VadotThe RTCC keeps time in hours, minutes, and seconds, and one half second. It 4*c66ec88fSEmmanuel Vadotprovides a calendar in weekday, date, month, and year. It also provides a 5*c66ec88fSEmmanuel Vadotconfigurable alarm. 6*c66ec88fSEmmanuel Vadot 7*c66ec88fSEmmanuel VadotRequired properties: 8*c66ec88fSEmmanuel Vadot- compatible: should be: "microchip,pic32mzda-rtc" 9*c66ec88fSEmmanuel Vadot- reg: physical base address of the controller and length of memory mapped 10*c66ec88fSEmmanuel Vadot region. 11*c66ec88fSEmmanuel Vadot- interrupts: RTC alarm/event interrupt 12*c66ec88fSEmmanuel Vadot- clocks: clock phandle 13*c66ec88fSEmmanuel Vadot 14*c66ec88fSEmmanuel VadotExample: 15*c66ec88fSEmmanuel Vadot 16*c66ec88fSEmmanuel Vadot rtc: rtc@1f8c0000 { 17*c66ec88fSEmmanuel Vadot compatible = "microchip,pic32mzda-rtc"; 18*c66ec88fSEmmanuel Vadot reg = <0x1f8c0000 0x60>; 19*c66ec88fSEmmanuel Vadot interrupts = <166 IRQ_TYPE_EDGE_RISING>; 20*c66ec88fSEmmanuel Vadot clocks = <&PBCLK6>; 21*c66ec88fSEmmanuel Vadot }; 22