diff options
author | Rasmus Villemoes <rasmus.villemoes@prevas.dk> | 2022-09-27 11:54:05 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2022-10-24 11:10:21 +0200 |
commit | 374d5d9971d70f1bf9443d75b5dea03701edcfeb (patch) | |
tree | 0ad2931fe426cf3dfab4dee5c5e89d2f00cc3029 | |
parent | 10107efedd5ffe68b36a7d79bd561ee966cbb2f8 (diff) | |
download | u-boot-374d5d9971d70f1bf9443d75b5dea03701edcfeb.zip u-boot-374d5d9971d70f1bf9443d75b5dea03701edcfeb.tar.gz u-boot-374d5d9971d70f1bf9443d75b5dea03701edcfeb.tar.bz2 |
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>
-rw-r--r-- | arch/sandbox/dts/sandbox.dtsi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/sandbox/dts/sandbox.dtsi b/arch/sandbox/dts/sandbox.dtsi index d2db1ea..fc5bde4 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>; |