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.

atmel,sam-usbc

Vendor: Atmel Corporation

Description

These nodes are “usb” bus nodes.

Atmel SAM Family USB (USBC) in device mode

Properties

Properties not inherited from the base binding file.

Name

Type

Details

peripheral-id

int

peripheral ID

This property is required.

pinctrl-0

phandles

GPIO pin configuration for DM & DP signals. We expect that
the phandles will reference pinctrl nodes. These nodes will
have a nodelabel that matches the Atmel SoC HAL defines and
be of the form p<port><pin><periph>_<inst>_<signal>.

For example the USBC on SAM4L would be
  pinctrl-0 = <&pa25a_usbc_dm &pa26a_usbc_dp>;

This property is required.

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.