xref: /freebsd/sys/contrib/device-tree/Bindings/rtc/rtc-mt7622.txt (revision 8ddb146abcdf061be9f2c0db7e391697dafad85c)
1Device-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};
22