zephyr,udc-virtual

Vendor: Zephyr-specific binding

Description

These nodes are “usb” bus nodes.

Virtual USB device controller

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.