2 * Copyright (c) 2017, Impinj, Inc.
4 * i.MX2 Watchdog IP block
6 * Author: Andrey Smirnov <andrew.smirnov@gmail.com>
8 * This work is licensed under the terms of the GNU GPL, version 2 or later.
9 * See the COPYING file in the top-level directory.
15 #include "hw/sysbus.h"
17 #define TYPE_IMX2_WDT "imx2.wdt"
18 #define IMX2_WDT(obj) OBJECT_CHECK(IMX2WdtState, (obj), TYPE_IMX2_WDT)
20 enum IMX2WdtRegisters
{
21 IMX2_WDT_WCR
= 0x0000,
22 IMX2_WDT_REG_NUM
= 0x0008 / sizeof(uint16_t) + 1,
26 typedef struct IMX2WdtState
{
28 SysBusDevice parent_obj
;
33 #endif /* IMX7_SNVS_H */