From: Tomer Maimon Date: Wed, 4 Apr 2018 11:10:57 +0000 (+0300) Subject: arm: dts: add watchdog device to NPCM750 device tree X-Git-Tag: v4.17-rc1~105^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1c4937eec91426014247b9ae8cb3f04935cd4865;p=thirdparty%2Fkernel%2Flinux.git arm: dts: add watchdog device to NPCM750 device tree 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 Signed-off-by: Arnd Bergmann --- diff --git a/arch/arm/boot/dts/nuvoton-npcm750-evb.dts b/arch/arm/boot/dts/nuvoton-npcm750-evb.dts index cabde3d5be8aa..4416dd6c7c176 100644 --- a/arch/arm/boot/dts/nuvoton-npcm750-evb.dts +++ b/arch/arm/boot/dts/nuvoton-npcm750-evb.dts @@ -18,6 +18,10 @@ }; }; +&watchdog1 { + status = "okay"; +}; + &serial0 { status = "okay"; }; diff --git a/arch/arm/boot/dts/nuvoton-npcm750.dtsi b/arch/arm/boot/dts/nuvoton-npcm750.dtsi index 839e45cfd695a..cacd0fde59144 100644 --- a/arch/arm/boot/dts/nuvoton-npcm750.dtsi +++ b/arch/arm/boot/dts/nuvoton-npcm750.dtsi @@ -125,6 +125,30 @@ clocks = <&clk 15>; }; + watchdog0: watchdog@801C { + compatible = "nuvoton,npcm750-wdt"; + interrupts = ; + reg = <0x801C 0x4>; + status = "disabled"; + clocks = <&clk 5>; + }; + + watchdog1: watchdog@901C { + compatible = "nuvoton,npcm750-wdt"; + interrupts = ; + reg = <0x901C 0x4>; + status = "disabled"; + clocks = <&clk 5>; + }; + + watchdog2: watchdog@a01C { + compatible = "nuvoton,npcm750-wdt"; + interrupts = ; + reg = <0xa01C 0x4>; + status = "disabled"; + clocks = <&clk 5>; + }; + serial0: serial@1000 { compatible = "ns16550a"; reg = <0x1000 0x1000>;