xlnx-rtc.txt 738 B

1234567891011121314151617181920212223242526
  1. * Xilinx Zynq Ultrascale+ MPSoC Real Time Clock
  2. RTC controller for the Xilinx Zynq MPSoC Real Time Clock
  3. Separate IRQ lines for seconds and alarm
  4. Required properties:
  5. - compatible: Should be "xlnx,zynqmp-rtc"
  6. - reg: Physical base address of the controller and length
  7. of memory mapped region.
  8. - interrupts: IRQ lines for the RTC.
  9. - interrupt-names: interrupt line names eg. "sec" "alarm"
  10. Optional:
  11. - calibration: calibration value for 1 sec period which will
  12. be programmed directly to calibration register
  13. Example:
  14. rtc: rtc@ffa60000 {
  15. compatible = "xlnx,zynqmp-rtc";
  16. reg = <0x0 0xffa60000 0x100>;
  17. interrupt-parent = <&gic>;
  18. interrupts = <0 26 4>, <0 27 4>;
  19. interrupt-names = "alarm", "sec";
  20. calibration = <0x198233>;
  21. };