Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Matthias Brugger and committed by
Daniel Lezcano
98c6bf2a ecb3530d

+17
+17
Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt
··· 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 + };