blob: 09fe8f51476f8638216279ceb68b0d3a736dc920 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001Device-Tree bindings for MediaTek SoC based RTC
2
3Required 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
12Example:
13
14rtc: 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};