s3c-rtc.txt 1.4 KB

1234567891011121314151617181920212223242526272829303132
  1. * Samsung's S3C Real Time Clock controller
  2. Required properties:
  3. - compatible: should be one of the following.
  4. * "samsung,s3c2410-rtc" - for controllers compatible with s3c2410 rtc.
  5. * "samsung,s3c2416-rtc" - for controllers compatible with s3c2416 rtc.
  6. * "samsung,s3c2443-rtc" - for controllers compatible with s3c2443 rtc.
  7. * "samsung,s3c6410-rtc" - for controllers compatible with s3c6410 rtc.
  8. * "samsung,exynos3250-rtc" - (deprecated) for controllers compatible with
  9. exynos3250 rtc (use "samsung,s3c6410-rtc").
  10. - reg: physical base address of the controller and length of memory mapped
  11. region.
  12. - interrupts: Two interrupt numbers to the cpu should be specified. First
  13. interrupt number is the rtc alarm interrupt and second interrupt number
  14. is the rtc tick interrupt. The number of cells representing a interrupt
  15. depends on the parent interrupt controller.
  16. - clocks: Must contain a list of phandle and clock specifier for the rtc
  17. clock and in the case of a s3c6410 compatible controller, also
  18. a source clock.
  19. - clock-names: Must contain "rtc" and for a s3c6410 compatible controller,
  20. a "rtc_src" sorted in the same order as the clocks property.
  21. Example:
  22. rtc@10070000 {
  23. compatible = "samsung,s3c6410-rtc";
  24. reg = <0x10070000 0x100>;
  25. interrupts = <44 0 45 0>;
  26. clocks = <&clock CLK_RTC>, <&s2mps11_osc S2MPS11_CLK_AP>;
  27. clock-names = "rtc", "rtc_src";
  28. };