ingenic,jz4740-rtc.txt 1004 B

12345678910111213141516171819202122232425262728293031323334353637
  1. JZ4740 and similar SoCs real-time clock driver
  2. Required properties:
  3. - compatible: One of:
  4. - "ingenic,jz4740-rtc" - for use with the JZ4740 SoC
  5. - "ingenic,jz4780-rtc" - for use with the JZ4780 SoC
  6. - reg: Address range of rtc register set
  7. - interrupts: IRQ number for the alarm interrupt
  8. - clocks: phandle to the "rtc" clock
  9. - clock-names: must be "rtc"
  10. Optional properties:
  11. - system-power-controller: To use this component as the
  12. system power controller
  13. - reset-pin-assert-time-ms: Reset pin low-level assertion
  14. time after wakeup (default 60ms; range 0-125ms if RTC clock
  15. at 32 kHz)
  16. - min-wakeup-pin-assert-time-ms: Minimum wakeup pin assertion
  17. time (default 100ms; range 0-2s if RTC clock at 32 kHz)
  18. Example:
  19. rtc@10003000 {
  20. compatible = "ingenic,jz4740-rtc";
  21. reg = <0x10003000 0x40>;
  22. interrupt-parent = <&intc>;
  23. interrupts = <32>;
  24. clocks = <&rtc_clock>;
  25. clock-names = "rtc";
  26. system-power-controller;
  27. reset-pin-assert-time-ms = <60>;
  28. min-wakeup-pin-assert-time-ms = <100>;
  29. };