Skip to content

Commit ab1e77c

Browse files
guoren83dlezcano
authored andcommitted
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>
1 parent 33745c3 commit ab1e77c

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
};

0 commit comments

Comments
 (0)