rtc-omap.txt 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. Optional properties:
  14. - system-power-controller: whether the rtc is controlling the system power
  15. through pmic_power_en
  16. - clocks: Any internal or external clocks feeding in to rtc
  17. - clock-names: Corresponding names of the clocks
  18. - pinctrl-0: a phandle pointing to the pin settings for the device
  19. - pinctrl-names: should be "default"
  20. Optional subnodes:
  21. - generic pinctrl node
  22. Required pinctrl subnodes properties:
  23. - pins - Names of ext_wakeup pins to configure
  24. Optional pinctrl subnodes properties:
  25. - input-enable - Enables ext_wakeup
  26. - ti,active-high - Set input active high (by default active low)
  27. Example:
  28. rtc@1c23000 {
  29. compatible = "ti,da830-rtc";
  30. reg = <0x23000 0x1000>;
  31. interrupts = <19
  32. 19>;
  33. interrupt-parent = <&intc>;
  34. system-power-controller;
  35. clocks = <&clk_32k_rtc>, <&clk_32768_ck>;
  36. clock-names = "ext-clk", "int-clk";
  37. pinctrl-0 = <&ext_wakeup>;
  38. pinctrl-names = "default";
  39. ext_wakeup: ext-wakeup {
  40. pins = "ext_wakeup0";
  41. input-enable;
  42. ti,active-high;
  43. };
  44. };