summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hw/bsp/raspberrypi4/boards/raspberrypi_cm4/board.mk1
m---------hw/mcu/broadcom0
-rw-r--r--src/portable/synopsys/dwc2/dwc2_bcm.h2
3 files changed, 2 insertions, 1 deletions
diff --git a/hw/bsp/raspberrypi4/boards/raspberrypi_cm4/board.mk b/hw/bsp/raspberrypi4/boards/raspberrypi_cm4/board.mk
index e69de29bb..897342479 100644
--- a/hw/bsp/raspberrypi4/boards/raspberrypi_cm4/board.mk
+++ b/hw/bsp/raspberrypi4/boards/raspberrypi_cm4/board.mk
@@ -0,0 +1 @@
+CFLAGS += -DBCM_VERSION=2711
diff --git a/hw/mcu/broadcom b/hw/mcu/broadcom
-Subproject d126323fc77e81d1f18677a439685a4754ea02a
+Subproject 5bff1d5e02c37c38ee1e5cf3f7fe82fdc7e1517
diff --git a/src/portable/synopsys/dwc2/dwc2_bcm.h b/src/portable/synopsys/dwc2/dwc2_bcm.h
index fcec0b0d2..353bc21ee 100644
--- a/src/portable/synopsys/dwc2/dwc2_bcm.h
+++ b/src/portable/synopsys/dwc2/dwc2_bcm.h
@@ -34,7 +34,7 @@
#include "broadcom/interrupts.h"
#include "broadcom/caches.h"
-#define DWC2_REG_BASE 0xFE980000UL
+#define DWC2_REG_BASE USB_OTG_GLOBAL_BASE
#define DWC2_EP_MAX 8
#define DWC2_EP_FIFO_SIZE 4096