From: Fabio Estevam Date: Mon, 15 Aug 2016 16:47:34 +0000 (-0300) Subject: ARM: dts: imx7s-warp: Use WDOG_B pin reset X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a7311c0c9a338d18f4a6d21dfad34c66053c9225;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git ARM: dts: imx7s-warp: Use WDOG_B pin reset 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 Signed-off-by: Shawn Guo --- diff --git a/arch/arm/boot/dts/imx7s-warp.dts b/arch/arm/boot/dts/imx7s-warp.dts index 4d4959c856a9..92d9c8570716 100644 --- a/arch/arm/boot/dts/imx7s-warp.dts +++ b/arch/arm/boot/dts/imx7s-warp.dts @@ -257,6 +257,13 @@ status = "okay"; }; +&wdog1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_wdog>; + fsl,ext-reset-output; + status = "okay"; +}; + &iomuxc { pinctrl_brcm_reg: brcmreggrp { fsl,pins = < @@ -354,4 +361,10 @@ MX7D_PAD_SD3_RESET_B__SD3_RESET_B 0x1b >; }; + + pinctrl_wdog: wdoggrp { + fsl,pins = < + MX7D_PAD_GPIO1_IO00__WDOD1_WDOG_B 0x74 + >; + }; };