[PATCH v2 03/13] ARM: dts: imx6qdl-kontron-samx6i: fix board reset

Michael Walle posted 13 patches 1 year, 8 months ago
There is a newer version of this series
[PATCH v2 03/13] ARM: dts: imx6qdl-kontron-samx6i: fix board reset
Posted by Michael Walle 1 year, 8 months ago
On iMX.6 the board is reset by the watchdog. But in turn to do a
complete board reset, we have to assert the WDOG_B output which is
routed also to the CPLD which then do a complete power-cycle of the
board.

Fixes: 2125212785c9 ("ARM: dts: imx6qdl-kontron-samx6i: add Kontron SMARC SoM Support")
Signed-off-by: Michael Walle <mwalle@kernel.org>
---
 arch/arm/boot/dts/nxp/imx/imx6qdl-kontron-samx6i.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/nxp/imx/imx6qdl-kontron-samx6i.dtsi b/arch/arm/boot/dts/nxp/imx/imx6qdl-kontron-samx6i.dtsi
index d6c049b9a9c6..700780bf64f5 100644
--- a/arch/arm/boot/dts/nxp/imx/imx6qdl-kontron-samx6i.dtsi
+++ b/arch/arm/boot/dts/nxp/imx/imx6qdl-kontron-samx6i.dtsi
@@ -817,5 +817,6 @@ &wdog1 {
 	/* CPLD is feeded by watchdog (hardwired) */
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_wdog1>;
+	fsl,ext-reset-output;
 	status = "okay";
 };
-- 
2.39.2
Re: [PATCH v2 03/13] ARM: dts: imx6qdl-kontron-samx6i: fix board reset
Posted by Shawn Guo 1 year, 8 months ago
On Thu, Jun 06, 2024 at 11:01:56AM +0200, Michael Walle wrote:
> On iMX.6 the board is reset by the watchdog. But in turn to do a

s/iMX.6/i.MX6

Shawn

> complete board reset, we have to assert the WDOG_B output which is
> routed also to the CPLD which then do a complete power-cycle of the
> board.
> 
> Fixes: 2125212785c9 ("ARM: dts: imx6qdl-kontron-samx6i: add Kontron SMARC SoM Support")
> Signed-off-by: Michael Walle <mwalle@kernel.org>
> ---
>  arch/arm/boot/dts/nxp/imx/imx6qdl-kontron-samx6i.dtsi | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/boot/dts/nxp/imx/imx6qdl-kontron-samx6i.dtsi b/arch/arm/boot/dts/nxp/imx/imx6qdl-kontron-samx6i.dtsi
> index d6c049b9a9c6..700780bf64f5 100644
> --- a/arch/arm/boot/dts/nxp/imx/imx6qdl-kontron-samx6i.dtsi
> +++ b/arch/arm/boot/dts/nxp/imx/imx6qdl-kontron-samx6i.dtsi
> @@ -817,5 +817,6 @@ &wdog1 {
>  	/* CPLD is feeded by watchdog (hardwired) */
>  	pinctrl-names = "default";
>  	pinctrl-0 = <&pinctrl_wdog1>;
> +	fsl,ext-reset-output;
>  	status = "okay";
>  };
> -- 
> 2.39.2
>