]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add support to the imx5/6 watchdog for the external reset signal. Also, if
authorIan Lepore <ian@FreeBSD.org>
Fri, 26 Jan 2018 17:55:17 +0000 (17:55 +0000)
committerIan Lepore <ian@FreeBSD.org>
Fri, 26 Jan 2018 17:55:17 +0000 (17:55 +0000)
commit4dbbaf2021dd86d2c5e8bd83949ded4025e139ca
tree9b0c0806d15f972d3800ef27af2f238f3df0784b
parent30883627ed12591e7d9d9d99f2e0e7d3bddc84fb
Add support to the imx5/6 watchdog for the external reset signal.  Also, if
the "power down" watchdog used by the ROM boot code is still active when the
regular watchdog is activated, turn off the power-down watchdog.

This adds support for the "fsl,ext-reset-output" FDT property.  When
present, that property indicates that a chip reset is accomplished by
asserting the WDOG1_B external signal, which is supposed to trigger some
external component such as a PMIC to ready the hardware for reset (for
example, adjusting voltages from idle to full-power levels), and assert the
POR signal to SoC when ready.  To guard against misconfiguation leading to a
non-rebootable system, the external reset signal is backstopped by code
that asserts a normal internal chip reset if nothing responds to the
external reset signal within one second.
sys/arm/freescale/imx/imx_machdep.c
sys/arm/freescale/imx/imx_wdog.c