xgene-rtc.txt 642 B

12345678910111213141516171819202122232425262728
  1. * APM X-Gene Real Time Clock
  2. RTC controller for the APM X-Gene Real Time Clock
  3. Required properties:
  4. - compatible : Should be "apm,xgene-rtc"
  5. - reg: physical base address of the controller and length of memory mapped
  6. region.
  7. - interrupts: IRQ line for the RTC.
  8. - #clock-cells: Should be 1.
  9. - clocks: Reference to the clock entry.
  10. Example:
  11. rtcclk: rtcclk {
  12. compatible = "fixed-clock";
  13. #clock-cells = <1>;
  14. clock-frequency = <100000000>;
  15. clock-output-names = "rtcclk";
  16. };
  17. rtc: rtc@10510000 {
  18. compatible = "apm,xgene-rtc";
  19. reg = <0x0 0x10510000 0x0 0x400>;
  20. interrupts = <0x0 0x46 0x4>;
  21. #clock-cells = <1>;
  22. clocks = <&rtcclk 0>;
  23. };