ARM: dts: stm32: Add watchdog support for STM32F429 SoC
authorYannick Fertre <yannick.fertre@st.com>
Thu, 6 Apr 2017 12:19:00 +0000 (14:19 +0200)
committerAlexandre TORGUE <alexandre.torgue@st.com>
Wed, 7 Jun 2017 13:35:46 +0000 (15:35 +0200)
Add watchdog into DT for stm32f429 family.

Signed-off-by: Yannick FERTRE <yannick.fertre@st.com>
Signed-off-by: Alexandre TORGUE <alexandre.torgue@st.com>
arch/arm/boot/dts/stm32f429.dtsi

index a7b4b94..936db6b 100644 (file)
@@ -65,7 +65,7 @@
                        clock-frequency = <32768>;
                };
 
-               clk-lsi {
+               clk_lsi: clk-lsi {
                        #clock-cells = <0>;
                        compatible = "fixed-clock";
                        clock-frequency = <32000>;
                        status = "disabled";
                };
 
+               iwdg: watchdog@40003000 {
+                       compatible = "st,stm32-iwdg";
+                       reg = <0x40003000 0x400>;
+                       clocks = <&clk_lsi>;
+                       status = "disabled";
+               };
+
                usart2: serial@40004400 {
                        compatible = "st,stm32-usart", "st,stm32-uart";
                        reg = <0x40004400 0x400>;