arm: dts: add watchdog device to NPCM750 device tree
authorTomer Maimon <tmaimon77@gmail.com>
Wed, 4 Apr 2018 11:10:57 +0000 (14:10 +0300)
committerArnd Bergmann <arnd@arndb.de>
Thu, 5 Apr 2018 09:12:40 +0000 (11:12 +0200)
Add watchdog device node to a common device tree for all Nuvoton
NPCM750 BMCs and a board specific device tree for the NPCM750 (Poleg)
evaluation board.

Signed-off-by: Tomer Maimon <tmaimon77@gmail.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/boot/dts/nuvoton-npcm750-evb.dts
arch/arm/boot/dts/nuvoton-npcm750.dtsi

index cabde3d5be8aaa0ed1f4d575035d8210a1208f97..4416dd6c7c176bcb984a1d19d301cc7404255e20 100644 (file)
        };
 };
 
+&watchdog1 {
+       status = "okay";
+};
+
 &serial0 {
        status = "okay";
 };
index 839e45cfd695abfa87d2191009b13e1f0ce690e8..cacd0fde59144d79dd4f6f2249c426c564988f69 100644 (file)
                                clocks = <&clk 15>;
                        };
 
+                       watchdog0: watchdog@801C {
+                               compatible = "nuvoton,npcm750-wdt";
+                               interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>;
+                               reg = <0x801C 0x4>;
+                               status = "disabled";
+                               clocks = <&clk 5>;
+                       };
+
+                       watchdog1: watchdog@901C {
+                               compatible = "nuvoton,npcm750-wdt";
+                               interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
+                               reg = <0x901C 0x4>;
+                               status = "disabled";
+                               clocks = <&clk 5>;
+                       };
+
+                       watchdog2: watchdog@a01C {
+                               compatible = "nuvoton,npcm750-wdt";
+                               interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
+                               reg = <0xa01C 0x4>;
+                               status = "disabled";
+                               clocks = <&clk 5>;
+                       };
+
                        serial0: serial@1000 {
                                compatible = "ns16550a";
                                reg = <0x1000 0x1000>;