xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/rtc/microchip,pic32-rtc.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun* Microchip PIC32 Real Time Clock and Calendar
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunThe RTCC keeps time in hours, minutes, and seconds, and one half second. It
4*4882a593Smuzhiyunprovides a calendar in weekday, date, month, and year. It also provides a
5*4882a593Smuzhiyunconfigurable alarm.
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunRequired properties:
8*4882a593Smuzhiyun- compatible: should be: "microchip,pic32mzda-rtc"
9*4882a593Smuzhiyun- reg: physical base address of the controller and length of memory mapped
10*4882a593Smuzhiyun    region.
11*4882a593Smuzhiyun- interrupts: RTC alarm/event interrupt
12*4882a593Smuzhiyun- clocks: clock phandle
13*4882a593Smuzhiyun
14*4882a593SmuzhiyunExample:
15*4882a593Smuzhiyun
16*4882a593Smuzhiyun	rtc: rtc@1f8c0000 {
17*4882a593Smuzhiyun		compatible = "microchip,pic32mzda-rtc";
18*4882a593Smuzhiyun		reg = <0x1f8c0000 0x60>;
19*4882a593Smuzhiyun		interrupts = <166 IRQ_TYPE_EDGE_RISING>;
20*4882a593Smuzhiyun		clocks = <&PBCLK6>;
21*4882a593Smuzhiyun	};
22