]> git.karo-electronics.de Git - linux-beck.git/commitdiff
devicetree: watchdog: add binding for Sigma Designs SMP8642 watchdog
authorMans Rullgard <mans@mansr.com>
Wed, 18 Nov 2015 17:55:42 +0000 (17:55 +0000)
committerWim Van Sebroeck <wim@iguana.be>
Mon, 28 Dec 2015 22:03:55 +0000 (23:03 +0100)
This adds a binding for the watchdog in Sigma Designs SMP8642 and
similar devices.

Signed-off-by: Mans Rullgard <mans@mansr.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Documentation/devicetree/bindings/watchdog/sigma,smp8642-wdt.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/watchdog/sigma,smp8642-wdt.txt b/Documentation/devicetree/bindings/watchdog/sigma,smp8642-wdt.txt
new file mode 100644 (file)
index 0000000..5b7ec2c
--- /dev/null
@@ -0,0 +1,18 @@
+Sigma Designs SMP86xx/SMP87xx watchdog
+
+Required properties:
+- compatible: Should be "sigma,smp8642-wdt"
+- reg: Specifies the physical address region
+- clocks: Should be a phandle to the clock
+
+Optional properties:
+- timeout-sec: watchdog timeout in seconds
+
+Example:
+
+watchdog@1fd00 {
+       compatible = "sigma,smp8642-wdt";
+       reg = <0x1fd00 8>;
+       clocks = <&xtal_in_clk>;
+       timeout-sec = <30>;
+};