]>
Commit | Line | Data |
---|---|---|
1e7bad0f AL |
1 | * Marvell Orion Watchdog Time |
2 | ||
3 | Required Properties: | |
4 | ||
5 | - Compatibility : "marvell,orion-wdt" | |
463f96e0 EG |
6 | "marvell,armada-370-wdt" |
7 | "marvell,armada-xp-wdt" | |
ebc5e336 EG |
8 | "marvell,armada-375-wdt" |
9 | "marvell,armada-380-wdt" | |
463f96e0 | 10 | |
868eb616 EG |
11 | - reg : Should contain two entries: first one with the |
12 | timer control address, second one with the | |
13 | rstout enable address. | |
1e7bad0f | 14 | |
ebc5e336 EG |
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 | ||
8067042a EG |
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 | ||
c1fd5f64 FP |
32 | Optional properties: |
33 | ||
e97662e1 | 34 | - interrupts : Contains the IRQ for watchdog expiration |
c1fd5f64 FP |
35 | - timeout-sec : Contains the watchdog timeout in seconds |
36 | ||
1e7bad0f AL |
37 | Example: |
38 | ||
39 | wdt@20300 { | |
40 | compatible = "marvell,orion-wdt"; | |
868eb616 | 41 | reg = <0x20300 0x28>, <0x20108 0x4>; |
e97662e1 | 42 | interrupts = <3>; |
c1fd5f64 | 43 | timeout-sec = <10>; |
1e7bad0f | 44 | status = "okay"; |
8067042a | 45 | clocks = <&gate_clk 7>; |
1e7bad0f | 46 | }; |