2018-11-22 15:20:27

by Anson Huang

[permalink] [raw]
Subject: [PATCH] ARM: dts: imx6sll-evk: use WDOG_B pin reset

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 <[email protected]>
---
arch/arm/boot/dts/imx6sll-evk.dts | 12 ++++++++++++
1 file changed, 12 insertions(+)

diff --git a/arch/arm/boot/dts/imx6sll-evk.dts b/arch/arm/boot/dts/imx6sll-evk.dts
index 9c90cbd..d8ad2a2 100644
--- a/arch/arm/boot/dts/imx6sll-evk.dts
+++ b/arch/arm/boot/dts/imx6sll-evk.dts
@@ -313,6 +313,12 @@
status = "okay";
};

+&wdog1 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_wdog1>;
+ fsl,ext-reset-output;
+};
+
&iomuxc {
pinctrl_reg_sd3_vmmc: sd3vmmcgrp {
fsl,pins = <
@@ -478,4 +484,10 @@
MX6SLL_PAD_PWM1__PWM1_OUT 0x110b0
>;
};
+
+ pinctrl_wdog1: wdog1grp {
+ fsl,pins = <
+ MX6SLL_PAD_WDOG_B__WDOG1_B 0x170b0
+ >;
+ };
};
--
2.7.4



2018-11-28 08:25:23

by Shawn Guo

[permalink] [raw]
Subject: Re: [PATCH] ARM: dts: imx6sll-evk: use WDOG_B pin reset

On Thu, Nov 22, 2018 at 02:55:45AM +0000, Anson Huang wrote:
> 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 <[email protected]>

Applied, thanks.