From 2c82079be71138c9606bb2d8883f67dc0fe3021b Mon Sep 17 00:00:00 2001 From: xj Date: Thu, 27 Jun 2024 20:10:44 -0700 Subject: [PATCH] Adding more USB hardware information for RK3568 --- .../drivers/usb/components/port/xhci/usb_hc_xhci.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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 1bc444f4e..79e256341 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 @@ -47,12 +47,14 @@ extern "C" { /* * Address of USB3 host control base Register in RK3568. + * USB3_ADDR_OFFSET_UPPER_BOUND can be found in Part 2, + * Table 16-1 USB3 Address Mapping. */ -#define USB3_0_ID 0 -#define USB3_1_ID 1 -#define USB3_0_BASE_ADDR 0xFCC00000 -#define USB3_1_BASE_ADDR 0xFD000000 - +#define USB3_0_ID 0 +#define USB3_1_ID 1 +#define USB3_0_BASE_ADDR 0xFCC00000 +#define USB3_1_BASE_ADDR 0xFD000000 +#define USB3_ADDR_OFFSET_UPPER_BOUND 0x07FFF /** * @brief xHCI host controller hardware init.