bcm283* refactoring continues
[qemu/ar7.git] / include / hw / arm / bcm2835_peripherals.h
blob84209031d1ed0bcc44cec6a19538891b9703f991
1 #include "qemu-common.h"
2 #include "hw/sysbus.h"
4 #ifndef BCM2835_PERIPHERALS_H
5 #define BCM2835_PERIPHERALS_H
7 #define TYPE_BCM2835_PERIPHERALS "bcm2835_peripherals"
8 #define BCM2835_PERIPHERALS(obj) \
9 OBJECT_CHECK(BCM2835PeripheralState, (obj), TYPE_BCM2835_PERIPHERALS)
11 typedef struct BCM2835PeripheralState {
12 /*< private >*/
13 SysBusDevice parent_obj;
14 /*< public >*/
16 MemoryRegion peri_mr, peri_mr_alias, gpu_bus_mr;
17 AddressSpace gpu_bus_as;
18 MemoryRegion ram_alias[4];
19 qemu_irq irq, fiq;
21 SysBusDevice *ic, *uart0, *uart1, *systimer, *armtimer, *usb, *mphi, *sbm,
22 *power, *fb, *property, *vchiq, *emmc, *dma;
23 } BCM2835PeripheralState;
25 #endif /* BCM2835_PERIPHERALS_H */