]> git.karo-electronics.de Git - linux-beck.git/commitdiff
arm64: dts: berlin4ct: add watchdog nodes
authorJisheng Zhang <jszhang@marvell.com>
Mon, 16 Nov 2015 11:09:50 +0000 (19:09 +0800)
committerSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Sat, 28 Nov 2015 11:30:07 +0000 (12:30 +0100)
The Marvell Berlin BG4CT has 3 watchdogs which are compatible with the
snps,dw-wdt driver sit in the sysmgr domain. This patch adds the
corresponding device tree nodes.

Signed-off-by: Jisheng Zhang <jszhang@marvell.com>
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
arch/arm64/boot/dts/marvell/berlin4ct.dtsi

index a4a18764ae985613d09e76a2b4d47e21baceab17..a2d4e2dd3209c0260c20161020bd308d8798f36e 100644 (file)
                                interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
                        };
 
+                       wdt0: watchdog@3000 {
+                               compatible = "snps,dw-wdt";
+                               reg = <0x3000 0x100>;
+                               clocks = <&osc>;
+                               interrupts = <0>;
+                       };
+
+                       wdt1: watchdog@4000 {
+                               compatible = "snps,dw-wdt";
+                               reg = <0x4000 0x100>;
+                               clocks = <&osc>;
+                               interrupts = <1>;
+                               status = "disabled";
+                       };
+
+                       wdt2: watchdog@5000 {
+                               compatible = "snps,dw-wdt";
+                               reg = <0x5000 0x100>;
+                               clocks = <&osc>;
+                               interrupts = <2>;
+                               status = "disabled";
+                       };
+
                        sm_gpio0: gpio@8000 {
                                compatible = "snps,dw-apb-gpio";
                                reg = <0x8000 0x400>;