[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 21/45] Add clock_isp stub
From: |
Sergey Kambalin |
Subject: |
[PATCH v3 21/45] Add clock_isp stub |
Date: |
Sun, 3 Dec 2023 15:48:46 -0600 |
Signed-off-by: Sergey Kambalin <sergey.kambalin@auriga.com>
---
hw/arm/bcm2838_peripherals.c | 6 ++++++
include/hw/arm/bcm2838_peripherals.h | 1 +
2 files changed, 7 insertions(+)
diff --git a/hw/arm/bcm2838_peripherals.c b/hw/arm/bcm2838_peripherals.c
index e9c6d47ba6..65a659c15c 100644
--- a/hw/arm/bcm2838_peripherals.c
+++ b/hw/arm/bcm2838_peripherals.c
@@ -17,6 +17,9 @@
#define PCIE_MMIO_ARM_OFFSET 0x600000000
#define PCIE_MMIO_SIZE 0x40000000
+#define CLOCK_ISP_OFFSET 0xc11000
+#define CLOCK_ISP_SIZE 0x100
+
/* Lower peripheral base address on the VC (GPU) system bus */
#define BCM2838_VC_PERI_LOW_BASE 0x7c000000
@@ -228,6 +231,9 @@ static void bcm2838_peripherals_realize(DeviceState *dev,
Error **errp)
memory_region_add_subregion(get_system_memory(), PCIE_MMIO_ARM_OFFSET,
&s->pcie_mmio_alias);
+ create_unimp(s_base, &s->clkisp, "bcm2835-clkisp", CLOCK_ISP_OFFSET,
+ CLOCK_ISP_SIZE);
+
/* GPIO */
if (!sysbus_realize(SYS_BUS_DEVICE(&s->gpio), errp)) {
return;
diff --git a/include/hw/arm/bcm2838_peripherals.h
b/include/hw/arm/bcm2838_peripherals.h
index 0e8465ba34..20b7d1eb67 100644
--- a/include/hw/arm/bcm2838_peripherals.h
+++ b/include/hw/arm/bcm2838_peripherals.h
@@ -70,6 +70,7 @@ struct BCM2838PeripheralState {
BCM2838Rng200State rng200;
Bcm2838ThermalState thermal;
SDHCIState emmc2;
+ UnimplementedDeviceState clkisp;
BCM2838PcieHostState pcie_host;
BCM2838GpioState gpio;
--
2.34.1
- [PATCH v3 11/45] Introduce Raspberry PI 4 machine, (continued)
- [PATCH v3 11/45] Introduce Raspberry PI 4 machine, Sergey Kambalin, 2023/12/03
- [PATCH v3 12/45] Temporarily disable unimplemented rpi4b devices, Sergey Kambalin, 2023/12/03
- [PATCH v3 13/45] Add memory region for BCM2837 RPiVid ASB, Sergey Kambalin, 2023/12/03
- [PATCH v3 14/45] Add BCM2838 PCIE Root Complex, Sergey Kambalin, 2023/12/03
- [PATCH v3 15/45] Add BCM2838 PCIE host, Sergey Kambalin, 2023/12/03
- [PATCH v3 16/45] Enable BCM2838 PCIE, Sergey Kambalin, 2023/12/03
- [PATCH v3 17/45] Add RNG200 skeleton, Sergey Kambalin, 2023/12/03
- [PATCH v3 18/45] Add RNG200 RNG and RBG, Sergey Kambalin, 2023/12/03
- [PATCH v3 19/45] Get rid of RNG200 timer, Sergey Kambalin, 2023/12/03
- [PATCH v3 20/45] Implement BCM2838 thermal sensor, Sergey Kambalin, 2023/12/03
- [PATCH v3 21/45] Add clock_isp stub,
Sergey Kambalin <=
- [PATCH v3 22/45] Add GENET stub, Sergey Kambalin, 2023/12/03
- [PATCH v3 23/45] Add GENET register structs. Part 1, Sergey Kambalin, 2023/12/03
- [PATCH v3 24/45] Add GENET register structs. Part 2, Sergey Kambalin, 2023/12/03
- [PATCH v3 25/45] Add GENET register structs. Part 3, Sergey Kambalin, 2023/12/03
- [PATCH v3 26/45] Add GENET register structs. Part 4, Sergey Kambalin, 2023/12/03
- [PATCH v3 27/45] Add GENET register access macros, Sergey Kambalin, 2023/12/03
- [PATCH v3 28/45] Implement GENET register ops, Sergey Kambalin, 2023/12/03
- [PATCH v3 29/45] Implement GENET MDIO, Sergey Kambalin, 2023/12/03
- [PATCH v3 30/45] Implement GENET TX path, Sergey Kambalin, 2023/12/03
- [PATCH v3 31/45] Implement GENET RX path, Sergey Kambalin, 2023/12/03