xref: /openbmc/qemu/include/hw/intc/imx_gpcv2.h (revision 7c08eefc)
1 #ifndef IMX_GPCV2_H
2 #define IMX_GPCV2_H
3 
4 #include "hw/sysbus.h"
5 #include "qom/object.h"
6 
7 enum IMXGPCv2Registers {
8     GPC_NUM        = 0xE00 / sizeof(uint32_t),
9 };
10 
11 struct IMXGPCv2State {
12     /*< private >*/
13     SysBusDevice parent_obj;
14 
15     /*< public >*/
16     MemoryRegion iomem;
17     uint32_t     regs[GPC_NUM];
18 };
19 
20 #define TYPE_IMX_GPCV2 "imx-gpcv2"
21 OBJECT_DECLARE_SIMPLE_TYPE(IMXGPCv2State, IMX_GPCV2)
22 
23 #endif /* IMX_GPCV2_H */
24