Skip to contentSkip to conversation

ARM: imx6q-sabrelite.dts: Add watchdog support

PATCH New Fabio Estevam 3 participants 5 messages Jul 2, 2012 – Jul 3, 2012

Subsystems (2)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/2 ARM: imx6q-sabrelite.dts: Add watchdog support

From: Fabio Estevam <[email protected]>

Add watchdog support.

---
 arch/arm/boot/dts/imx6q-sabrelite.dts |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
arch/arm/boot/dts/imx6q-sabrelite.dts +3 -0
index e0ec929..99581a0 100644
@@ -42,6 +42,9 @@
 				};
 			};
 
+			wdog at 020bc000 { /* WDOG1 */
+				status = "okay";
+			};
 		};
 
 		aips-bus at 02100000 { /* AIPS2 */
Signature · 1 line
1.7.1
author reviewer
#1 lore raw

PATCH 2/2 ARM: imx6q-sabresd.dts: Add watchdog support

From: Fabio Estevam <[email protected]>

Add watchdog support.

---
 arch/arm/boot/dts/imx6q-sabresd.dts |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
arch/arm/boot/dts/imx6q-sabresd.dts +4 -0
index 07509a1..f3002d2 100644
@@ -29,6 +29,10 @@
 					status = "okay";
 				};
 			};
+
+			wdog at 020bc000 { /* WDOG1 */
+				status = "okay";
+			};
 		};
 
 		aips-bus at 02100000 { /* AIPS2 */
Signature · 1 line
1.7.1
#2 lore raw

PATCH 1/2 ARM: imx6q-sabrelite.dts: Add watchdog support

In reply to Fabio Estevam
Quoted 14 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

Add watchdog support.

---
 arch/arm/boot/dts/imx6q-sabrelite.dts |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
arch/arm/boot/dts/imx6q-sabrelite.dts +0 -0
index e0ec929..99581a0 100644

arch/arm/boot/dts/imx6q-sabrelite.dts line 47

Quoted 6 lines
arch/arm/boot/dts/imx6q-sabrelite.dts +3 -0
@@ -42,6 +42,9 @@
 				};
 			};
 
+			wdog at 020bc000 { /* WDOG1 */
+				status = "okay";
+			};

I'm wondering if it makes more sense to have wdog, rtc, such completely soc internal stuff always enabled in <soc>.dtsi.

Quoted 6 lines
arch/arm/boot/dts/imx6q-sabrelite.dts +0 -0
 		};
 
 		aips-bus at 02100000 { /* AIPS2 */
Signature · 1 line
1.7.1
Signature · 2 lines
Regards,
Shawn
maintainer
#3 lore raw

PATCH 1/2 ARM: imx6q-sabrelite.dts: Add watchdog support

Quoted 18 lines · Shawn Guo
Quoted 17 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

Add watchdog support.

---
 arch/arm/boot/dts/imx6q-sabrelite.dts |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
arch/arm/boot/dts/imx6q-sabrelite.dts +0 -0
index e0ec929..99581a0 100644
@@ -42,6 +42,9 @@
 				};
 			};
 
Quoted 6 lines

arch/arm/boot/dts/imx6q-sabrelite.dts line 47

Quoted 3 lines
arch/arm/boot/dts/imx6q-sabrelite.dts +3 -0
+			wdog at 020bc000 { /* WDOG1 */
+				status = "okay";
+			};

I'm wondering if it makes more sense to have wdog, rtc, such completely soc internal stuff always enabled in <soc>.dtsi.

+1 for the watchdog

I'm not so sure about the rtc though, since one important component of the RTC is not completely internal to the SoC: the battery.

Sascha

Signature · 4 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
#4 lore raw

PATCH 1/2 ARM: imx6q-sabrelite.dts: Add watchdog support

Quoted 3 lines · Sascha Hauer

I'm not so sure about the rtc though, since one important component of the RTC is not completely internal to the SoC: the battery.

Yes, that the case, practically. But technically, even without battery, RTC can also be useful for a system if only warm reset will be performed.

Regards,
Shawn