Merge tag 'pull-loongarch-20241016' of https://gitlab.com/gaosong/qemu into staging
[qemu/armbru.git] / include / hw / misc / bcm2835_property.h
blob2f93fd0c757c366dca6fae1cdc9ef3dc47d11e2f
1 /*
2 * Raspberry Pi emulation (c) 2012 Gregory Estrade
4 * This work is licensed under the terms of the GNU GPL, version 2 or later.
5 * See the COPYING file in the top-level directory.
6 */
8 #ifndef BCM2835_PROPERTY_H
9 #define BCM2835_PROPERTY_H
11 #include "hw/sysbus.h"
12 #include "net/net.h"
13 #include "hw/display/bcm2835_fb.h"
14 #include "hw/nvram/bcm2835_otp.h"
15 #include "qom/object.h"
17 #define TYPE_BCM2835_PROPERTY "bcm2835-property"
18 OBJECT_DECLARE_SIMPLE_TYPE(BCM2835PropertyState, BCM2835_PROPERTY)
20 struct BCM2835PropertyState {
21 /*< private >*/
22 SysBusDevice busdev;
23 /*< public >*/
25 MemoryRegion *dma_mr;
26 AddressSpace dma_as;
27 MemoryRegion iomem;
28 qemu_irq mbox_irq;
29 BCM2835FBState *fbdev;
30 BCM2835OTPState *otp;
32 MACAddr macaddr;
33 uint32_t board_rev;
34 uint32_t addr;
35 char *command_line;
36 bool pending;
39 #endif