xref: /linux/Documentation/devicetree/bindings/timer/marvell,armada-370-xp-timer.txt (revision c4ee0af3fa0dc65f690fc908f02b8355f9576ea0)
1Marvell Armada 370 and Armada XP Timers
2---------------------------------------
3
4Required properties:
5- compatible: Should be either "marvell,armada-370-timer" or
6  "marvell,armada-xp-timer" as appropriate.
7- interrupts: Should contain the list of Global Timer interrupts and
8  then local timer interrupts
9- reg: Should contain location and length for timers register. First
10  pair for the Global Timer registers, second pair for the
11  local/private timers.
12
13Clocks required for compatible = "marvell,armada-370-timer":
14- clocks : Must contain a single entry describing the clock input
15
16Clocks required for compatible = "marvell,armada-xp-timer":
17- clocks : Must contain an entry for each entry in clock-names.
18- clock-names : Must include the following entries:
19  "nbclk" (L2/coherency fabric clock),
20  "fixed" (Reference 25 MHz fixed-clock).
21
22Examples:
23
24- Armada 370:
25
26	timer {
27		compatible = "marvell,armada-370-timer";
28		reg = <0x20300 0x30>, <0x21040 0x30>;
29		interrupts = <37>, <38>, <39>, <40>, <5>, <6>;
30		clocks = <&coreclk 2>;
31	};
32
33- Armada XP:
34
35	timer {
36		compatible = "marvell,armada-xp-timer";
37		reg = <0x20300 0x30>, <0x21040 0x30>;
38		interrupts = <37>, <38>, <39>, <40>, <5>, <6>;
39		clocks = <&coreclk 2>, <&refclk>;
40		clock-names = "nbclk", "fixed";
41	};
42