Maxime Ripard | 6790554 | 2013-11-07 12:01:48 +0100 | [diff] [blame] | 1 | Allwinner SoCs High Speed Timer Controller |
| 2 | |
| 3 | Required properties: |
| 4 | |
| 5 | - compatible : should be "allwinner,sun5i-a13-hstimer" or |
| 6 | "allwinner,sun7i-a20-hstimer" |
| 7 | - reg : Specifies base physical address and size of the registers. |
| 8 | - interrupts : The interrupts of these timers (2 for the sun5i IP, 4 for the sun7i |
| 9 | one) |
| 10 | - clocks: phandle to the source clock (usually the AHB clock) |
| 11 | |
Otto Kekäläinen | 7587eb1 | 2016-07-13 21:08:07 +0300 | [diff] [blame] | 12 | Optional properties: |
Maxime Ripard | e50a00b | 2014-04-17 11:06:45 +0200 | [diff] [blame] | 13 | - resets: phandle to a reset controller asserting the timer |
| 14 | |
Maxime Ripard | 6790554 | 2013-11-07 12:01:48 +0100 | [diff] [blame] | 15 | Example: |
| 16 | |
Marco Franchi | 48c926c | 2017-11-08 14:27:48 -0200 | [diff] [blame^] | 17 | timer@1c60000 { |
Maxime Ripard | 6790554 | 2013-11-07 12:01:48 +0100 | [diff] [blame] | 18 | compatible = "allwinner,sun7i-a20-hstimer"; |
| 19 | reg = <0x01c60000 0x1000>; |
| 20 | interrupts = <0 51 1>, |
| 21 | <0 52 1>, |
| 22 | <0 53 1>, |
| 23 | <0 54 1>; |
| 24 | clocks = <&ahb1_gates 19>; |
Maxime Ripard | e50a00b | 2014-04-17 11:06:45 +0200 | [diff] [blame] | 25 | resets = <&ahb1rst 19>; |
Maxime Ripard | 6790554 | 2013-11-07 12:01:48 +0100 | [diff] [blame] | 26 | }; |