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. |
Afzal Mohammed | 9e0344d | 2012-12-17 16:02:15 -0800 | [diff] [blame] | 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 | |
Johan Hovold | 222a12f | 2014-12-10 15:53:13 -0800 | [diff] [blame^] | 15 | Optional properties: |
| 16 | - ti,system-power-controller: whether the rtc is controlling the system power |
| 17 | through pmic_power_en |
| 18 | |
Afzal Mohammed | 9e0344d | 2012-12-17 16:02:15 -0800 | [diff] [blame] | 19 | Example: |
| 20 | |
| 21 | rtc@1c23000 { |
| 22 | compatible = "ti,da830-rtc"; |
| 23 | reg = <0x23000 0x1000>; |
| 24 | interrupts = <19 |
| 25 | 19>; |
| 26 | interrupt-parent = <&intc>; |
Johan Hovold | 222a12f | 2014-12-10 15:53:13 -0800 | [diff] [blame^] | 27 | ti,system-power-controller; |
Afzal Mohammed | 9e0344d | 2012-12-17 16:02:15 -0800 | [diff] [blame] | 28 | }; |