DWC3 reg size

This commit is contained in:
xj 2024-09-12 23:57:41 -07:00
parent d3c7f1d5c1
commit 014283451a
1 changed files with 2 additions and 1 deletions

View File

@ -60,10 +60,11 @@ extern "C" {
#define USB3_0_BASE_ADDR 0xFCC00000 #define USB3_0_BASE_ADDR 0xFCC00000
#define USB3_1_BASE_ADDR 0xFD000000 #define USB3_1_BASE_ADDR 0xFD000000
#define USB3_ADDR_OFFSET_UPPER_BOUND 0x08000 #define USB3_ADDR_OFFSET_UPPER_BOUND 0x08000
#define USB3_DWC3_ADDR_GAP 0x0B00
#define USB3_VIRADDR_BASE 0x0000002000000000ULL #define USB3_VIRADDR_BASE 0x0000002000000000ULL
#define USB3_0_VIRADDR_BASE USB3_VIRADDR_BASE #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_0_INTERRUPT_NO 201
#define USB3_1_INTERRUPT_NO 202 #define USB3_1_INTERRUPT_NO 202