2013-01-25 17:32:45 +00:00
|
|
|
Marvell Armada 370 and Armada XP Timers
|
|
|
|
---------------------------------------
|
2012-06-01 16:33:17 +00:00
|
|
|
|
|
|
|
Required properties:
|
2014-11-04 13:21:33 +00:00
|
|
|
- compatible: Should be one of the following
|
|
|
|
"marvell,armada-370-timer",
|
|
|
|
"marvell,armada-375-timer",
|
|
|
|
"marvell,armada-xp-timer".
|
2013-01-25 17:32:45 +00:00
|
|
|
- interrupts: Should contain the list of Global Timer interrupts and
|
|
|
|
then local timer interrupts
|
|
|
|
- reg: Should contain location and length for timers register. First
|
|
|
|
pair for the Global Timer registers, second pair for the
|
|
|
|
local/private timers.
|
2013-08-20 15:45:54 +00:00
|
|
|
|
|
|
|
Clocks required for compatible = "marvell,armada-370-timer":
|
|
|
|
- clocks : Must contain a single entry describing the clock input
|
|
|
|
|
2014-11-04 13:21:33 +00:00
|
|
|
Clocks required for compatibles = "marvell,armada-xp-timer",
|
|
|
|
"marvell,armada-375-timer":
|
2013-08-20 15:45:54 +00:00
|
|
|
- clocks : Must contain an entry for each entry in clock-names.
|
|
|
|
- clock-names : Must include the following entries:
|
|
|
|
"nbclk" (L2/coherency fabric clock),
|
|
|
|
"fixed" (Reference 25 MHz fixed-clock).
|
2012-06-01 16:33:17 +00:00
|
|
|
|
2013-08-13 14:43:14 +00:00
|
|
|
Examples:
|
|
|
|
|
|
|
|
- Armada 370:
|
|
|
|
|
|
|
|
timer {
|
|
|
|
compatible = "marvell,armada-370-timer";
|
|
|
|
reg = <0x20300 0x30>, <0x21040 0x30>;
|
|
|
|
interrupts = <37>, <38>, <39>, <40>, <5>, <6>;
|
|
|
|
clocks = <&coreclk 2>;
|
|
|
|
};
|
|
|
|
|
|
|
|
- Armada XP:
|
|
|
|
|
|
|
|
timer {
|
|
|
|
compatible = "marvell,armada-xp-timer";
|
|
|
|
reg = <0x20300 0x30>, <0x21040 0x30>;
|
|
|
|
interrupts = <37>, <38>, <39>, <40>, <5>, <6>;
|
2013-08-20 15:45:54 +00:00
|
|
|
clocks = <&coreclk 2>, <&refclk>;
|
|
|
|
clock-names = "nbclk", "fixed";
|
2013-08-13 14:43:14 +00:00
|
|
|
};
|