[U-Boot] [PATCH 1/4] ARM: dts: dh-imx6: add wdt-reboot node for sysreset driver

Fabio Estevam festevam at gmail.com
Thu Nov 28 19:44:11 UTC 2019


Hi Robert,

On Thu, Nov 28, 2019 at 1:22 PM Robert Hancock <hancock at sedsystems.ca> wrote:

> I ended up needing to add this node for our board as well to be able to
> reset from U-Boot using DM. The watchdog itself is set up just from its
> own device tree entry, but there's nothing to tie the sysreset code into
> using the watchdog (and which one to use, since iMX has two of them)
> without that node being present.
>
> In Linux this works differently - the watchdog drivers that are capable
> of triggering an immediate reset will register themselves as a reset
> handler automatically so the system will try to use that functionality
> in order to reboot the system. To avoid the need for that explicit
> wdt-reboot node, something like this would need to be implemented in U-Boot.

Thanks for the clarification!


More information about the U-Boot mailing list