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