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 index d126323fc..5bff1d5e0 160000 --- a/hw/mcu/broadcom +++ b/hw/mcu/broadcom @@ -1 +1 @@ -Subproject commit d126323fc77e81d1f18677a439685a4754ea02aa +Subproject commit 5bff1d5e02c37c38ee1e5cf3f7fe82fdc7e1517e 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