dt-bindings: Add mtk-timer bindings
authorMatthias Brugger <[email protected]>
Fri, 18 Jul 2014 09:36:46 +0000 (11:36 +0200)
committerDaniel Lezcano <[email protected]>
Wed, 23 Jul 2014 10:02:32 +0000 (12:02 +0200)
Add binding documentation for the General Purpose Timer driver of
the Mediatek SoCs.

Signed-off-by: Matthias Brugger <[email protected]>
Acked-by: Sören Brinkmann <[email protected]>
Acked-by: Rob Herring <[email protected]>
Signed-off-by: Daniel Lezcano <[email protected]>
Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt b/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt
new file mode 100644 (file)
index 0000000..7c4408f
--- /dev/null
@@ -0,0 +1,17 @@
+Mediatek MT6577, MT6572 and MT6589 Timers
+---------------------------------------
+
+Required properties:
+- compatible: Should be "mediatek,mt6577-timer"
+- reg: Should contain location and length for timers register.
+- clocks: Clocks driving the timer hardware. This list should include two
+       clocks. The order is system clock and as second clock the RTC clock.
+
+Examples:
+
+       timer@10008000 {
+               compatible = "mediatek,mt6577-timer";
+               reg = <0x10008000 0x80>;
+               interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_LOW>;
+               clocks = <&system_clk>, <&rtc_clk>;
+       };