dt-bindings: watchdog: Document STM32 IWDG bindings
authorYannick Fertre <yannick.fertre@st.com>
Thu, 6 Apr 2017 12:19:24 +0000 (14:19 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Mon, 5 Jun 2017 18:39:58 +0000 (20:39 +0200)
This adds documentation of device tree bindings for the STM32 IWDG
(Independent WatchDoG).

Signed-off-by: Yannick Fertre <yannick.fertre@st.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Documentation/devicetree/bindings/watchdog/st,stm32-iwdg.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/watchdog/st,stm32-iwdg.txt b/Documentation/devicetree/bindings/watchdog/st,stm32-iwdg.txt
new file mode 100644 (file)
index 0000000..cc13b10
--- /dev/null
@@ -0,0 +1,19 @@
+STM32 Independent WatchDoG (IWDG)
+---------------------------------
+
+Required properties:
+- compatible: "st,stm32-iwdg"
+- reg: physical base address and length of the registers set for the device
+- clocks: must contain a single entry describing the clock input
+
+Optional Properties:
+- timeout-sec: Watchdog timeout value in seconds.
+
+Example:
+
+iwdg: watchdog@40003000 {
+       compatible = "st,stm32-iwdg";
+       reg = <0x40003000 0x400>;
+       clocks = <&clk_lsi>;
+       timeout-sec = <32>;
+};