Afzal Mohammed | 9e0344d | 2012-12-17 16:02:15 -0800 | [diff] [blame] | 1 | TI Real Time Clock |
| 2 | |
| 3 | Required properties: |
Hebbar Gururaja | 8af750e | 2013-09-11 14:24:18 -0700 | [diff] [blame] | 4 | - compatible: |
| 5 | - "ti,da830-rtc" - for RTC IP used similar to that on DA8xx SoC family. |
| 6 | - "ti,am3352-rtc" - for RTC IP used similar to that on AM335x SoC family. |
| 7 | This RTC IP has special WAKE-EN Register to enable |
Johan Hovold | 222a12f | 2014-12-10 15:53:13 -0800 | [diff] [blame] | 8 | Wakeup generation for event Alarm. It can also be |
| 9 | used to control an external PMIC via the |
| 10 | pmic_power_en pin. |
Keerthy | 05743b3 | 2015-08-07 10:37:19 +0530 | [diff] [blame] | 11 | - "ti,am4372-rtc" - for RTC IP used similar to that on AM437X SoC family. |
Afzal Mohammed | 9e0344d | 2012-12-17 16:02:15 -0800 | [diff] [blame] | 12 | - reg: Address range of rtc register set |
| 13 | - interrupts: rtc timer, alarm interrupts in order |
| 14 | - interrupt-parent: phandle for the interrupt controller |
| 15 | |
Johan Hovold | 222a12f | 2014-12-10 15:53:13 -0800 | [diff] [blame] | 16 | Optional properties: |
Johan Hovold | 094d3ee | 2014-12-10 15:54:14 -0800 | [diff] [blame] | 17 | - system-power-controller: whether the rtc is controlling the system power |
Johan Hovold | 222a12f | 2014-12-10 15:53:13 -0800 | [diff] [blame] | 18 | through pmic_power_en |
Keerthy | fff51e7 | 2015-08-18 15:11:14 +0530 | [diff] [blame^] | 19 | - clocks: Any internal or external clocks feeding in to rtc |
| 20 | - clock-names: Corresponding names of the clocks |
Johan Hovold | 222a12f | 2014-12-10 15:53:13 -0800 | [diff] [blame] | 21 | |
Afzal Mohammed | 9e0344d | 2012-12-17 16:02:15 -0800 | [diff] [blame] | 22 | Example: |
| 23 | |
| 24 | rtc@1c23000 { |
| 25 | compatible = "ti,da830-rtc"; |
| 26 | reg = <0x23000 0x1000>; |
| 27 | interrupts = <19 |
| 28 | 19>; |
| 29 | interrupt-parent = <&intc>; |
Johan Hovold | 094d3ee | 2014-12-10 15:54:14 -0800 | [diff] [blame] | 30 | system-power-controller; |
Keerthy | fff51e7 | 2015-08-18 15:11:14 +0530 | [diff] [blame^] | 31 | clocks = <&clk_32k_rtc>, <&clk_32768_ck>; |
| 32 | clock-names = "ext-clk", "int-clk"; |
Afzal Mohammed | 9e0344d | 2012-12-17 16:02:15 -0800 | [diff] [blame] | 33 | }; |