sandbox.dtsi: add a sandbox,alarm-wdt instance
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>
Tue, 27 Sep 2022 09:54:05 +0000 (11:54 +0200)
committerStefan Roese <sr@denx.de>
Mon, 24 Oct 2022 09:10:21 +0000 (11:10 +0200)
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.villemoes@prevas.dk>
arch/sandbox/dts/sandbox.dtsi

index d2db1ea..fc5bde4 100644 (file)
                };
        };
 
+       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>;