blob: e9c78ce880e600c3413a4d96f5cc39d72f4d59ff [file] [log] [blame]
Gregory CLEMENT37dd3952013-01-25 18:32:45 +01001Marvell Armada 370 and Armada XP Timers
2---------------------------------------
3
4Required properties:
Ezequiel Garcia4a22d9c2014-11-04 10:21:33 -03005- compatible: Should be one of the following
6 "marvell,armada-370-timer",
7 "marvell,armada-375-timer",
8 "marvell,armada-xp-timer".
Gregory CLEMENT37dd3952013-01-25 18:32:45 +01009- 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.
Ezequiel Garcia63ce2cc2013-08-20 12:45:54 -030014
15Clocks required for compatible = "marvell,armada-370-timer":
16- clocks : Must contain a single entry describing the clock input
17
Ezequiel Garcia4a22d9c2014-11-04 10:21:33 -030018Clocks required for compatibles = "marvell,armada-xp-timer",
19 "marvell,armada-375-timer":
Ezequiel Garcia63ce2cc2013-08-20 12:45:54 -030020- 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).
Gregory CLEMENT37dd3952013-01-25 18:32:45 +010024
Ezequiel Garcia8ad31e62013-08-13 11:43:14 -030025Examples:
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>;
Ezequiel Garcia63ce2cc2013-08-20 12:45:54 -030042 clocks = <&coreclk 2>, <&refclk>;
43 clock-names = "nbclk", "fixed";
Ezequiel Garcia8ad31e62013-08-13 11:43:14 -030044 };