User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 406
UG585 (v1.11) September 27, 2016
Chapter 15: USB Host, Device, and OTG Controller
15.3.3 Power Management
Stop-Clock
The USB controller can be held in reset by the PS reset subsystem and the PHY clock from the PHY
can be stopped to reduce power consumption. The clocks and resets are described in section
15.15 System Functions.
Suspend and Resume
The USB controller supports Suspend/Resume functions for both host and device modes.
15.3.4 Register Overview
Each controller includes its own set of independent control and status registers that are memory
mapped at 0xE000_2000 for controller 0 and at 0xE000_3000 for controller 1. The register address
offsets and brief descriptions are summarized in Table 15-1. The detailed descriptions are in
Appendix B.
The controller and all registers are reset by the assertion of the USB Ref Reset from the PS. The
mechanism is described in Chapter 26, Reset System. The reset value of the controller registers are
shown in Appendix B. Software can reset the controller and the non-OTG registers by writing a 1 to
the usb.USBCMD [RST] bit. The registers that are reset by usb.USBCMD [RST] are identified in a the
last column of Table 15-1.
Register Overview Table
The controller registers include configuration constants, capability constants and operational
registers for EHCI compatibility (Host mode) and non-EHCI functions (Device and OTG modes). The
non-EHCI registers support device mode and OTG functions. The EHCI register fields are overlaid
into the controller’s register set.
OTG/Mode registers provide control and status for HNP and SRP.
X-Ref Target - Figure 15-11
Figure 15-11: USB Controller Mode Diagram
UG585_c15_40_030713
Device
Mode
Idle
Host
Mode
* PS_POR_B reset (all USB registers)
* slcr.USB_RST_CTRL [USB_CPU1X_RST] (all USB registers)
* usb.USBCMD [RST] (USB registers except those for OTG functionality)
Reset
usb.USBMODE [CM] = 11
usb.USBMODE [CM] = 10
reset
reset