xref: /openbmc/qemu/include/hw/arm/bcm2838.h (revision dcf1d8cd)
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/arm/bcm2838_peripherals.h"
14 
15 #define BCM2838_PERI_LOW_BASE 0xfc000000
16 #define BCM2838_GIC_BASE 0x40000
17 
18 #define TYPE_BCM2838 "bcm2838"
19 
20 OBJECT_DECLARE_TYPE(BCM2838State, BCM2838Class, BCM2838)
21 
22 struct BCM2838State {
23     /*< private >*/
24     BCM283XBaseState parent_obj;
25     /*< public >*/
26     BCM2838PeripheralState peripherals;
27 };
28 
29 #endif /* BCM2838_H */
30