doc: dt: Add documentation for lpc3220-timer
authorJoachim Eastwood <manabian@gmail.com>
Mon, 11 May 2015 22:00:49 +0000 (00:00 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 2 Jun 2015 10:10:11 +0000 (12:10 +0200)
Add DT bindings documentation for lpc3220-timer. This timer is
used as clocksource on many NXP platforms.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Documentation/devicetree/bindings/timer/nxp,lpc3220-timer.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/timer/nxp,lpc3220-timer.txt b/Documentation/devicetree/bindings/timer/nxp,lpc3220-timer.txt
new file mode 100644 (file)
index 0000000..51b05a0
--- /dev/null
@@ -0,0 +1,26 @@
+* NXP LPC3220 timer
+
+The NXP LPC3220 timer is used on a wide range of NXP SoCs. This
+includes LPC32xx, LPC178x, LPC18xx and LPC43xx parts.
+
+Required properties:
+- compatible:
+       Should be "nxp,lpc3220-timer".
+- reg:
+       Address and length of the register set.
+- interrupts:
+       Reference to the timer interrupt
+- clocks:
+       Should contain a reference to timer clock.
+- clock-names:
+       Should contain "timerclk".
+
+Example:
+
+timer1: timer@40085000 {
+       compatible = "nxp,lpc3220-timer";
+       reg = <0x40085000 0x1000>;
+       interrupts = <13>;
+       clocks = <&ccu1 CLK_CPU_TIMER1>;
+       clock-names = "timerclk";
+};