2013-01-26 01:32:45 +08:00
|
|
|
Marvell Armada 370 and Armada XP Timers
|
|
|
|
---------------------------------------
|
2012-06-02 00:33:17 +08:00
|
|
|
|
|
|
|
Required properties:
|
2014-11-04 21:21:33 +08:00
|
|
|
- compatible: Should be one of the following
|
|
|
|
"marvell,armada-370-timer",
|
|
|
|
"marvell,armada-375-timer",
|
|
|
|
"marvell,armada-xp-timer".
|
2013-01-26 01:32:45 +08: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 23:45:54 +08:00
|
|
|
|
|
|
|
Clocks required for compatible = "marvell,armada-370-timer":
|
|
|
|
- clocks : Must contain a single entry describing the clock input
|
|
|
|
|
2014-11-04 21:21:33 +08:00
|
|
|
Clocks required for compatibles = "marvell,armada-xp-timer",
|
|
|
|
"marvell,armada-375-timer":
|
2013-08-20 23:45:54 +08: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-02 00:33:17 +08:00
|
|
|
|
2013-08-13 22:43:14 +08: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 23:45:54 +08:00
|
|
|
clocks = <&coreclk 2>, <&refclk>;
|
|
|
|
clock-names = "nbclk", "fixed";
|
2013-08-13 22:43:14 +08:00
|
|
|
};
|