microchip,usb-g2

Description

These nodes are “usb” bus nodes.

Microchip USB G2 driver

Microchip USB G2 driver bindings.

Group g2 USB driver supports following hardware peripherals:
  - module name="USBHS" id="03787" version="2a0"

Properties

Properties not inherited from the base binding file.

Name

Type

Details

num-bidir-endpoints

int

Number of bidirectional endpoints including EP0.

This property is required.

num-in-endpoints

int

Number of IN endpoints including EP0 IN.

num-out-endpoints

int

Number of OUT endpoints including EP0 OUT.

vbus-poll-period-ms

int

VBUS Polling Interval

The time in milliseconds between system work queue polls for VBUS levels;
if omitted, the system defaults to CONFIG_UDC_MCHP_G2_VBUS_POLL_PERIOD_MS.

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.

pinctrl-0

phandles

Pin configuration/s for the first state. Content is specific to the
selected pin controller driver implementation.

pinctrl-1

phandles

Pin configuration/s for the second state. See pinctrl-0.

pinctrl-2

phandles

Pin configuration/s for the third state. See pinctrl-0.

pinctrl-3

phandles

Pin configuration/s for the fourth state. See pinctrl-0.

pinctrl-4

phandles

Pin configuration/s for the fifth state. See pinctrl-0.

pinctrl-names

string-array

Names for the provided states. The number of names needs to match the
number of states.