MAINTAINERS: Cover docs/igd-assign.txt in VFIO section
[qemu/ar7.git] / include / hw / misc / imx7_snvs.h
blob14a1d6fe6b03b451c84f3b48c9242c8ae94c1ab6
1 /*
2 * Copyright (c) 2017, Impinj, Inc.
4 * i.MX7 SNVS block emulation code
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.
12 #ifndef IMX7_SNVS_H
13 #define IMX7_SNVS_H
15 #include "qemu/bitops.h"
16 #include "hw/sysbus.h"
17 #include "qom/object.h"
20 enum IMX7SNVSRegisters {
21 SNVS_LPCR = 0x38,
22 SNVS_LPCR_TOP = BIT(6),
23 SNVS_LPCR_DP_EN = BIT(5)
26 #define TYPE_IMX7_SNVS "imx7.snvs"
27 OBJECT_DECLARE_SIMPLE_TYPE(IMX7SNVSState, IMX7_SNVS)
29 struct IMX7SNVSState {
30 /* <private> */
31 SysBusDevice parent_obj;
33 MemoryRegion mmio;
36 #endif /* IMX7_SNVS_H */