ARM: dts: imx7d-sdb: Use WDOG_B pin reset
authorFabio Estevam <fabio.estevam@nxp.com>
Tue, 14 Jun 2016 01:07:57 +0000 (22:07 -0300)
committerShawn Guo <shawnguo@kernel.org>
Thu, 16 Jun 2016 01:55:25 +0000 (09:55 +0800)
imx7d-sdb 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/imx7d-sdb.dts

index b267f79e30590bba28c50ab9daaaf887d4bb1d76..d6da5064ad980714c73ab36e0ebb79344f9d3bac 100644 (file)
        status = "okay";
 };
 
+&wdog1 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_wdog>;
+       fsl,ext-reset-output;
+};
+
 &iomuxc {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_hog>;
                        >;
                };
 
+               pinctrl_wdog: wdoggrp {
+                       fsl,pins = <
+                               MX7D_PAD_GPIO1_IO00__WDOD1_WDOG_B       0x74
+                       >;
+               };
        };
 };