forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
watchdog: dw: Enable OF support for DW watchdog timer
Add device tree support to the DW watchdog timer. Signed-off-by: Dinh Nguyen <[email protected]> Acked-by: Jamie Iles <[email protected]> Acked-by: Mark Rutland <[email protected]> Reviewed-by: Pavel Machek <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]> Cc: Viresh Kumar <[email protected]> Cc: Rob Herring <[email protected]> Cc: Pawel Moll <[email protected]> Cc: Stephen Warren <[email protected]> Cc: Ian Campbell <[email protected]> Cc: [email protected] Cc: [email protected]
- Loading branch information
Dinh Nguyen
authored and
Wim Van Sebroeck
committed
Nov 17, 2013
1 parent
487722c
commit 58e5637
Showing
2 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
Synopsys Designware Watchdog Timer | ||
|
||
Required Properties: | ||
|
||
- compatible : Should contain "snps,dw-wdt" | ||
- reg : Base address and size of the watchdog timer registers. | ||
- clocks : phandle + clock-specifier for the clock that drives the | ||
watchdog timer. | ||
|
||
Optional Properties: | ||
|
||
- interrupts : The interrupt used for the watchdog timeout warning. | ||
|
||
Example: | ||
|
||
watchdog0: wd@ffd02000 { | ||
compatible = "snps,dw-wdt"; | ||
reg = <0xffd02000 0x1000>; | ||
interrupts = <0 171 4>; | ||
clocks = <&per_base_clk>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters