ARM: dts: imx6qdl-sabresd: Use WDOG_B pin reset
authorFabio Estevam <fabio.estevam@nxp.com>
Tue, 14 Jun 2016 01:07:56 +0000 (22:07 -0300)
committerShawn Guo <shawnguo@kernel.org>
Thu, 16 Jun 2016 01:54:47 +0000 (09:54 +0800)
imx6qdl-sabresd has WDOG2_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/imx6qdl-sabresd.dtsi

index bea707f..d77ea94 100644 (file)
                                MX6QDL_PAD_SD4_DAT7__SD4_DATA7          0x17059
                        >;
                };
+
+               pinctrl_wdog: wdoggrp {
+                       fsl,pins = <
+                               MX6QDL_PAD_GPIO_1__WDOG2_B              0x1b0b0
+                       >;
+               };
        };
 
        gpio_leds {
        no-1-8-v;
        status = "okay";
 };
+
+&wdog1 {
+       status = "disabled";
+};
+
+&wdog2 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_wdog>;
+       fsl,ext-reset-output;
+       status = "okay";
+};