Skip to contentSkip to conversation

ARM: dts: vf610: enable watchdog for Cortex-A5 dt's

PATCH Applied Stefan Agner 2 participants 2 messages Nov 27, 2014 – Dec 2, 2014 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: vf610: enable watchdog for Cortex-A5 dt's

During restructuring of the device tree files the watchdog was changed to be disabled by default. However, since the watchdog instance is dedicated to the Cortex-A5, enable the peripheral by default in the base device tree vf500.dtsi.

---
 arch/arm/boot/dts/vf500.dtsi | 5 +++++
 arch/arm/boot/dts/vfxxx.dtsi | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)
arch/arm/boot/dts/vf500.dtsi +5 -0
index de67005..ea0f74f 100644
@@ -169,3 +169,8 @@
 &usbphy1 {
 	interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>;
 };
+
+&wdoga5 {
+	interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
+	status = "okay";
+};
arch/arm/boot/dts/vfxxx.dtsi +1 -1
index 505969a..7126468 100644
@@ -184,7 +184,7 @@
 				status = "disabled";
 			};
 
-			wdog at 4003e000 {
+			wdoga5: wdog at 4003e000 {
 				compatible = "fsl,vf610-wdt", "fsl,imx21-wdt";
 				reg = <0x4003e000 0x1000>;
 				clocks = <&clks VF610_CLK_WDT>;
Signature · 1 line
2.1.3
Applied
#1 lore raw
Quoted 6 lines · Stefan Agner

During restructuring of the device tree files the watchdog was changed to be disabled by default. However, since the watchdog instance is dedicated to the Cortex-A5, enable the peripheral by default in the base device tree vf500.dtsi.

Applied, thanks.