xref: /freebsd-src/sys/contrib/device-tree/Bindings/rtc/xlnx-rtc.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot* Xilinx Zynq Ultrascale+ MPSoC Real Time Clock
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRTC controller for the Xilinx Zynq MPSoC Real Time Clock
4*c66ec88fSEmmanuel VadotSeparate IRQ lines for seconds and alarm
5*c66ec88fSEmmanuel Vadot
6*c66ec88fSEmmanuel VadotRequired properties:
7*c66ec88fSEmmanuel Vadot- compatible: Should be "xlnx,zynqmp-rtc"
8*c66ec88fSEmmanuel Vadot- reg: Physical base address of the controller and length
9*c66ec88fSEmmanuel Vadot       of memory mapped region.
10*c66ec88fSEmmanuel Vadot- interrupts: IRQ lines for the RTC.
11*c66ec88fSEmmanuel Vadot- interrupt-names: interrupt line names eg. "sec" "alarm"
12*c66ec88fSEmmanuel Vadot
13*c66ec88fSEmmanuel VadotOptional:
14*c66ec88fSEmmanuel Vadot- calibration: calibration value for 1 sec period which will
15*c66ec88fSEmmanuel Vadot		be programmed directly to calibration register
16*c66ec88fSEmmanuel Vadot
17*c66ec88fSEmmanuel VadotExample:
18*c66ec88fSEmmanuel Vadotrtc: rtc@ffa60000 {
19*c66ec88fSEmmanuel Vadot	compatible = "xlnx,zynqmp-rtc";
20*c66ec88fSEmmanuel Vadot	reg = <0x0 0xffa60000 0x100>;
21*c66ec88fSEmmanuel Vadot	interrupt-parent = <&gic>;
22*c66ec88fSEmmanuel Vadot	interrupts = <0 26 4>, <0 27 4>;
23*c66ec88fSEmmanuel Vadot	interrupt-names = "alarm", "sec";
24*c66ec88fSEmmanuel Vadot	calibration = <0x198233>;
25*c66ec88fSEmmanuel Vadot};
26