summaryrefslogtreecommitdiff
path: root/arch/sandbox/dts
diff options
context:
space:
mode:
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>2022-09-27 11:54:05 +0200
committerStefan Roese <sr@denx.de>2022-10-24 11:10:21 +0200
commit374d5d9971d70f1bf9443d75b5dea03701edcfeb (patch)
tree0ad2931fe426cf3dfab4dee5c5e89d2f00cc3029 /arch/sandbox/dts
parent10107efedd5ffe68b36a7d79bd561ee966cbb2f8 (diff)
sandbox.dtsi: add a sandbox,alarm-wdt instance
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>
Diffstat (limited to 'arch/sandbox/dts')
-rw-r--r--arch/sandbox/dts/sandbox.dtsi6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/sandbox/dts/sandbox.dtsi b/arch/sandbox/dts/sandbox.dtsi
index d2db1ea5220..fc5bde4bcea 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>;