dt-bindings: Add mtk-timer bindings
authorMatthias Brugger <matthias.bgg@gmail.com>
Fri, 18 Jul 2014 09:36:46 +0000 (11:36 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
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 <matthias.bgg@gmail.com>
Acked-by: Sören Brinkmann <soren.brinkmann@xilinx.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
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>;
+       };