The latest development version of this page may be more current than this released 4.0.0 version.

zephyr,udc-skeleton

Vendor: Zephyr-specific binding

Note

An implementation of a driver matching this compatible is available in drivers/usb/udc/udc_skeleton.c.

Description

These nodes are “usb” bus nodes.

Skeleton for USB device controller driver

Properties

Properties not inherited from the base binding file.

Name

Type

Details

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.