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.

nxp,mcux-usbd

Vendor: NXP Semiconductors

Description

These nodes are “usb” bus nodes.

NPX MXRT and LPC USBOTG Controller in device mode

Properties

Properties not inherited from the base binding file.

Name

Type

Details

usb-controller-index

string

This is taken from the usb_controller_index_t enum that is included inside the NXP SDK

This property is required.

Legal values: 'Khci0', 'Khci1', 'Ehci0', 'Ehci1', 'LpcIp3511Fs0', 'LpcIp3511Fs1', 'LpcIp3511Hs0', 'LpcIp3511Hs1', 'Ohci0', 'Ohci1', 'Ip3516Hs0', 'Ip3516Hs1', 'Dwc30', 'Dwc31'

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.