1 From 3254edde244fcbcce3bf4da1ade9db2db558ae28 Mon Sep 17 00:00:00 2001
2 From: Sean Wang <sean.wang@mediatek.com>
3 Date: Mon, 23 Oct 2017 15:16:44 +0800
4 Subject: [PATCH 137/224] dt-bindings: rtc: mediatek: add bindings for MediaTek
7 Add device-tree binding for MediaTek SoC based RTC
9 Cc: devicetree@vger.kernel.org
10 Signed-off-by: Sean Wang <sean.wang@mediatek.com>
11 Acked-by: Rob Herring <robh@kernel.org>
12 Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
14 .../devicetree/bindings/rtc/rtc-mt7622.txt | 21 +++++++++++++++++++++
15 1 file changed, 21 insertions(+)
16 create mode 100644 Documentation/devicetree/bindings/rtc/rtc-mt7622.txt
18 diff --git a/Documentation/devicetree/bindings/rtc/rtc-mt7622.txt b/Documentation/devicetree/bindings/rtc/rtc-mt7622.txt
20 index 000000000000..09fe8f51476f
22 +++ b/Documentation/devicetree/bindings/rtc/rtc-mt7622.txt
24 +Device-Tree bindings for MediaTek SoC based RTC
27 +- compatible : Should be
28 + "mediatek,mt7622-rtc", "mediatek,soc-rtc" : for MT7622 SoC
29 +- reg : Specifies base physical address and size of the registers;
30 +- interrupts : Should contain the interrupt for RTC alarm;
31 +- clocks : Specifies list of clock specifiers, corresponding to
32 + entries in clock-names property;
33 +- clock-names : Should contain "rtc" entries
38 + compatible = "mediatek,mt7622-rtc",
40 + reg = <0 0x10212800 0 0x200>;
41 + interrupts = <GIC_SPI 129 IRQ_TYPE_LEVEL_LOW>;
42 + clocks = <&topckgen CLK_TOP_RTC>;
43 + clock-names = "rtc";