]>
git.proxmox.com Git - mirror_qemu.git/blob - include/hw/watchdog/wdt_aspeed.h
2 * ASPEED Watchdog Controller
4 * Copyright (C) 2016-2017 IBM Corp.
6 * This code is licensed under the GPL version 2 or later. See the
7 * COPYING file in the top-level directory.
13 #include "hw/sysbus.h"
15 #define TYPE_ASPEED_WDT "aspeed.wdt"
16 #define ASPEED_WDT(obj) \
17 OBJECT_CHECK(AspeedWDTState, (obj), TYPE_ASPEED_WDT)
19 #define ASPEED_WDT_REGS_MAX (0x20 / 4)
21 typedef struct AspeedWDTState
{
23 SysBusDevice parent_obj
;
28 uint32_t regs
[ASPEED_WDT_REGS_MAX
];
32 uint32_t ext_pulse_width_mask
;
35 #endif /* WDT_ASPEED_H */