Usb - Cherry Theobroma Systems PUMA SOM-RK3399-Q7 User Manual

Powerful system-on-module
Hide thumbs Also See for Theobroma Systems PUMA SOM-RK3399-Q7:
Table of Contents

Advertisement

5.6 USB

The RK3399 CPU has two USB 3.0 SuperSpeed controllers. A USB 3.0 hub provides two additional USB 3.0 super-speed ports.
The routing of Qseven signals to CPU and/or hub port is shown below. The Linux Port # column shows the identifier that is
used in Linux dmesg output. The format is: "usb BUS#-1.HUBPORT#"
Qseven Port #
USB_P0
USB_P1
USB_P2
USB_P3
USB_SSTX0 / USB_SSRX0
USB_SSTX1 / USB_SSRX1
USB_SSTX2 / USB_SSRX2
The lsusb -t command shows the USB topology in a tree view and is highly recommended. It's output is discussed below,
for a RK3399-Q7 module without additional devices connected:
Bus 07 and Bus 08 are connected to the USB 3.0 hub. The CAN controller is connected to Port 4 on the hub:
lsusb -t
/: Bus 08.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 5000M
/: Bus 07.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 4: Dev 3, If 0, Class=, Driver=uCAN, 12M
Linux Bus 05 and Bus 06 are routed directly to the Qseven ports USB_P1 and USB_SSTX1 / USB_SSRX1 :
/: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
/: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
Additional internal USB 2.0 busses, currently unused:
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=ohci-platform/1p, 12M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=ohci-platform/1p, 12M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-platform/1p, 480M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-platform/1p, 480M
The USB hub can be held in reset, if required. This disables all USB ports connected to the hub. The reset signal routing is
shown below:
PUMA RK3399-Q7 User Manual
© Theobroma Systems Design und Consulting GmbH
Speed
Connected to
USB 2.0 Hi-Speed
Hub
USB 2.0 Hi-Speed
CPU
USB 2.0 Hi-Speed
Hub
USB 2.0 Hi-Speed
Hub
USB 3.0 SuperSpeed
Hub
USB 3.0 SuperSpeed
CPU
USB 3.0 SuperSpeed
Hub
Hub signal
CPU Pin
USBHUB_RESETn
GPIO4_A3
Linux Port #
Notes
usb 7-1.1
usb 5-1
OTG Port
usb 7-1.2
usb 7-1.3
usb 8-1.1
Use together with USB_P0
usb 6-1
Use together with USB_P1
usb 8-1.2
Use together with USB_P2
Linux GPIO #
131
v1.7
Page 39

Advertisement

Table of Contents
loading

Table of Contents