Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | Cadence Real Time Clock |
| 2 | |
| 3 | The Cadence RTC controller with date, time and alarm capabilities. |
| 4 | The alarm may wake the system from low-power state. |
| 5 | |
| 6 | Required properties: |
| 7 | - compatible: Should be "cdns,rtc-r109v3" |
| 8 | - reg: Specifies base physical address and size of the register area. |
| 9 | - interrupts: A single interrupt specifier. |
| 10 | - clocks: Must contain two entries: |
| 11 | - pclk: APB registers clock |
| 12 | - ref_clk: reference 1Hz or 100Hz clock, depending on IP configuration |
| 13 | See ../clocks/clock-bindings.txt for details. |
| 14 | |
| 15 | Example: |
| 16 | rtc0: rtc@fd080000 { |
| 17 | compatible = "cdns,rtc-r109v3"; |
| 18 | reg = <0xfd080000 0x1000>; |
| 19 | |
| 20 | clock-names = "pclk", "ref_clk"; |
| 21 | clocks = <&sysclock>, <&refclock>; |
| 22 | |
| 23 | interrupt-parent = <&gic>; |
| 24 | interrupts = <0 6 IRQ_TYPE_LEVEL_HIGH>; |
| 25 | }; |