arm: dts: berlin2q: add watchdog nodes
authorJisheng Zhang <jszhang@marvell.com>
Mon, 16 Nov 2015 11:09:47 +0000 (19:09 +0800)
committerSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Sat, 28 Nov 2015 11:27:56 +0000 (12:27 +0100)
The Marvell Berlin BG2Q 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/arm/boot/dts/berlin2q.dtsi

index 155430a2d7474f4f98643e0b034cc14f8a80d3f7..4241a615a74faa150274c77c7034c436f88cb3ed 100644 (file)
                        ranges = <0 0xfc0000 0x10000>;
                        interrupt-parent = <&sic>;
 
+                       wdt0: watchdog@1000 {
+                               compatible = "snps,dw-wdt";
+                               reg = <0x1000 0x100>;
+                               clocks = <&refclk>;
+                               interrupts = <0>;
+                       };
+
+                       wdt1: watchdog@2000 {
+                               compatible = "snps,dw-wdt";
+                               reg = <0x2000 0x100>;
+                               clocks = <&refclk>;
+                               interrupts = <1>;
+                               status = "disabled";
+                       };
+
+                       wdt2: watchdog@3000 {
+                               compatible = "snps,dw-wdt";
+                               reg = <0x3000 0x100>;
+                               clocks = <&refclk>;
+                               interrupts = <2>;
+                               status = "disabled";
+                       };
+
                        sm_gpio1: gpio@5000 {
                                compatible = "snps,dw-apb-gpio";
                                reg = <0x5000 0x400>;