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