diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2013-03-14 08:08:56 -0400 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2013-04-09 10:52:52 -0400 |
commit | c21e5ca87400ceed04e7033a1848fda5d7e0e5f2 (patch) | |
tree | a53f45789884959207c19780f042d192276aaff2 /Documentation | |
parent | c20736f1aba75bd4251e96ef3f487beebbaf41cc (diff) |
ARM: i.MX: Add GPT devicetree Documentation
The GPT binding is already used on i.MX6 and i.MX25, but not yet
documented. Add a binding document for it.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/timer/fsl,imxgpt.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/timer/fsl,imxgpt.txt b/Documentation/devicetree/bindings/timer/fsl,imxgpt.txt new file mode 100644 index 000000000000..9809b11f7180 --- /dev/null +++ b/Documentation/devicetree/bindings/timer/fsl,imxgpt.txt | |||
@@ -0,0 +1,18 @@ | |||
1 | Freescale i.MX General Purpose Timer (GPT) | ||
2 | |||
3 | Required properties: | ||
4 | |||
5 | - compatible : should be "fsl,<soc>-gpt" | ||
6 | - reg : Specifies base physical address and size of the registers. | ||
7 | - interrupts : A list of 4 interrupts; one per timer channel. | ||
8 | - clocks : The clocks provided by the SoC to drive the timer. | ||
9 | |||
10 | Example: | ||
11 | |||
12 | gpt1: timer@10003000 { | ||
13 | compatible = "fsl,imx27-gpt", "fsl,imx1-gpt"; | ||
14 | reg = <0x10003000 0x1000>; | ||
15 | interrupts = <26>; | ||
16 | clocks = <&clks 46>, <&clks 61>; | ||
17 | clock-names = "ipg", "per"; | ||
18 | }; | ||