Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame^] | 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 | }; |