提交 e454652e 编写于 作者: L Ludovic Barre 提交者: Wim Van Sebroeck

dt-bindings: watchdog: add stm32mp1 support

This patch adds support of stm32mp1.
stm32mp1 requires 2 clocks lsi and pclk.
Signed-off-by: NLudovic Barre <ludovic.barre@st.com>
Reviewed-by: NRob Herring <robh@kernel.org>
Reviewed-by: Guenter Roeck Linux@roeck-us.net>
Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
Signed-off-by: NWim Van Sebroeck <wim@linux-watchdog.org>
上级 9b255782
...@@ -2,9 +2,15 @@ STM32 Independent WatchDoG (IWDG) ...@@ -2,9 +2,15 @@ STM32 Independent WatchDoG (IWDG)
--------------------------------- ---------------------------------
Required properties: Required properties:
- compatible: "st,stm32-iwdg" - compatible: Should be either:
- reg: physical base address and length of the registers set for the device - "st,stm32-iwdg"
- clocks: must contain a single entry describing the clock input - "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: Optional Properties:
- timeout-sec: Watchdog timeout value in seconds. - timeout-sec: Watchdog timeout value in seconds.
...@@ -15,5 +21,6 @@ iwdg: watchdog@40003000 { ...@@ -15,5 +21,6 @@ iwdg: watchdog@40003000 {
compatible = "st,stm32-iwdg"; compatible = "st,stm32-iwdg";
reg = <0x40003000 0x400>; reg = <0x40003000 0x400>;
clocks = <&clk_lsi>; clocks = <&clk_lsi>;
clock-names = "lsi";
timeout-sec = <32>; timeout-sec = <32>;
}; };
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册