Linux-libre 5.3.12-gnu
[librecmc/linux-libre.git] / Documentation / devicetree / bindings / watchdog / st,stm32-iwdg.txt
1 STM32 Independent WatchDoG (IWDG)
2 ---------------------------------
3
4 Required properties:
5 - compatible: Should be either:
6   - "st,stm32-iwdg"
7   - "st,stm32mp1-iwdg"
8 - reg: Physical base address and length of the registers set for the device
9 - clocks: Reference to the clock entry lsi. Additional pclk clock entry
10   is required only for st,stm32mp1-iwdg.
11 - clock-names: Name of the clocks used.
12   "lsi" for st,stm32-iwdg
13   "lsi", "pclk" for st,stm32mp1-iwdg
14
15 Optional Properties:
16 - timeout-sec: Watchdog timeout value in seconds.
17
18 Example:
19
20 iwdg: watchdog@40003000 {
21         compatible = "st,stm32-iwdg";
22         reg = <0x40003000 0x400>;
23         clocks = <&clk_lsi>;
24         clock-names = "lsi";
25         timeout-sec = <32>;
26 };