From 014283451a0def97cb66e6ef9da0eeea43e154b6 Mon Sep 17 00:00:00 2001 From: xj Date: Thu, 12 Sep 2024 23:57:41 -0700 Subject: [PATCH] DWC3 reg size --- .../services/drivers/usb/components/port/xhci/usb_hc_xhci.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Ubiquitous/XiZi_AIoT/services/drivers/usb/components/port/xhci/usb_hc_xhci.h b/Ubiquitous/XiZi_AIoT/services/drivers/usb/components/port/xhci/usb_hc_xhci.h index 8b38fdee8..7f8d60c9c 100644 --- a/Ubiquitous/XiZi_AIoT/services/drivers/usb/components/port/xhci/usb_hc_xhci.h +++ b/Ubiquitous/XiZi_AIoT/services/drivers/usb/components/port/xhci/usb_hc_xhci.h @@ -60,10 +60,11 @@ extern "C" { #define USB3_0_BASE_ADDR 0xFCC00000 #define USB3_1_BASE_ADDR 0xFD000000 #define USB3_ADDR_OFFSET_UPPER_BOUND 0x08000 +#define USB3_DWC3_ADDR_GAP 0x0B00 #define USB3_VIRADDR_BASE 0x0000002000000000ULL #define USB3_0_VIRADDR_BASE USB3_VIRADDR_BASE -#define USB3_1_VIRADDR_BASE USB3_VIRADDR_BASE + USB3_ADDR_OFFSET_UPPER_BOUND +#define USB3_1_VIRADDR_BASE USB3_VIRADDR_BASE + USB3_ADDR_OFFSET_UPPER_BOUND + USB3_DWC3_ADDR_GAP #define USB3_0_INTERRUPT_NO 201 #define USB3_1_INTERRUPT_NO 202