diff options
| author | Joachim Eastwood <manabian@gmail.com> | 2015-05-11 18:00:49 -0400 |
|---|---|---|
| committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2015-06-02 06:10:11 -0400 |
| commit | 5fc9b49deadc16d088e8fc6ca4fee85644380497 (patch) | |
| tree | 76c5f35a405b13c7b4d0218fcfb8c998bf8ad9fd /Documentation/devicetree/bindings/timer | |
| parent | 050dd3222ba9fe8cadcb5146de052139ffb30b61 (diff) | |
doc: dt: Add documentation for lpc3220-timer
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>
Diffstat (limited to 'Documentation/devicetree/bindings/timer')
| -rw-r--r-- | Documentation/devicetree/bindings/timer/nxp,lpc3220-timer.txt | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/timer/nxp,lpc3220-timer.txt b/Documentation/devicetree/bindings/timer/nxp,lpc3220-timer.txt new file mode 100644 index 000000000000..51b05a0e70d1 --- /dev/null +++ b/Documentation/devicetree/bindings/timer/nxp,lpc3220-timer.txt | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | * NXP LPC3220 timer | ||
| 2 | |||
| 3 | The NXP LPC3220 timer is used on a wide range of NXP SoCs. This | ||
| 4 | includes LPC32xx, LPC178x, LPC18xx and LPC43xx parts. | ||
| 5 | |||
| 6 | Required properties: | ||
| 7 | - compatible: | ||
| 8 | Should be "nxp,lpc3220-timer". | ||
| 9 | - reg: | ||
| 10 | Address and length of the register set. | ||
| 11 | - interrupts: | ||
| 12 | Reference to the timer interrupt | ||
| 13 | - clocks: | ||
| 14 | Should contain a reference to timer clock. | ||
| 15 | - clock-names: | ||
| 16 | Should contain "timerclk". | ||
| 17 | |||
| 18 | Example: | ||
| 19 | |||
| 20 | timer1: timer@40085000 { | ||
| 21 | compatible = "nxp,lpc3220-timer"; | ||
| 22 | reg = <0x40085000 0x1000>; | ||
| 23 | interrupts = <13>; | ||
| 24 | clocks = <&ccu1 CLK_CPU_TIMER1>; | ||
| 25 | clock-names = "timerclk"; | ||
| 26 | }; | ||
