]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: dts: mvebu: armada-39x: enable watchdog for all Armada-39x SoCs
authorGrzegorz Jaszczyk <jaz@semihalf.com>
Thu, 4 Aug 2016 10:14:12 +0000 (12:14 +0200)
committerGregory CLEMENT <gregory.clement@free-electrons.com>
Mon, 8 Aug 2016 14:28:53 +0000 (16:28 +0200)
The whole Armada 39x SoC family of processors has watchdog which can be
supported with existing driver.

Signed-off-by: Grzegorz Jaszczyk <jaz@semihalf.com>
Reviewed-by: Lior Amsalem <alior@marvell.com>
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
arch/arm/boot/dts/armada-39x.dtsi

index 54df09f97595d6ac06e9ac96f71cc9d9e768bae1..785f661ee61077edf5a68fa073b637a0b8206bc6 100644 (file)
                                clock-names = "nbclk", "fixed";
                        };
 
+                       watchdog@20300 {
+                               compatible = "marvell,armada-380-wdt";
+                               reg = <0x20300 0x34>, <0x20704 0x4>,
+                                     <0x18260 0x4>;
+                               clocks = <&coreclk 2>, <&refclk>;
+                               clock-names = "nbclk", "fixed";
+                       };
+
                        cpurst@20800 {
                                compatible = "marvell,armada-370-cpu-reset";
                                reg = <0x20800 0x10>;
                        #clock-cells = <0>;
                        clock-frequency = <1000000000>;
                };
+
+               /* 25 MHz reference crystal */
+               refclk: oscillator {
+                       compatible = "fixed-clock";
+                       #clock-cells = <0>;
+                       clock-frequency = <25000000>;
+               };
        };
 };