Documentation: watchdog: at91sam9_wdt: add clocks property
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Wed, 29 Jul 2015 22:43:07 +0000 (00:43 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Fri, 7 Aug 2015 09:57:06 +0000 (11:57 +0200)
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>
Documentation/devicetree/bindings/watchdog/atmel-wdt.txt

index a4d869744f5958f7bd0311868ef3c7b1c3956386..86fa6de1019bdbfba3675efd6b4b02244c783809 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";