arm64: dts: marvell: armada-37xx: add nodes to support watchdog
authorMarek Behún <marek.behun@nic.cz>
Mon, 24 Sep 2018 11:06:54 +0000 (13:06 +0200)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Fri, 28 Sep 2018 08:00:17 +0000 (10:00 +0200)
This adds the system controller node for CPU Miscellaneous Registers
(which is needed for the watchdog node) and the watchdog node.

Signed-off-by: Marek Behún <marek.behun@nic.cz>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
arch/arm64/boot/dts/marvell/armada-37xx.dtsi

index d9531e242eb4c859545dad19d4bbb6c12e1c3a66..f5eaec531aa8ff7448aeb89c89f1c2fa6ceede63 100644 (file)
                        /* 32M internal register @ 0xd000_0000 */
                        ranges = <0x0 0x0 0xd0000000 0x2000000>;
 
+                       wdt: watchdog@8300 {
+                               compatible = "marvell,armada-3700-wdt";
+                               reg = <0x8300 0x40>;
+                               marvell,system-controller = <&cpu_misc>;
+                               clocks = <&xtalclk>;
+                       };
+
+                       cpu_misc: system-controller@d000 {
+                               compatible = "marvell,armada-3700-cpu-misc",
+                                            "syscon";
+                               reg = <0xd000 0x1000>;
+                       };
+
                        spi0: spi@10600 {
                                compatible = "marvell,armada-3700-spi";
                                #address-cells = <1>;