diff options
author | Guo Ren <ren_guo@c-sky.com> | 2018-11-02 12:51:31 -0400 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2018-11-02 14:41:50 -0400 |
commit | ab1e77c3f590536b2659c097980efe6e8f713921 (patch) | |
tree | fd9acd5eda2ab28189536a43266e763d2c05f50e | |
parent | 33745c3cc588d9d5e18d6fd88709002158dddd5e (diff) |
dt-bindings: timer: gx6605s SOC timer
Dt-bindings doc for gx6605s SOC's system timer.
Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
-rw-r--r-- | Documentation/devicetree/bindings/timer/csky,gx6605s-timer.txt | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/timer/csky,gx6605s-timer.txt b/Documentation/devicetree/bindings/timer/csky,gx6605s-timer.txt new file mode 100644 index 000000000000..6b04344f4bea --- /dev/null +++ b/Documentation/devicetree/bindings/timer/csky,gx6605s-timer.txt | |||
@@ -0,0 +1,42 @@ | |||
1 | ================= | ||
2 | gx6605s SOC Timer | ||
3 | ================= | ||
4 | |||
5 | The timer is used in gx6605s soc as system timer and the driver | ||
6 | contain clk event and clk source. | ||
7 | |||
8 | ============================== | ||
9 | timer node bindings definition | ||
10 | ============================== | ||
11 | |||
12 | Description: Describes gx6605s SOC timer | ||
13 | |||
14 | PROPERTIES | ||
15 | |||
16 | - compatible | ||
17 | Usage: required | ||
18 | Value type: <string> | ||
19 | Definition: must be "csky,gx6605s-timer" | ||
20 | - reg | ||
21 | Usage: required | ||
22 | Value type: <u32 u32> | ||
23 | Definition: <phyaddr size> in soc from cpu view | ||
24 | - clocks | ||
25 | Usage: required | ||
26 | Value type: phandle + clock specifier cells | ||
27 | Definition: must be input clk node | ||
28 | - interrupt | ||
29 | Usage: required | ||
30 | Value type: <u32> | ||
31 | Definition: must be timer irq num defined by soc | ||
32 | |||
33 | Examples: | ||
34 | --------- | ||
35 | |||
36 | timer0: timer@20a000 { | ||
37 | compatible = "csky,gx6605s-timer"; | ||
38 | reg = <0x0020a000 0x400>; | ||
39 | clocks = <&dummy_apb_clk>; | ||
40 | interrupts = <10>; | ||
41 | interrupt-parent = <&intc>; | ||
42 | }; | ||