ARM: dts: imx7s-warp: Use WDOG_B pin reset
authorFabio Estevam <fabio.estevam@nxp.com>
Mon, 15 Aug 2016 16:47:34 +0000 (13:47 -0300)
committerShawn Guo <shawnguo@kernel.org>
Wed, 17 Aug 2016 14:34:34 +0000 (22:34 +0800)
imx7s-warpd has WDOG1_B pin connected to the PMIC.

Pass the 'fsl,ext-reset-output' property so that the watchdog
can trigger a system POR reset via the PMIC.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx7s-warp.dts

index 4d4959c..92d9c85 100644 (file)
        status = "okay";
 };
 
+&wdog1 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_wdog>;
+       fsl,ext-reset-output;
+       status = "okay";
+};
+
 &iomuxc {
        pinctrl_brcm_reg: brcmreggrp {
                fsl,pins = <
                        MX7D_PAD_SD3_RESET_B__SD3_RESET_B       0x1b
                >;
        };
+
+       pinctrl_wdog: wdoggrp {
+               fsl,pins = <
+                       MX7D_PAD_GPIO1_IO00__WDOD1_WDOG_B       0x74
+               >;
+       };
 };