mirror of
https://github.com/torvalds/linux.git
synced 2024-12-23 11:21:33 +00:00
e454652eb2
This patch adds support of stm32mp1. stm32mp1 requires 2 clocks lsi and pclk. Signed-off-by: Ludovic Barre <ludovic.barre@st.com> Reviewed-by: Rob Herring <robh@kernel.org> Reviewed-by: Guenter Roeck Linux@roeck-us.net> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
27 lines
692 B
Plaintext
27 lines
692 B
Plaintext
STM32 Independent WatchDoG (IWDG)
|
|
---------------------------------
|
|
|
|
Required properties:
|
|
- compatible: Should be either:
|
|
- "st,stm32-iwdg"
|
|
- "st,stm32mp1-iwdg"
|
|
- reg: Physical base address and length of the registers set for the device
|
|
- clocks: Reference to the clock entry lsi. Additional pclk clock entry
|
|
is required only for st,stm32mp1-iwdg.
|
|
- clock-names: Name of the clocks used.
|
|
"lsi" for st,stm32-iwdg
|
|
"lsi", "pclk" for st,stm32mp1-iwdg
|
|
|
|
Optional Properties:
|
|
- timeout-sec: Watchdog timeout value in seconds.
|
|
|
|
Example:
|
|
|
|
iwdg: watchdog@40003000 {
|
|
compatible = "st,stm32-iwdg";
|
|
reg = <0x40003000 0x400>;
|
|
clocks = <&clk_lsi>;
|
|
clock-names = "lsi";
|
|
timeout-sec = <32>;
|
|
};
|