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:
|
2013-08-13 22:43:14 +08:00
|
|
|
- compatible: Should be either "marvell,armada-370-timer" or
|
|
|
|
"marvell,armada-xp-timer" as appropriate.
|
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
|
|
|
|
|
|
|
|
Clocks required for compatible = "marvell,armada-xp-timer":
|
|
|
|
- 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
|
|
|
};
|