blob: 2c5c1be7836015c9cfc6ef4e653eb5d846d48dad [file] [log] [blame]
Maxime Ripard67905542013-11-07 12:01:48 +01001Allwinner SoCs High Speed Timer Controller
2
3Required 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äinen7587eb12016-07-13 21:08:07 +030012Optional properties:
Maxime Riparde50a00b2014-04-17 11:06:45 +020013- resets: phandle to a reset controller asserting the timer
14
Maxime Ripard67905542013-11-07 12:01:48 +010015Example:
16
Marco Franchi48c926c2017-11-08 14:27:48 -020017timer@1c60000 {
Maxime Ripard67905542013-11-07 12:01:48 +010018 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 Riparde50a00b2014-04-17 11:06:45 +020025 resets = <&ahb1rst 19>;
Maxime Ripard67905542013-11-07 12:01:48 +010026};