Thread (1 message) 1 message, 1 author, 2014-08-28

[PATCH v2 6/6] ARM: dts: hix5hd2: add wdg node

From: Dinh Nguyen <hidden>
Date: 2014-08-28 09:21:43
Also in: linux-devicetree

Possibly related (same subject, not in this thread)


On 8/28/14, 12:34 AM, Zhangfei Gao wrote:
quoted hunk
Signed-off-by: Jiancheng Xue <redacted>
Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
---
 arch/arm/boot/dts/hisi-x5hd2.dtsi |    9 +++++++++
 1 file changed, 9 insertions(+)
diff --git a/arch/arm/boot/dts/hisi-x5hd2.dtsi b/arch/arm/boot/dts/hisi-x5hd2.dtsi
index 152f3ad..7b1cb53 100644
--- a/arch/arm/boot/dts/hisi-x5hd2.dtsi
+++ b/arch/arm/boot/dts/hisi-x5hd2.dtsi
@@ -365,6 +365,15 @@
 				#interrupt-cells = <2>;
 				status = "disabled";
 			};
+
+			wdg0: wdg at a2c000 {
A nit-pick here, but everybody else is using 'wdt' for a watchdog timer
node.
+				compatible = "arm,sp805", "arm,primecell";
I didn't see an entry for "arm,sp805" in Documentations, should there be
one?

Dinh
+				arm,primecell-periphid = <0x00141805>;
+				reg = <0xa2c000 0x1000>;
+				interrupts = <0 29 4>;
+				clocks = <&clock HIX5HD2_WDG0_RST>;
+				clock-names = "apb_pclk";
+                       };
 		};
 
 		local_timer at 00a00600 {
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help