aboutsummaryrefslogtreecommitdiff
path: root/include/hw/arm/bcm2838.h
diff options
context:
space:
mode:
authorSergey Kambalin <serg.oker@gmail.com>2024-02-25 18:02:22 -0600
committerPeter Maydell <peter.maydell@linaro.org>2024-02-27 13:01:42 +0000
commitdcf1d8cdfbe6ab56456380ddc13f551df070a539 (patch)
tree8165fcc0075ecef6db55ee9f6cb690336898b7f9 /include/hw/arm/bcm2838.h
parent08df0676363e3ed717476df6da065a0d5ea87382 (diff)
downloadqemu-dcf1d8cdfbe6ab56456380ddc13f551df070a539.zip
qemu-dcf1d8cdfbe6ab56456380ddc13f551df070a539.tar.gz
qemu-dcf1d8cdfbe6ab56456380ddc13f551df070a539.tar.bz2
hw/arm: Introduce BCM2838 SoC
Signed-off-by: Sergey Kambalin <sergey.kambalin@auriga.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 20240226000259.2752893-5-sergey.kambalin@auriga.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/hw/arm/bcm2838.h')
-rw-r--r--include/hw/arm/bcm2838.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/include/hw/arm/bcm2838.h b/include/hw/arm/bcm2838.h
new file mode 100644
index 0000000..bddc25c
--- /dev/null
+++ b/include/hw/arm/bcm2838.h
@@ -0,0 +1,29 @@
+/*
+ * 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/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;
+};
+
+#endif /* BCM2838_H */