Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | * Real Time Clock of the Armada 38x/7K/8K SoCs |
| 2 | |
| 3 | RTC controller for the Armada 38x, 7K and 8K SoCs |
| 4 | |
| 5 | Required properties: |
| 6 | - compatible : Should be one of the following: |
| 7 | "marvell,armada-380-rtc" for Armada 38x SoC |
| 8 | "marvell,armada-8k-rtc" for Aramda 7K/8K SoCs |
| 9 | - reg: a list of base address and size pairs, one for each entry in |
| 10 | reg-names |
| 11 | - reg names: should contain: |
| 12 | * "rtc" for the RTC registers |
| 13 | * "rtc-soc" for the SoC related registers and among them the one |
| 14 | related to the interrupt. |
| 15 | - interrupts: IRQ line for the RTC. |
| 16 | |
| 17 | Example: |
| 18 | |
| 19 | rtc@a3800 { |
| 20 | compatible = "marvell,armada-380-rtc"; |
| 21 | reg = <0xa3800 0x20>, <0x184a0 0x0c>; |
| 22 | reg-names = "rtc", "rtc-soc"; |
| 23 | interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>; |
| 24 | }; |