xref: /openbmc/linux/Documentation/devicetree/bindings/timer/marvell,armada-370-xp-timer.txt (revision 8ad31e66c150aeb44927b44bfb1ce7a3e23ec463)
137dd3951SGregory CLEMENTMarvell Armada 370 and Armada XP Timers
237dd3951SGregory CLEMENT---------------------------------------
337dd3951SGregory CLEMENT
437dd3951SGregory CLEMENTRequired properties:
5*8ad31e66SEzequiel Garcia- compatible: Should be either "marvell,armada-370-timer" or
6*8ad31e66SEzequiel Garcia  "marvell,armada-xp-timer" as appropriate.
737dd3951SGregory CLEMENT- interrupts: Should contain the list of Global Timer interrupts and
837dd3951SGregory CLEMENT  then local timer interrupts
937dd3951SGregory CLEMENT- reg: Should contain location and length for timers register. First
1037dd3951SGregory CLEMENT  pair for the Global Timer registers, second pair for the
1137dd3951SGregory CLEMENT  local/private timers.
12*8ad31e66SEzequiel Garcia- clocks: clock driving the timer hardware, only required for
13*8ad31e66SEzequiel Garcia  "marvell,armada-370-timer";
1437dd3951SGregory CLEMENT
15*8ad31e66SEzequiel GarciaExamples:
16*8ad31e66SEzequiel Garcia
17*8ad31e66SEzequiel Garcia- Armada 370:
18*8ad31e66SEzequiel Garcia
19*8ad31e66SEzequiel Garcia	timer {
20*8ad31e66SEzequiel Garcia		compatible = "marvell,armada-370-timer";
21*8ad31e66SEzequiel Garcia		reg = <0x20300 0x30>, <0x21040 0x30>;
22*8ad31e66SEzequiel Garcia		interrupts = <37>, <38>, <39>, <40>, <5>, <6>;
23*8ad31e66SEzequiel Garcia		clocks = <&coreclk 2>;
24*8ad31e66SEzequiel Garcia	};
25*8ad31e66SEzequiel Garcia
26*8ad31e66SEzequiel Garcia- Armada XP:
27*8ad31e66SEzequiel Garcia
28*8ad31e66SEzequiel Garcia	timer {
29*8ad31e66SEzequiel Garcia		compatible = "marvell,armada-xp-timer";
30*8ad31e66SEzequiel Garcia		reg = <0x20300 0x30>, <0x21040 0x30>;
31*8ad31e66SEzequiel Garcia		interrupts = <37>, <38>, <39>, <40>, <5>, <6>;
32*8ad31e66SEzequiel Garcia	};
33