mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 02:03:56 -06:00
hw/usb/hcd-dwc3: Align global registers size with Linux
While at it add missing GUSB2RHBCTL register as found in i.MX 8M Plus reference manual. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Bernhard Beschow <shentey@gmail.com> Message-id: 20250223114708.1780-2-shentey@gmail.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
2cac20cbf7
commit
b513766ee9
2 changed files with 6 additions and 1 deletions
|
@ -343,6 +343,8 @@ REG32(GFLADJ, 0x530)
|
|||
FIELD(GFLADJ, GFLADJ_REFCLK_FLADJ, 8, 14)
|
||||
FIELD(GFLADJ, GFLADJ_30MHZ_SDBND_SEL, 7, 1)
|
||||
FIELD(GFLADJ, GFLADJ_30MHZ, 0, 6)
|
||||
REG32(GUSB2RHBCTL, 0x540)
|
||||
FIELD(GUSB2RHBCTL, OVRD_L1TIMEOUT, 0, 4)
|
||||
|
||||
#define DWC3_GLOBAL_OFFSET 0xC100
|
||||
static void reset_csr(USBDWC3 * s)
|
||||
|
@ -560,6 +562,9 @@ static const RegisterAccessInfo usb_dwc3_regs_info[] = {
|
|||
.rsvd = 0x40,
|
||||
.ro = 0x400040,
|
||||
.unimp = 0xffffffff,
|
||||
},{ .name = "GUSB2RHBCTL", .addr = A_GUSB2RHBCTL,
|
||||
.rsvd = 0xfffffff0,
|
||||
.unimp = 0xffffffff,
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue