diff mbox

[v2,3/3] arm: dts: rk322x: add watchdog device node.

Message ID 1495014746-27621-4-git-send-email-frank.wang@rock-chips.com (mailing list archive)
State New, archived
Headers show

Commit Message

Frank Wang May 17, 2017, 9:52 a.m. UTC
Add watchdog device node for rk322x SoC.

Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
---
 arch/arm/boot/dts/rk322x.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

Comments

Heiko Stuebner May 17, 2017, 5:33 p.m. UTC | #1
Am Mittwoch, 17. Mai 2017, 17:52:26 CEST schrieb Frank Wang:
> Add watchdog device node for rk322x SoC.
> 
> Signed-off-by: Frank Wang <frank.wang@rock-chips.com>

applied for 4.13, after fixing the subject up a bit (ARM: dts: rockchip: ...)


Thanks
Heiko
diff mbox

Patch

diff --git a/arch/arm/boot/dts/rk322x.dtsi b/arch/arm/boot/dts/rk322x.dtsi
index fe6530f..f7498b3 100644
--- a/arch/arm/boot/dts/rk322x.dtsi
+++ b/arch/arm/boot/dts/rk322x.dtsi
@@ -280,6 +280,14 @@ 
 		status = "disabled";
 	};
 
+	wdt: watchdog@110a0000 {
+		compatible = "snps,dw-wdt";
+		reg = <0x110a0000 0x100>;
+		clocks = <&cru PCLK_CPU>;
+		interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
+		status = "disabled";
+	};
+
 	pwm0: pwm@110b0000 {
 		compatible = "rockchip,rk3288-pwm";
 		reg = <0x110b0000 0x10>;