Kyle Swenson | 8d8f654 | 2021-03-15 11:02:55 -0600 | [diff] [blame^] | 1 | * Real Time Clock of the i.MX SoCs |
| 2 | |
| 3 | RTC controller for the i.MX SoCs |
| 4 | |
| 5 | Required properties: |
| 6 | - compatible: Should be "fsl,imx1-rtc" or "fsl,imx21-rtc". |
| 7 | - reg: physical base address of the controller and length of memory mapped |
| 8 | region. |
| 9 | - interrupts: IRQ line for the RTC. |
| 10 | - clocks: should contain two entries: |
| 11 | * one for the input reference |
| 12 | * one for the the SoC RTC |
| 13 | - clock-names: should contain: |
| 14 | * "ref" for the input reference clock |
| 15 | * "ipg" for the SoC RTC clock |
| 16 | |
| 17 | Example: |
| 18 | |
| 19 | rtc@10007000 { |
| 20 | compatible = "fsl,imx21-rtc"; |
| 21 | reg = <0x10007000 0x1000>; |
| 22 | interrupts = <22>; |
| 23 | clocks = <&clks IMX27_CLK_CKIL>, |
| 24 | <&clks IMX27_CLK_RTC_IPG_GATE>; |
| 25 | clock-names = "ref", "ipg"; |
| 26 | }; |