Usb - Cherry PUMA SOM-RK3399-Q7 User Manual

Powerful system-on-module for versatile applications featuring the rockchip rk3399 application processor
Hide thumbs Also See for 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:
RK3399-Q7 User Manual
© Cherry Embedded Solutions GmbH
Speed
USB 2.0 Hi-Speed
USB 2.0 Hi-Speed
USB 2.0 Hi-Speed
USB 2.0 Hi-Speed
/
USB
3.0
Super-
Speed
/
USB
3.0
Super-
Speed
/
USB
3.0
Super-
Speed
Hub signal
USBHUB_RESETn
Connected to
Linux Port #
Hub
usb 7-1.1
CPU
usb 5-1
Hub
usb 7-1.2
Hub
usb 7-1.3
Hub
usb 8-1.1
CPU
usb 6-1
Hub
usb 8-1.2
CPU Pin
Linux GPIO #
GPIO4_A3
131
Notes
OTG Port
Use
together
with
USB_P0
Use
together
with
USB_P1
Use
together
with
USB_P2
v1.6
Page 39

Advertisement

Table of Contents
loading

Table of Contents