rtc-omap.txt 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. TI Real Time Clock
  2. Required properties:
  3. - compatible:
  4. - "ti,da830-rtc" - for RTC IP used similar to that on DA8xx SoC family.
  5. - "ti,am3352-rtc" - for RTC IP used similar to that on AM335x SoC family.
  6. This RTC IP has special WAKE-EN Register to enable
  7. Wakeup generation for event Alarm. It can also be
  8. used to control an external PMIC via the
  9. pmic_power_en pin.
  10. - "ti,am4372-rtc" - for RTC IP used similar to that on AM437X SoC family.
  11. - reg: Address range of rtc register set
  12. - interrupts: rtc timer, alarm interrupts in order
  13. - interrupt-parent: phandle for the interrupt controller
  14. Optional properties:
  15. - system-power-controller: whether the rtc is controlling the system power
  16. through pmic_power_en
  17. - clocks: Any internal or external clocks feeding in to rtc
  18. - clock-names: Corresponding names of the clocks
  19. - pinctrl-0: a phandle pointing to the pin settings for the device
  20. - pinctrl-names: should be "default"
  21. Optional subnodes:
  22. - generic pinctrl node
  23. Required pinctrl subnodes properties:
  24. - pins - Names of ext_wakeup pins to configure
  25. Optional pinctrl subnodes properties:
  26. - input-enable - Enables ext_wakeup
  27. - ti,active-high - Set input active high (by default active low)
  28. Example:
  29. rtc@1c23000 {
  30. compatible = "ti,da830-rtc";
  31. reg = <0x23000 0x1000>;
  32. interrupts = <19
  33. 19>;
  34. interrupt-parent = <&intc>;
  35. system-power-controller;
  36. clocks = <&clk_32k_rtc>, <&clk_32768_ck>;
  37. clock-names = "ext-clk", "int-clk";
  38. pinctrl-0 = <&ext_wakeup>;
  39. pinctrl-names = "default";
  40. ext_wakeup: ext-wakeup {
  41. pins = "ext_wakeup0";
  42. input-enable;
  43. ti,active-high;
  44. };
  45. };