Commit bfb8c3b4 authored by Ran Bi's avatar Ran Bi Committed by Alexandre Belloni
Browse files

dt-bindings: rtc: add bindings for MT2712 RTC



Document the binding for MT2712 RTC implemented by rtc-mt2712.

Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarRan Bi <ran.bi@mediatek.com>
Link: https://lore.kernel.org/r/20200226051303.22560-2-ran.bi@mediatek.com


Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent eac1c3fc
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
Device-Tree bindings for MediaTek SoC based RTC

Required properties:
- compatible	    : Should be "mediatek,mt2712-rtc" : for MT2712 SoC
- reg 		    : Specifies base physical address and size of the registers;
- interrupts	    : Should contain the interrupt for RTC alarm;

Example:

rtc: rtc@10011000 {
	compatible = "mediatek,mt2712-rtc";
	reg = <0 0x10011000 0 0x1000>;
	interrupts = <GIC_SPI 239 IRQ_TYPE_LEVEL_LOW>;
};