xref: /openbmc/qemu/include/hw/arm/bcm2838.h (revision cde3c425)
1 /*
2  * BCM2838 SoC emulation
3  *
4  * Copyright (C) 2022 Ovchinnikov Vitalii <vitalii.ovchinnikov@auriga.com>
5  *
6  * SPDX-License-Identifier: GPL-2.0-or-later
7  */
8 
9 #ifndef BCM2838_H
10 #define BCM2838_H
11 
12 #include "hw/arm/bcm2836.h"
13 #include "hw/intc/arm_gic.h"
14 #include "hw/arm/bcm2838_peripherals.h"
15 
16 #define BCM2838_PERI_LOW_BASE 0xfc000000
17 #define BCM2838_GIC_BASE 0x40000
18 
19 #define TYPE_BCM2838 "bcm2838"
20 
21 OBJECT_DECLARE_TYPE(BCM2838State, BCM2838Class, BCM2838)
22 
23 struct BCM2838State {
24     /*< private >*/
25     BCM283XBaseState parent_obj;
26     /*< public >*/
27     BCM2838PeripheralState peripherals;
28     GICState gic;
29 };
30 
31 #endif /* BCM2838_H */
32