diff options
author | Xiubo Li <Li.Xiubo@freescale.com> | 2014-05-23 04:12:04 -0400 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2014-05-23 04:12:04 -0400 |
commit | 12e499d0ed1fa09940a573e5a8cce52b556f3c38 (patch) | |
tree | 245c6973be9520c36b2f03094f8fba7ed974ac79 /Documentation/devicetree/bindings/timer | |
parent | 28d4768869a297210bfd19d4a4b186acda0cdb1b (diff) |
clocksource: ftm: Add FlexTimer Module (FTM) Timer devicetree Documentation
The FTM binding could be used on Vybrid and LS1+, add a binding
document for it.
Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com>
Cc: Shawn Guo <shawn.guo@linaro.org>
Cc: Jingchang Lu <b35083@freescale.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'Documentation/devicetree/bindings/timer')
-rw-r--r-- | Documentation/devicetree/bindings/timer/fsl,ftm-timer.txt | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/timer/fsl,ftm-timer.txt b/Documentation/devicetree/bindings/timer/fsl,ftm-timer.txt new file mode 100644 index 000000000000..aa8c40230e5e --- /dev/null +++ b/Documentation/devicetree/bindings/timer/fsl,ftm-timer.txt | |||
@@ -0,0 +1,31 @@ | |||
1 | Freescale FlexTimer Module (FTM) Timer | ||
2 | |||
3 | Required properties: | ||
4 | |||
5 | - compatible : should be "fsl,ftm-timer" | ||
6 | - reg : Specifies base physical address and size of the register sets for the | ||
7 | clock event device and clock source device. | ||
8 | - interrupts : Should be the clock event device interrupt. | ||
9 | - clocks : The clocks provided by the SoC to drive the timer, must contain an | ||
10 | entry for each entry in clock-names. | ||
11 | - clock-names : Must include the following entries: | ||
12 | o "ftm-evt" | ||
13 | o "ftm-src" | ||
14 | o "ftm-evt-counter-en" | ||
15 | o "ftm-src-counter-en" | ||
16 | - big-endian: One boolean property, the big endian mode will be in use if it is | ||
17 | present, or the little endian mode will be in use for all the device registers. | ||
18 | |||
19 | Example: | ||
20 | ftm: ftm@400b8000 { | ||
21 | compatible = "fsl,ftm-timer"; | ||
22 | reg = <0x400b8000 0x1000 0x400b9000 0x1000>; | ||
23 | interrupts = <0 44 IRQ_TYPE_LEVEL_HIGH>; | ||
24 | clock-names = "ftm-evt", "ftm-src", | ||
25 | "ftm-evt-counter-en", "ftm-src-counter-en"; | ||
26 | clocks = <&clks VF610_CLK_FTM2>, | ||
27 | <&clks VF610_CLK_FTM3>, | ||
28 | <&clks VF610_CLK_FTM2_EXT_FIX_EN>, | ||
29 | <&clks VF610_CLK_FTM3_EXT_FIX_EN>; | ||
30 | big-endian; | ||
31 | }; | ||