From: Yannick Fertre Date: Thu, 6 Apr 2017 12:19:24 +0000 (+0200) Subject: dt-bindings: watchdog: Document STM32 IWDG bindings X-Git-Tag: v4.13-rc1~59^2~20 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5df11427b2d20ac1f4fdd1bcb6319743a4b6797e;p=karo-tx-linux.git dt-bindings: watchdog: Document STM32 IWDG bindings This adds documentation of device tree bindings for the STM32 IWDG (Independent WatchDoG). Signed-off-by: Yannick Fertre Acked-by: Rob Herring Signed-off-by: Guenter Roeck Signed-off-by: Wim Van Sebroeck --- diff --git a/Documentation/devicetree/bindings/watchdog/st,stm32-iwdg.txt b/Documentation/devicetree/bindings/watchdog/st,stm32-iwdg.txt new file mode 100644 index 000000000000..cc13b10a3f82 --- /dev/null +++ b/Documentation/devicetree/bindings/watchdog/st,stm32-iwdg.txt @@ -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>; +};