Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | * Marvell Orion Watchdog Time |
| 2 | |
| 3 | Required Properties: |
| 4 | |
| 5 | - Compatibility : "marvell,orion-wdt" |
| 6 | "marvell,armada-370-wdt" |
| 7 | "marvell,armada-xp-wdt" |
| 8 | "marvell,armada-375-wdt" |
| 9 | "marvell,armada-380-wdt" |
| 10 | |
| 11 | - reg : Should contain two entries: first one with the |
| 12 | timer control address, second one with the |
| 13 | rstout enable address. |
| 14 | |
| 15 | For "marvell,armada-375-wdt" and "marvell,armada-380-wdt": |
| 16 | |
| 17 | - reg : A third entry is mandatory and should contain the |
| 18 | shared mask/unmask RSTOUT address. |
| 19 | |
| 20 | Clocks required for compatibles = "marvell,orion-wdt", |
| 21 | "marvell,armada-370-wdt": |
| 22 | - clocks : Must contain a single entry describing the clock input |
| 23 | |
| 24 | Clocks required for compatibles = "marvell,armada-xp-wdt" |
| 25 | "marvell,armada-375-wdt" |
| 26 | "marvell,armada-380-wdt": |
| 27 | - clocks : Must contain an entry for each entry in clock-names. |
| 28 | - clock-names : Must include the following entries: |
| 29 | "nbclk" (L2/coherency fabric clock), |
| 30 | "fixed" (Reference 25 MHz fixed-clock). |
| 31 | |
| 32 | Optional properties: |
| 33 | |
| 34 | - interrupts : Contains the IRQ for watchdog expiration |
| 35 | - timeout-sec : Contains the watchdog timeout in seconds |
| 36 | |
| 37 | Example: |
| 38 | |
| 39 | wdt@20300 { |
| 40 | compatible = "marvell,orion-wdt"; |
| 41 | reg = <0x20300 0x28>, <0x20108 0x4>; |
| 42 | interrupts = <3>; |
| 43 | timeout-sec = <10>; |
| 44 | clocks = <&gate_clk 7>; |
| 45 | }; |