ARM: dts: imx6ul-pico-hobbit: Use WDOG_B pin reset
authorFabio Estevam <fabio.estevam@nxp.com>
Wed, 17 Aug 2016 01:46:42 +0000 (22:46 -0300)
committerShawn Guo <shawnguo@kernel.org>
Mon, 29 Aug 2016 01:53:52 +0000 (09:53 +0800)
imx6ul-pico 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 PMIC.

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

index 7b18dc4727a95b66594132f8b60eae6640e979a3..827d9e8fc74e778d987c9ca28322d06feddf47ad 100644 (file)
        status = "okay";
 };
 
+&wdog1 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_wdog>;
+       fsl,ext-reset-output;
+};
+
 &iomuxc {
        pinctrl_brcm_reg: brcmreggrp {
                fsl,pins = <
                        MX6UL_PAD_NAND_DATA03__USDHC2_DATA3     0x17059
                >;
        };
+
+       pinctrl_wdog: wdoggrp {
+               fsl,pins = <
+                       MX6UL_PAD_LCD_RESET__WDOG1_WDOG_ANY    0x30b0
+               >;
+       };
 };