renesas,smartbond-usbd

Vendor: Renesas Electronics Corporation

Description

These nodes are “usb” bus nodes.

Renesas SmartBond USB device controller

Properties

Properties not inherited from the base binding file.

Name

Type

Details

maximum-speed

string

Configures USB controllers to work up to a specific speed. Valid arguments are "super-speed", "high-speed", "full-speed" and "low-speed". If this is not passed via DT, USB controllers should use their maximum hardware capability.

Legal values: 'low-speed', 'full-speed', 'high-speed', 'super-speed'

vbus-gpios

phandle-array

Control VBUS via GPIO pin.

dma-min-transfer-size

int

Minimum transfer size required to engage DMA.

ep-out-buf-size

array

Buffer size for OUT end points 0-3.

This property is required.

fifo-read-threshold

int

RX FIFO is 64 bytes. When endpoint size is greater then 64,
FIFO warning interrupt is enabled to allow read incoming data
during frame reception.
It is possible to stay in interrupt reading whole packet at once,
but it may be more efficient for MCU to read as much data as
possible and when FIFO is hardly filled exit interrupt handler
waiting for next FIFO warning level interrupt or packet end.
When running at 96MHz code that reads FIFO based on number of
bytes stored in USB_RXSx_REG.USB_RXCOUNT takes enough time to
fill FIFO with two additional bytes.
Settings this threshold above this allows to leave interrupt
handler and wait for more bytes before next ISR. This allows
reduce overall ISR time to 1/3 of time that would be needed
if ISR read as fast as possible.

iso-out-mps

int

Max packet size for ISO out endpoint