From b0471990a3bcbe6b3257cf2b1aa3f50664ded9c5 Mon Sep 17 00:00:00 2001 From: xj Date: Thu, 27 Jun 2024 20:28:57 -0700 Subject: [PATCH] Adding more USB hardware information for RK3568 --- .../services/drivers/usb/components/port/xhci/usb_hc_xhci.h | 3 +++ 1 file changed, 3 insertions(+) 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 79e256341..22ca571bb 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 @@ -56,6 +56,9 @@ extern "C" { #define USB3_1_BASE_ADDR 0xFD000000 #define USB3_ADDR_OFFSET_UPPER_BOUND 0x07FFF +#define USB3_VIRADDR_BASE 0x0000002000000000ULL +#define USB3_1_VIRADDR_BASE USB3_VIRADDR_BASE +#define USB3_2_VIRADDR_BASE USB3_VIRADDR_BASE + USB3_ADDR_OFFSET_UPPER_BOUND /** * @brief xHCI host controller hardware init. *