summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt
blob: 53a3029b7589c6b3d6f79c55429b228e4f17d8a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Mediatek MT6577, MT6572 and MT6589 Timers
---------------------------------------

Required properties:
- compatible should contain:
	* "mediatek,mt6589-timer" for MT6589 compatible timers
	* "mediatek,mt6580-timer" for MT6580 compatible timers
	* "mediatek,mt6577-timer" for all compatible timers (MT6589, MT6580,
		MT6577)
- 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>;
	};