mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-11-01 09:13:37 +00:00
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>
This commit is contained in:
parent
bc3bee0252
commit
1901142ba8
1 changed files with 21 additions and 0 deletions
21
Documentation/devicetree/bindings/rtc/rtc-mt7622.txt
Normal file
21
Documentation/devicetree/bindings/rtc/rtc-mt7622.txt
Normal file
|
|
@ -0,0 +1,21 @@
|
||||||
|
Device-Tree bindings for MediaTek SoC based RTC
|
||||||
|
|
||||||
|
Required properties:
|
||||||
|
- compatible : Should be
|
||||||
|
"mediatek,mt7622-rtc", "mediatek,soc-rtc" : for MT7622 SoC
|
||||||
|
- reg : Specifies base physical address and size of the registers;
|
||||||
|
- interrupts : Should contain the interrupt for RTC alarm;
|
||||||
|
- clocks : Specifies list of clock specifiers, corresponding to
|
||||||
|
entries in clock-names property;
|
||||||
|
- clock-names : Should contain "rtc" entries
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
rtc: rtc@10212800 {
|
||||||
|
compatible = "mediatek,mt7622-rtc",
|
||||||
|
"mediatek,soc-rtc";
|
||||||
|
reg = <0 0x10212800 0 0x200>;
|
||||||
|
interrupts = <GIC_SPI 129 IRQ_TYPE_LEVEL_LOW>;
|
||||||
|
clocks = <&topckgen CLK_TOP_RTC>;
|
||||||
|
clock-names = "rtc";
|
||||||
|
};
|
||||||
Loading…
Add table
Reference in a new issue