Skip to content

Commit

Permalink
dt-bindings: Add mtk-timer bindings
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
mbgg authored and dlezcano committed Jul 23, 2014
1 parent ecb3530 commit 98c6bf2
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt
Original file line number Diff line number Diff line change
@@ -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>;
};

0 comments on commit 98c6bf2

Please sign in to comment.