xref: /freebsd/sys/contrib/device-tree/Bindings/rtc/rtc-mt2712.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotDevice-Tree bindings for MediaTek SoC based RTC
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot- compatible	    : Should be "mediatek,mt2712-rtc" : for MT2712 SoC
5*c66ec88fSEmmanuel Vadot- reg 		    : Specifies base physical address and size of the registers;
6*c66ec88fSEmmanuel Vadot- interrupts	    : Should contain the interrupt for RTC alarm;
7*c66ec88fSEmmanuel Vadot
8*c66ec88fSEmmanuel VadotExample:
9*c66ec88fSEmmanuel Vadot
10*c66ec88fSEmmanuel Vadotrtc: rtc@10011000 {
11*c66ec88fSEmmanuel Vadot	compatible = "mediatek,mt2712-rtc";
12*c66ec88fSEmmanuel Vadot	reg = <0 0x10011000 0 0x1000>;
13*c66ec88fSEmmanuel Vadot	interrupts = <GIC_SPI 239 IRQ_TYPE_LEVEL_LOW>;
14*c66ec88fSEmmanuel Vadot};
15