This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

st,stm32-usb

Vendor: STMicroelectronics

Description

These nodes are “usb” bus nodes.

STM32 USB controller

Properties

Properties not inherited from the base binding file.

Name

Type

Details

ram-size

int

Size of USB dedicated RAM. STM32 SOC's reference
manual defines USB packet SRAM size.

This property is required.

disconnect-gpios

phandle-array

Some boards use a USB DISCONNECT pin to enable
the pull-up resistor on USB Data Positive signal.

phys

phandle

PHY provider specifier

enable-pin-remap

boolean

For STM32F0 series SoCs on QFN28 and TSSOP20 packages
enable PIN pair PA11/12 mapped instead of PA9/10 (e.g. stm32f070x6)

pinctrl-0

phandles

Pin configuration for USB signals (DM/DP/NOE).
We expect that the phandles will reference pinctrl nodes.

For example:
   <&usb_dm_pa11 &usb_dp_pa12>;

num-bidir-endpoints

int

Number of bi-directional endpoints supported by hardware
(including EP0)

This property is required.

num-in-endpoints

int

Number of IN endpoints supported by hardware
(including EP0 IN)

num-out-endpoints

int

Number of OUT endpoints supported by hardware
(including EP0 OUT)

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.