[3/3] arm64: dts: realtek: Add watchdog node for RTD1295

Message ID 20170828113532.32627-4-afaerber@suse.de
State New
Headers show
Series
  • arm64: Realtek RTD1295 watchdog
Related show

Commit Message

Andreas Färber Aug. 28, 2017, 11:35 a.m.
Add the watchdog node to the RTD1295 Device Tree.

Signed-off-by: Andreas Färber <afaerber@suse.de>
---
 Depends on the pending clock nodes patch.
 
 arch/arm64/boot/dts/realtek/rtd1295.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Rob Herring Sept. 1, 2017, 2:31 p.m. | #1
On Mon, Aug 28, 2017 at 01:35:31PM +0200, Andreas Färber wrote:
> Add the watchdog node to the RTD1295 Device Tree.
> 
> Signed-off-by: Andreas Färber <afaerber@suse.de>
> ---
>  Depends on the pending clock nodes patch.
>  
>  arch/arm64/boot/dts/realtek/rtd1295.dtsi | 6 ++++++
>  1 file changed, 6 insertions(+)

Acked-by: Rob Herring <robh@kernel.org>

Patch

diff --git a/arch/arm64/boot/dts/realtek/rtd1295.dtsi b/arch/arm64/boot/dts/realtek/rtd1295.dtsi
index fbbd6456079e..f39ab63f879d 100644
--- a/arch/arm64/boot/dts/realtek/rtd1295.dtsi
+++ b/arch/arm64/boot/dts/realtek/rtd1295.dtsi
@@ -123,6 +123,12 @@ 
 			#interrupt-cells = <1>;
 		};
 
+		watchdog@98007680 {
+			compatible = "realtek,rtd1295-watchdog";
+			reg = <0x98007680 0x100>;
+			clocks = <&osc27M>;
+		};
+
 		uart0: serial@98007800 {
 			compatible = "snps,dw-apb-uart";
 			reg = <0x98007800 0x400>;