Add the watchdog timer node for the sam9x60 SoC's.

A default timeout of 16s is added which is the maximum supported value,
also matching Linux driver's behavior.

Signed-off-by: Zixun LI <ad...@hifiphile.com>
---
 arch/arm/dts/sam9x60.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/arm/dts/sam9x60.dtsi b/arch/arm/dts/sam9x60.dtsi
index 
7631dfaa07fc1e7c605c70840da1196c1daeb638..588d2cb9f5109396b11a11e497eac282dffb4fb0
 100644
--- a/arch/arm/dts/sam9x60.dtsi
+++ b/arch/arm/dts/sam9x60.dtsi
@@ -311,6 +311,15 @@
                                clocks = <&slow_rc_osc>, <&slow_xtal>;
                                #clock-cells = <1>;
                        };
+
+                       watchdog: watchdog@ffffff80 {
+                               compatible = "microchip,sam9x60-wdt";
+                               reg = <0xffffff80 0x24>;
+                               interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
+                               clocks = <&clk32 0>;
+                               timeout-sec = <16>;
+                               status = "disabled";
+                       };
                };
        };
 

-- 
2.49.0

Reply via email to