Merge tag 'mfd-next-4.19' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / timer / mediatek,mtk-timer.txt
1 Mediatek Timers
2 ---------------
3
4 Mediatek SoCs have two different timers on different platforms,
5 - GPT (General Purpose Timer)
6 - SYST (System Timer)
7
8 The proper timer will be selected automatically by driver.
9
10 Required properties:
11 - compatible should contain:
12         * "mediatek,mt2701-timer" for MT2701 compatible timers (GPT)
13         * "mediatek,mt6580-timer" for MT6580 compatible timers (GPT)
14         * "mediatek,mt6589-timer" for MT6589 compatible timers (GPT)
15         * "mediatek,mt7623-timer" for MT7623 compatible timers (GPT)
16         * "mediatek,mt8127-timer" for MT8127 compatible timers (GPT)
17         * "mediatek,mt8135-timer" for MT8135 compatible timers (GPT)
18         * "mediatek,mt8173-timer" for MT8173 compatible timers (GPT)
19         * "mediatek,mt6577-timer" for MT6577 and all above compatible timers (GPT)
20         * "mediatek,mt6765-timer" for MT6765 compatible timers (SYST)
21 - reg: Should contain location and length for timer register.
22 - clocks: Should contain system clock.
23
24 Examples:
25
26         timer@10008000 {
27                 compatible = "mediatek,mt6577-timer";
28                 reg = <0x10008000 0x80>;
29                 interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_LOW>;
30                 clocks = <&system_clk>;
31         };