Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | Marvell Armada 370 and Armada XP Timers |
| 2 | --------------------------------------- |
| 3 | |
| 4 | Required properties: |
| 5 | - compatible: Should be one of the following |
| 6 | "marvell,armada-370-timer", |
| 7 | "marvell,armada-375-timer", |
| 8 | "marvell,armada-xp-timer". |
| 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. |
| 14 | |
| 15 | Clocks required for compatible = "marvell,armada-370-timer": |
| 16 | - clocks : Must contain a single entry describing the clock input |
| 17 | |
| 18 | Clocks required for compatibles = "marvell,armada-xp-timer", |
| 19 | "marvell,armada-375-timer": |
| 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). |
| 24 | |
| 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>; |
| 42 | clocks = <&coreclk 2>, <&refclk>; |
| 43 | clock-names = "nbclk", "fixed"; |
| 44 | }; |