mirror of
https://github.com/torvalds/linux.git
synced 2024-12-26 04:42:12 +00:00
58e5637333
Add device tree support to the DW watchdog timer. Signed-off-by: Dinh Nguyen <dinguyen@altera.com> Acked-by: Jamie Iles <jamie@jamieiles.com> Acked-by: Mark Rutland <mark.rutland@arm.com> Reviewed-by: Pavel Machek <pavel@denx.de> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@iguana.be> Cc: Viresh Kumar <viresh.linux@gmail.com> Cc: Rob Herring <rob.herring@calxeda.com> Cc: Pawel Moll <pawel.moll@arm.com> Cc: Stephen Warren <swarren@wwwdotorg.org> Cc: Ian Campbell <ijc+devicetree@hellion.org.uk> Cc: devicetree@vger.kernel.org Cc: linux-watchdog@vger.kernel.org
22 lines
496 B
Plaintext
22 lines
496 B
Plaintext
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>;
|
|
};
|