Browse Source

ARM: dts: rockchip: add watchdog node

This adds the Designware compatible watchdog found on RK3xxx Cortex-A9 SoCs.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Heiko Stuebner 11 years ago
parent
commit
eb2b9d47dd

+ 4 - 0
arch/arm/boot/dts/rk3066a-bqcurie2.dts

@@ -188,3 +188,7 @@
 &uart3 {
 	status = "okay";
 };
+
+&wdt {
+	status = "okay";
+};

+ 4 - 0
arch/arm/boot/dts/rk3066a.dtsi

@@ -425,3 +425,7 @@
 	pinctrl-names = "default";
 	pinctrl-0 = <&uart3_xfer>;
 };
+
+&wdt {
+	compatible = "rockchip,rk3066-wdt", "snps,dw-wdt";
+};

+ 4 - 0
arch/arm/boot/dts/rk3188-radxarock.dts

@@ -221,3 +221,7 @@
 &uart3 {
 	status = "okay";
 };
+
+&wdt {
+	status = "okay";
+};

+ 4 - 0
arch/arm/boot/dts/rk3188.dtsi

@@ -400,3 +400,7 @@
 	pinctrl-names = "default";
 	pinctrl-0 = <&uart3_xfer>;
 };
+
+&wdt {
+	compatible = "rockchip,rk3188-wdt", "snps,dw-wdt";
+};

+ 8 - 0
arch/arm/boot/dts/rk3xxx.dtsi

@@ -174,6 +174,14 @@
 		status = "disabled";
 	};
 
+	wdt: watchdog@2004c000 {
+		compatible = "snps,dw-wdt";
+		reg = <0x2004c000 0x100>;
+		clocks = <&cru PCLK_WDT>;
+		interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>;
+		status = "disabled";
+	};
+
 	pwm2: pwm@20050020 {
 		compatible = "rockchip,rk2928-pwm";
 		reg = <0x20050020 0x10>;