diff options
author | Lukasz Majewski <lukma@denx.de> | 2019-09-03 16:38:45 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2019-10-08 16:35:59 +0200 |
commit | d5354f59d072210b469f099c8ee313e0f17c28e6 (patch) | |
tree | 997a4fd3cdc63e96ae126154789f418bc32f7e0c /arch/arm/dts/imx6q-display5-u-boot.dtsi | |
parent | 1743d6676d2cc50948f7227916d559677e31b546 (diff) | |
download | u-boot-d5354f59d072210b469f099c8ee313e0f17c28e6.tar.gz |
DM: WDT: Convert WDT driver to use DM/DTS (including SYSRESET)
This commit enables support for CONFIG_WDT in the U-Boot proper. Moreover,
the SYSRESET_WATCHDOG driver is used to support 'reset' command.
As SPL is not yet ready for DM conversion, the CONFIG_HW_WATCHDOG is
enabled for it. This allows the legacy SPL code to work properly.
Signed-off-by: Lukasz Majewski <lukma@denx.de>
Diffstat (limited to 'arch/arm/dts/imx6q-display5-u-boot.dtsi')
-rw-r--r-- | arch/arm/dts/imx6q-display5-u-boot.dtsi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/dts/imx6q-display5-u-boot.dtsi b/arch/arm/dts/imx6q-display5-u-boot.dtsi index b942218b7a..aa660b5aeb 100644 --- a/arch/arm/dts/imx6q-display5-u-boot.dtsi +++ b/arch/arm/dts/imx6q-display5-u-boot.dtsi @@ -31,6 +31,11 @@ chosen { stdout-path = &uart5; }; + + wdt-reboot { + compatible = "wdt-reboot"; + wdt = <&wdog1>; + }; }; &i2c3 { |