Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | Device-Tree bindings for MediaTek SoC based RTC |
| 2 | |
| 3 | Required properties: |
| 4 | - compatible : Should be |
| 5 | "mediatek,mt7622-rtc", "mediatek,soc-rtc" : for MT7622 SoC |
| 6 | - reg : Specifies base physical address and size of the registers; |
| 7 | - interrupts : Should contain the interrupt for RTC alarm; |
| 8 | - clocks : Specifies list of clock specifiers, corresponding to |
| 9 | entries in clock-names property; |
| 10 | - clock-names : Should contain "rtc" entries |
| 11 | |
| 12 | Example: |
| 13 | |
| 14 | rtc: rtc@10212800 { |
| 15 | compatible = "mediatek,mt7622-rtc", |
| 16 | "mediatek,soc-rtc"; |
| 17 | reg = <0 0x10212800 0 0x200>; |
| 18 | interrupts = <GIC_SPI 129 IRQ_TYPE_LEVEL_LOW>; |
| 19 | clocks = <&topckgen CLK_TOP_RTC>; |
| 20 | clock-names = "rtc"; |
| 21 | }; |