forked from xuos/xiuos
DWC3 reg size
This commit is contained in:
parent
d3c7f1d5c1
commit
014283451a
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue