In order to test that we properly handle watchdog(s) during the "wait
for the user to interrupt autoboot" phase, we need a watchdog device
to be watching us.

Signed-off-by: Rasmus Villemoes <rasmus.villem...@prevas.dk>
---
 arch/sandbox/dts/sandbox.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/sandbox/dts/sandbox.dtsi b/arch/sandbox/dts/sandbox.dtsi
index 56e6b38bfa..c3b09895ca 100644
--- a/arch/sandbox/dts/sandbox.dtsi
+++ b/arch/sandbox/dts/sandbox.dtsi
@@ -27,6 +27,12 @@
                };
        };
 
+       alarm_wdt: alarm-wdt {
+               compatible = "sandbox,alarm-wdt";
+               timeout-sec = <5>;
+               u-boot,autostart;
+       };
+
        audio: audio-codec {
                compatible = "sandbox,audio-codec";
                #sound-dai-cells = <1>;
-- 
2.37.2

Reply via email to