]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: dh-imx6: add u-boot specific wdt-reboot node
authorClaudius Heine <ch@denx.de>
Fri, 29 Nov 2019 07:59:02 +0000 (08:59 +0100)
committerStefano Babic <sbabic@denx.de>
Tue, 7 Jan 2020 09:26:56 +0000 (10:26 +0100)
The wdt-reboot node is needed for the sysreset_watchdog driver to
register a watchdog as a reset handler in case 'CONFIG_SYSRESET' is
enabled.

Signed-off-by: Claudius Heine <ch@denx.de>
arch/arm/dts/imx6q-dhcom-pdk2-u-boot.dtsi [new file with mode: 0644]

diff --git a/arch/arm/dts/imx6q-dhcom-pdk2-u-boot.dtsi b/arch/arm/dts/imx6q-dhcom-pdk2-u-boot.dtsi
new file mode 100644 (file)
index 0000000..b94231e
--- /dev/null
@@ -0,0 +1,11 @@
+// SPDX-License-Identifier: (GPL-2.0+)
+/*
+ * Copyright (C) 2019 Claudius Heine <ch@denx.de>
+ */
+
+/ {
+       wdt-reboot {
+               compatible = "wdt-reboot";
+               wdt = <&wdog1>;
+       };
+};