Documentation: watchdog: at91sam9_wdt: add clocks property
The watchdog has an input clock, the slow clock. It is required as it will not function without it. Reviewed-by: Guenter Roeck <linux@roeck-us.net> Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
This commit is contained in:
parent
04600560a0
commit
d79e327aa5
|
@ -6,6 +6,7 @@ Required properties:
|
||||||
- compatible: must be "atmel,at91sam9260-wdt".
|
- compatible: must be "atmel,at91sam9260-wdt".
|
||||||
- reg: physical base address of the controller and length of memory mapped
|
- reg: physical base address of the controller and length of memory mapped
|
||||||
region.
|
region.
|
||||||
|
- clocks: phandle to input clock.
|
||||||
|
|
||||||
Optional properties:
|
Optional properties:
|
||||||
- timeout-sec: contains the watchdog timeout in seconds.
|
- timeout-sec: contains the watchdog timeout in seconds.
|
||||||
|
@ -39,6 +40,7 @@ Example:
|
||||||
compatible = "atmel,at91sam9260-wdt";
|
compatible = "atmel,at91sam9260-wdt";
|
||||||
reg = <0xfffffd40 0x10>;
|
reg = <0xfffffd40 0x10>;
|
||||||
interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
|
interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
|
||||||
|
clocks = <&clk32k>;
|
||||||
timeout-sec = <15>;
|
timeout-sec = <15>;
|
||||||
atmel,watchdog-type = "hardware";
|
atmel,watchdog-type = "hardware";
|
||||||
atmel,reset-type = "all";
|
atmel,reset-type = "all";
|
||||||
|
|
Loading…
Reference in New Issue