Gregory CLEMENT | 37dd395 | 2013-01-25 18:32:45 +0100 | [diff] [blame] | 1 | Marvell Armada 370 and Armada XP Timers |
| 2 | --------------------------------------- |
| 3 | |
| 4 | Required properties: |
Ezequiel Garcia | 4a22d9c | 2014-11-04 10:21:33 -0300 | [diff] [blame] | 5 | - compatible: Should be one of the following |
| 6 | "marvell,armada-370-timer", |
| 7 | "marvell,armada-375-timer", |
| 8 | "marvell,armada-xp-timer". |
Gregory CLEMENT | 37dd395 | 2013-01-25 18:32:45 +0100 | [diff] [blame] | 9 | - interrupts: Should contain the list of Global Timer interrupts and |
| 10 | then local timer interrupts |
| 11 | - reg: Should contain location and length for timers register. First |
| 12 | pair for the Global Timer registers, second pair for the |
| 13 | local/private timers. |
Ezequiel Garcia | 63ce2cc | 2013-08-20 12:45:54 -0300 | [diff] [blame] | 14 | |
| 15 | Clocks required for compatible = "marvell,armada-370-timer": |
| 16 | - clocks : Must contain a single entry describing the clock input |
| 17 | |
Ezequiel Garcia | 4a22d9c | 2014-11-04 10:21:33 -0300 | [diff] [blame] | 18 | Clocks required for compatibles = "marvell,armada-xp-timer", |
| 19 | "marvell,armada-375-timer": |
Ezequiel Garcia | 63ce2cc | 2013-08-20 12:45:54 -0300 | [diff] [blame] | 20 | - clocks : Must contain an entry for each entry in clock-names. |
| 21 | - clock-names : Must include the following entries: |
| 22 | "nbclk" (L2/coherency fabric clock), |
| 23 | "fixed" (Reference 25 MHz fixed-clock). |
Gregory CLEMENT | 37dd395 | 2013-01-25 18:32:45 +0100 | [diff] [blame] | 24 | |
Ezequiel Garcia | 8ad31e6 | 2013-08-13 11:43:14 -0300 | [diff] [blame] | 25 | Examples: |
| 26 | |
| 27 | - Armada 370: |
| 28 | |
| 29 | timer { |
| 30 | compatible = "marvell,armada-370-timer"; |
| 31 | reg = <0x20300 0x30>, <0x21040 0x30>; |
| 32 | interrupts = <37>, <38>, <39>, <40>, <5>, <6>; |
| 33 | clocks = <&coreclk 2>; |
| 34 | }; |
| 35 | |
| 36 | - Armada XP: |
| 37 | |
| 38 | timer { |
| 39 | compatible = "marvell,armada-xp-timer"; |
| 40 | reg = <0x20300 0x30>, <0x21040 0x30>; |
| 41 | interrupts = <37>, <38>, <39>, <40>, <5>, <6>; |
Ezequiel Garcia | 63ce2cc | 2013-08-20 12:45:54 -0300 | [diff] [blame] | 42 | clocks = <&coreclk 2>, <&refclk>; |
| 43 | clock-names = "nbclk", "fixed"; |
Ezequiel Garcia | 8ad31e6 | 2013-08-13 11:43:14 -0300 | [diff] [blame] | 44 | }; |