diff mbox series

[07/13] ARM: dts: imx7-mba7: configure watchdog

Message ID 20200918112942.1367-7-matthias.schiffer@ew.tq-group.com (mailing list archive)
State New, archived
Headers show
Series [01/13] dt-bindings: arm: fsl: update TQ-Systems SoMs and boards based on i.MX7 | expand

Commit Message

Matthias Schiffer Sept. 18, 2020, 11:29 a.m. UTC
The external watchdog reset is necessary, as the internal reset is
unreliable on i.MX7.

Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
---
 arch/arm/boot/dts/imx7-mba7.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)

Comments

Shawn Guo Oct. 28, 2020, 8:27 a.m. UTC | #1
On Fri, Sep 18, 2020 at 01:29:36PM +0200, Matthias Schiffer wrote:
> The external watchdog reset is necessary, as the internal reset is
> unreliable on i.MX7.
> 
> Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>

Applied, thanks.
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/imx7-mba7.dtsi b/arch/arm/boot/dts/imx7-mba7.dtsi
index 9be225bb135a..84b5809f384c 100644
--- a/arch/arm/boot/dts/imx7-mba7.dtsi
+++ b/arch/arm/boot/dts/imx7-mba7.dtsi
@@ -467,6 +467,12 @@ 
 			MX7D_PAD_LPSR_GPIO1_IO05__GPIO1_IO5	0x59
 		>;
 	};
+
+	pinctrl_wdog1: wdog1grp {
+		fsl,pins = <
+			MX7D_PAD_LPSR_GPIO1_IO00__WDOG1_WDOG_B	0x30
+		>;
+	};
 };
 
 &pwm1 {
@@ -543,3 +549,9 @@ 
 	no-1-8-v;
 	status = "okay";
 };
+
+&wdog1 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_wdog1>;
+	fsl,ext-reset-output;
+};