ARM: dts: imx6sll-evk: use WDOG_B pin reset
authorAnson Huang <anson.huang@nxp.com>
Thu, 22 Nov 2018 02:55:45 +0000 (02:55 +0000)
committerShawn Guo <shawnguo@kernel.org>
Mon, 10 Dec 2018 02:02:38 +0000 (10:02 +0800)
i.MX6SLL EVK board has WDOG_B pin connected to the PMIC;

Add the WDOG_B pinctrl entry and 'fsl,ext-reset-output'
property to wdog node to let watchdog trigger a system
POR reset via the PMIC.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6sll-evk.dts

index da6c5ea..d816370 100644 (file)
        status = "okay";
 };
 
+&wdog1 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_wdog1>;
+       fsl,ext-reset-output;
+};
+
 &iomuxc {
        pinctrl_reg_sd3_vmmc: sd3vmmcgrp {
                fsl,pins = <
                        MX6SLL_PAD_PWM1__PWM1_OUT   0x110b0
                >;
        };
+
+       pinctrl_wdog1: wdog1grp {
+               fsl,pins = <
+                       MX6SLL_PAD_WDOG_B__WDOG1_B   0x170b0
+               >;
+       };
 };