summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/timer/mediatek,mtk-timer.txt
diff options
context:
space:
mode:
Diffstat (limited to 'dts/Bindings/timer/mediatek,mtk-timer.txt')
-rw-r--r--dts/Bindings/timer/mediatek,mtk-timer.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/dts/Bindings/timer/mediatek,mtk-timer.txt b/dts/Bindings/timer/mediatek,mtk-timer.txt
new file mode 100644
index 0000000000..7c4408ff4b
--- /dev/null
+++ b/dts/Bindings/timer/mediatek,mtk-timer.txt
@@ -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>;
+ };