rtc-sh.txt 1.1 KB

12345678910111213141516171819202122232425262728
  1. * Real Time Clock for Renesas SH and ARM SoCs
  2. Required properties:
  3. - compatible: Should be "renesas,r7s72100-rtc" and "renesas,sh-rtc" as a
  4. fallback.
  5. - reg: physical base address and length of memory mapped region.
  6. - interrupts: 3 interrupts for alarm, period, and carry.
  7. - interrupt-names: The interrupts should be labeled as "alarm", "period", and
  8. "carry".
  9. - clocks: The functional clock source for the RTC controller must be listed
  10. first (if exists). Additionally, potential clock counting sources are to be
  11. listed.
  12. - clock-names: The functional clock must be labeled as "fck". Other clocks
  13. may be named in accordance to the SoC hardware manuals.
  14. Example:
  15. rtc: rtc@fcff1000 {
  16. compatible = "renesas,r7s72100-rtc", "renesas,sh-rtc";
  17. reg = <0xfcff1000 0x2e>;
  18. interrupts = <GIC_SPI 276 IRQ_TYPE_EDGE_RISING
  19. GIC_SPI 277 IRQ_TYPE_EDGE_RISING
  20. GIC_SPI 278 IRQ_TYPE_EDGE_RISING>;
  21. interrupt-names = "alarm", "period", "carry";
  22. clocks = <&mstp6_clks R7S72100_CLK_RTC>, <&rtc_x1_clk>,
  23. <&rtc_x3_clk>, <&extal_clk>;
  24. clock-names = "fck", "rtc_x1", "rtc_x3", "extal";
  25. };