Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: rtc: mediatek: add bindings for MediaTek SoC based RTC

Add device-tree binding for MediaTek SoC based RTC

Cc: devicetree@vger.kernel.org
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>

authored by

Sean Wang and committed by
Alexandre Belloni
1901142b bc3bee02

+21
+21
Documentation/devicetree/bindings/rtc/rtc-mt7622.txt
··· 1 + Device-Tree bindings for MediaTek SoC based RTC 2 + 3 + Required 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 + 12 + Example: 13 + 14 + rtc: 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 + };