ARM: mvebu: Enable Armada 370/XP watchdog in the devicetree
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Mon, 10 Feb 2014 23:00:32 +0000 (20:00 -0300)
committerJason Cooper <jason@lakedaemon.net>
Mon, 17 Feb 2014 21:44:08 +0000 (21:44 +0000)
Add the DT nodes to enable watchdog support available in Armada 370
and Armada XP SoCs.

Tested-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/boot/dts/armada-370-xp.dtsi
arch/arm/boot/dts/armada-370.dtsi
arch/arm/boot/dts/armada-xp.dtsi

index 74b5964430ac3a7d833d8fce12eb655746acba4b..7bbc4ac997fbc971ceb2fdeabf2929be729d1679 100644 (file)
                                interrupts = <37>, <38>, <39>, <40>, <5>, <6>;
                        };
 
+                       watchdog@20300 {
+                               reg = <0x20300 0x34>, <0x20704 0x4>;
+                       };
+
                        usb@50000 {
                                compatible = "marvell,orion-ehci";
                                reg = <0x50000 0x500>;
index 6f216f0a78566017b897995b98f7f02ae8957b54..af1f11e9e5a011d526f64f8afaa60d000ef87542 100644 (file)
                                clocks = <&coreclk 2>;
                        };
 
+                       watchdog@20300 {
+                               compatible = "marvell,armada-370-wdt";
+                               clocks = <&coreclk 2>;
+                       };
+
                        audio_controller: audio-controller@30000 {
                                compatible = "marvell,armada370-audio";
                                reg = <0x30000 0x4000>;
index b8b84a22f0f3971b7013862821ecb0e2cfc237aa..abb9f9dcc525a6a7c1583e5f1f7c65d4ff29e485 100644 (file)
                                clock-names = "nbclk", "fixed";
                        };
 
+                       watchdog@20300 {
+                               compatible = "marvell,armada-xp-wdt";
+                               clocks = <&coreclk 2>, <&refclk>;
+                               clock-names = "nbclk", "fixed";
+                       };
+
                        armada-370-xp-pmsu@22000 {
                                compatible = "marvell,armada-370-xp-pmsu";
                                reg = <0x22100 0x400>, <0x20800 0x20>;