ARM: dts: imx7-mba7: configure watchdog
authorMatthias Schiffer <matthias.schiffer@ew.tq-group.com>
Fri, 18 Sep 2020 11:29:36 +0000 (13:29 +0200)
committerShawn Guo <shawnguo@kernel.org>
Wed, 28 Oct 2020 08:37:03 +0000 (16:37 +0800)
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>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx7-mba7.dtsi

index 9be225bb135a797a7e3441149eda280ff5928c1a..84b5809f384c4dab44759300b46e303d7d7a0d58 100644 (file)
                        MX7D_PAD_LPSR_GPIO1_IO05__GPIO1_IO5     0x59
                >;
        };
+
+       pinctrl_wdog1: wdog1grp {
+               fsl,pins = <
+                       MX7D_PAD_LPSR_GPIO1_IO00__WDOG1_WDOG_B  0x30
+               >;
+       };
 };
 
 &pwm1 {
        no-1-8-v;
        status = "okay";
 };
+
+&wdog1 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_wdog1>;
+       fsl,ext-reset-output;
+};