From: Ran Bi Date: Wed, 26 Feb 2020 05:13:00 +0000 (+0800) Subject: dt-bindings: rtc: add bindings for MT2712 RTC X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=bfb8c3b464f1fdb38b66c730e1f033902682ade6;p=linux.git dt-bindings: rtc: add bindings for MT2712 RTC Document the binding for MT2712 RTC implemented by rtc-mt2712. Reviewed-by: Rob Herring Signed-off-by: Ran Bi Link: https://lore.kernel.org/r/20200226051303.22560-2-ran.bi@mediatek.com Signed-off-by: Alexandre Belloni --- diff --git a/Documentation/devicetree/bindings/rtc/rtc-mt2712.txt b/Documentation/devicetree/bindings/rtc/rtc-mt2712.txt new file mode 100644 index 0000000000000..c33d87e5e753f --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/rtc-mt2712.txt @@ -0,0 +1,14 @@ +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 = ; +};