diff options
| author | Matthias Brugger <matthias.bgg@gmail.com> | 2014-07-18 05:36:46 -0400 |
|---|---|---|
| committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2014-07-23 06:02:32 -0400 |
| commit | 98c6bf2a2d426d7c6a07997a48443b2f60190d71 (patch) | |
| tree | 003b4d2a6d6d0ff1f91af0ea91210211b77bb982 /Documentation/devicetree/bindings/timer | |
| parent | ecb3530dd59ddd5158bcc507d634e698130fd937 (diff) | |
dt-bindings: Add mtk-timer bindings
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>
Diffstat (limited to 'Documentation/devicetree/bindings/timer')
| -rw-r--r-- | Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt b/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt new file mode 100644 index 000000000000..7c4408ff4b83 --- /dev/null +++ b/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | Mediatek MT6577, MT6572 and MT6589 Timers | ||
| 2 | --------------------------------------- | ||
| 3 | |||
| 4 | Required properties: | ||
| 5 | - compatible: Should be "mediatek,mt6577-timer" | ||
| 6 | - reg: Should contain location and length for timers register. | ||
| 7 | - clocks: Clocks driving the timer hardware. This list should include two | ||
| 8 | clocks. The order is system clock and as second clock the RTC clock. | ||
| 9 | |||
| 10 | Examples: | ||
| 11 | |||
| 12 | timer@10008000 { | ||
| 13 | compatible = "mediatek,mt6577-timer"; | ||
| 14 | reg = <0x10008000 0x80>; | ||
| 15 | interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_LOW>; | ||
| 16 | clocks = <&system_clk>, <&rtc_clk>; | ||
| 17 | }; | ||
