diff options
| -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 | }; | ||
