aboutsummaryrefslogtreecommitdiff
path: root/include/hw/arm/bcm2838.h
blob: e53c7bedf92f092311d46c3ab5db55a83b7fa67f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
 * BCM2838 SoC emulation
 *
 * Copyright (C) 2022 Ovchinnikov Vitalii <vitalii.ovchinnikov@auriga.com>
 *
 * SPDX-License-Identifier: GPL-2.0-or-later
 */

#ifndef BCM2838_H
#define BCM2838_H

#include "hw/arm/bcm2836.h"
#include "hw/intc/arm_gic.h"
#include "hw/arm/bcm2838_peripherals.h"

#define BCM2838_PERI_LOW_BASE 0xfc000000
#define BCM2838_GIC_BASE 0x40000

#define TYPE_BCM2838 "bcm2838"

OBJECT_DECLARE_TYPE(BCM2838State, BCM2838Class, BCM2838)

struct BCM2838State {
    /*< private >*/
    BCM283XBaseState parent_obj;
    /*< public >*/
    BCM2838PeripheralState peripherals;
    GICState gic;
};

#endif /* BCM2838_H */