[PATCH] ARM: imx6: gw54xx: use wdog1 for barebox

Lucas Stach dev at lynxeye.de
Mon May 29 13:17:46 PDT 2017


As Barebox isn't changing the external PMIC power rails the internal
watchdog reset is fine for the Barebox reset purposes. Watchdog 2 is
only usable on boards with revision E or later, as this on is incapable
of executing an internal reset.

Signed-off-by: Lucas Stach <dev at lynxeye.de>
---
 arch/arm/dts/imx6q-gw54xx.dts | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/dts/imx6q-gw54xx.dts b/arch/arm/dts/imx6q-gw54xx.dts
index 8113542..ec0f363 100644
--- a/arch/arm/dts/imx6q-gw54xx.dts
+++ b/arch/arm/dts/imx6q-gw54xx.dts
@@ -22,3 +22,11 @@
 &sata {
 	status = "okay";
 };
+
+&wdog1 {
+	status = "okay";
+};
+
+&wdog2 {
+	status = "disabled";
+};
-- 
2.9.4




More information about the barebox mailing list