Documentation: watchdog: at91sam9_wdt: add clocks property
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Fri, 31 Jul 2015 09:39:39 +0000 (11:39 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Wed, 9 Sep 2015 19:34:46 +0000 (21:34 +0200)
The watchdog has an input clock, the slow clock. It is required as it will
not function without it.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Documentation/devicetree/bindings/watchdog/atmel-wdt.txt

index a4d8697..86fa6de 100644 (file)
@@ -6,6 +6,7 @@ Required properties:
 - compatible: must be "atmel,at91sam9260-wdt".
 - reg: physical base address of the controller and length of memory mapped
   region.
+- clocks: phandle to input clock.
 
 Optional properties:
 - timeout-sec: contains the watchdog timeout in seconds.
@@ -39,6 +40,7 @@ Example:
                compatible = "atmel,at91sam9260-wdt";
                reg = <0xfffffd40 0x10>;
                interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
+               clocks = <&clk32k>;
                timeout-sec = <15>;
                atmel,watchdog-type = "hardware";
                atmel,reset-type = "all";