diff options
-rw-r--r-- | Documentation/devicetree/bindings/timer/marvell,armada-370-xp-timer.txt | 27 |
1 files changed, 22 insertions, 5 deletions
diff --git a/Documentation/devicetree/bindings/timer/marvell,armada-370-xp-timer.txt b/Documentation/devicetree/bindings/timer/marvell,armada-370-xp-timer.txt index 36381129d141..4c453b22b2b4 100644 --- a/Documentation/devicetree/bindings/timer/marvell,armada-370-xp-timer.txt +++ b/Documentation/devicetree/bindings/timer/marvell,armada-370-xp-timer.txt | |||
@@ -2,14 +2,31 @@ Marvell Armada 370 and Armada XP Timers | |||
2 | --------------------------------------- | 2 | --------------------------------------- |
3 | 3 | ||
4 | Required properties: | 4 | Required properties: |
5 | - compatible: Should be "marvell,armada-370-xp-timer" | 5 | - compatible: Should be either "marvell,armada-370-timer" or |
6 | "marvell,armada-xp-timer" as appropriate. | ||
6 | - interrupts: Should contain the list of Global Timer interrupts and | 7 | - interrupts: Should contain the list of Global Timer interrupts and |
7 | then local timer interrupts | 8 | then local timer interrupts |
8 | - reg: Should contain location and length for timers register. First | 9 | - reg: Should contain location and length for timers register. First |
9 | pair for the Global Timer registers, second pair for the | 10 | pair for the Global Timer registers, second pair for the |
10 | local/private timers. | 11 | local/private timers. |
11 | - clocks: clock driving the timer hardware | 12 | - clocks: clock driving the timer hardware, only required for |
13 | "marvell,armada-370-timer"; | ||
12 | 14 | ||
13 | Optional properties: | 15 | Examples: |
14 | - marvell,timer-25Mhz: Tells whether the Global timer supports the 25 | 16 | |
15 | Mhz fixed mode (available on Armada XP and not on Armada 370) | 17 | - Armada 370: |
18 | |||
19 | timer { | ||
20 | compatible = "marvell,armada-370-timer"; | ||
21 | reg = <0x20300 0x30>, <0x21040 0x30>; | ||
22 | interrupts = <37>, <38>, <39>, <40>, <5>, <6>; | ||
23 | clocks = <&coreclk 2>; | ||
24 | }; | ||
25 | |||
26 | - Armada XP: | ||
27 | |||
28 | timer { | ||
29 | compatible = "marvell,armada-xp-timer"; | ||
30 | reg = <0x20300 0x30>, <0x21040 0x30>; | ||
31 | interrupts = <37>, <38>, <39>, <40>, <5>, <6>; | ||
32 | }; | ||