diff options
author | Strahinja Jankovic <strahinjapjankovic@gmail.com> | 2023-04-20 10:21:13 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2023-04-20 10:21:13 +0100 |
commit | 470f9f2d93613e02cc94594c841d5f3fe7f4d8e6 (patch) | |
tree | 279b85dc8d941cc1ae6cdfabf5b083f6f21c487e /include/hw | |
parent | 17b9730f9828c5ee2b443533db936a1def4341b3 (diff) | |
download | qemu-470f9f2d93613e02cc94594c841d5f3fe7f4d8e6.zip qemu-470f9f2d93613e02cc94594c841d5f3fe7f4d8e6.tar.gz qemu-470f9f2d93613e02cc94594c841d5f3fe7f4d8e6.tar.bz2 |
hw/arm: Add WDT to Allwinner-A10 and Cubieboard
This patch adds WDT to Allwinner-A10 and Cubieboard.
WDT is added as an overlay to the Timer module memory map.
Signed-off-by: Strahinja Jankovic <strahinja.p.jankovic@gmail.com>
Reviewed-by: Niek Linnenbank <nieklinnenbank@gmail.com>
Message-id: 20230326202256.22980-3-strahinja.p.jankovic@gmail.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/hw')
-rw-r--r-- | include/hw/arm/allwinner-a10.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/arm/allwinner-a10.h b/include/hw/arm/allwinner-a10.h index 095afb2..cd1465c 100644 --- a/include/hw/arm/allwinner-a10.h +++ b/include/hw/arm/allwinner-a10.h @@ -13,6 +13,7 @@ #include "hw/misc/allwinner-a10-ccm.h" #include "hw/misc/allwinner-a10-dramc.h" #include "hw/i2c/allwinner-i2c.h" +#include "hw/watchdog/allwinner-wdt.h" #include "sysemu/block-backend.h" #include "target/arm/cpu.h" @@ -41,6 +42,7 @@ struct AwA10State { AwSdHostState mmc0; AWI2CState i2c0; AwRtcState rtc; + AwWdtState wdt; MemoryRegion sram_a; EHCISysBusState ehci[AW_A10_NUM_USB]; OHCISysBusState ohci[AW_A10_NUM_USB]; |