2012-06-10 21:20:06 +08:00
|
|
|
* Marvell Orion Watchdog Time
|
|
|
|
|
|
|
|
Required Properties:
|
|
|
|
|
|
|
|
- Compatibility : "marvell,orion-wdt"
|
2014-02-11 07:00:31 +08:00
|
|
|
"marvell,armada-370-wdt"
|
|
|
|
"marvell,armada-xp-wdt"
|
2014-03-16 02:18:04 +08:00
|
|
|
"marvell,armada-375-wdt"
|
|
|
|
"marvell,armada-380-wdt"
|
2014-02-11 07:00:31 +08:00
|
|
|
|
2014-02-11 07:00:25 +08:00
|
|
|
- reg : Should contain two entries: first one with the
|
|
|
|
timer control address, second one with the
|
|
|
|
rstout enable address.
|
2012-06-10 21:20:06 +08:00
|
|
|
|
2014-03-16 02:18:04 +08:00
|
|
|
For "marvell,armada-375-wdt" and "marvell,armada-380-wdt":
|
|
|
|
|
|
|
|
- reg : A third entry is mandatory and should contain the
|
|
|
|
shared mask/unmask RSTOUT address.
|
|
|
|
|
2014-11-04 21:21:32 +08:00
|
|
|
Clocks required for compatibles = "marvell,orion-wdt",
|
|
|
|
"marvell,armada-370-wdt":
|
|
|
|
- clocks : Must contain a single entry describing the clock input
|
|
|
|
|
|
|
|
Clocks required for compatibles = "marvell,armada-xp-wdt"
|
|
|
|
"marvell,armada-375-wdt"
|
|
|
|
"marvell,armada-380-wdt":
|
|
|
|
- clocks : Must contain an entry for each entry in clock-names.
|
|
|
|
- clock-names : Must include the following entries:
|
|
|
|
"nbclk" (L2/coherency fabric clock),
|
|
|
|
"fixed" (Reference 25 MHz fixed-clock).
|
|
|
|
|
2013-02-14 16:14:25 +08:00
|
|
|
Optional properties:
|
|
|
|
|
2014-02-11 07:00:24 +08:00
|
|
|
- interrupts : Contains the IRQ for watchdog expiration
|
2013-02-14 16:14:25 +08:00
|
|
|
- timeout-sec : Contains the watchdog timeout in seconds
|
|
|
|
|
2012-06-10 21:20:06 +08:00
|
|
|
Example:
|
|
|
|
|
|
|
|
wdt@20300 {
|
|
|
|
compatible = "marvell,orion-wdt";
|
2014-02-11 07:00:25 +08:00
|
|
|
reg = <0x20300 0x28>, <0x20108 0x4>;
|
2014-02-11 07:00:24 +08:00
|
|
|
interrupts = <3>;
|
2013-02-14 16:14:25 +08:00
|
|
|
timeout-sec = <10>;
|
2014-11-04 21:21:32 +08:00
|
|
|
clocks = <&gate_clk 7>;
|
2012-06-10 21:20:06 +08:00
|
|
|
};
|