Skip to contentSkip to conversation

ARM: dts: sun9i: Add device node for watchdog

PATCH New Chen-Yu Tsai 2 participants 2 messages May 26, 2015 – May 27, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: sun9i: Add device node for watchdog

On A80 there are 2 watchdogs, one in the main block, and one in the R (special) block. We do not have information on the R block watchdog, other than the register layout is the same, and the interrupt number. Both are able to reset the whole system.

Add the main watchdog, in case the R block is used for special purposes like running an RTOS.

---
 arch/arm/boot/dts/sun9i-a80.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)
arch/arm/boot/dts/sun9i-a80.dtsi +6 -0
index ca272e92b85d..a43ad779ee2f 100644
@@ -565,6 +565,12 @@
 			clocks = <&osc24M>;
 		};
 
+		wdt: watchdog at 06000ca0 {
+			compatible = "allwinner,sun6i-a31-wdt";
+			reg = <0x06000ca0 0x20>;
+			interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
+		};
+
 		pio: pinctrl at 06000800 {
 			compatible = "allwinner,sun9i-a80-pinctrl";
 			reg = <0x06000800 0x400>;
Signature · 1 line
2.1.4
#1 lore raw

PATCH 1/1 ARM: dts: sun9i: Add device node for watchdog

Quoted 9 lines · Chen-Yu Tsai

On A80 there are 2 watchdogs, one in the main block, and one in the R (special) block. We do not have information on the R block watchdog, other than the register layout is the same, and the interrupt number. Both are able to reset the whole system.

Add the main watchdog, in case the R block is used for special purposes like running an RTOS.

Applied, thanks!

Maxime

Signature · 10 lines
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150527/1cb78a55/attachment-0001.sig>