diff options
author | Yannick Fertre <yannick.fertre@st.com> | 2017-04-06 14:19:24 +0200 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2017-06-05 20:39:58 +0200 |
commit | 5df11427b2d20ac1f4fdd1bcb6319743a4b6797e (patch) | |
tree | f27010ec15bbf9275e589669201de769c04477b6 /Documentation/devicetree | |
parent | Documentation: devicetree: watchdog: da9062/61 watchdog timer binding (diff) | |
download | linux-5df11427b2d20ac1f4fdd1bcb6319743a4b6797e.tar.xz linux-5df11427b2d20ac1f4fdd1bcb6319743a4b6797e.zip |
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 <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>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r-- | Documentation/devicetree/bindings/watchdog/st,stm32-iwdg.txt | 19 |
1 files changed, 19 insertions, 0 deletions
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>; +}; |