atmel,sam-usbhs

Description

These nodes are “usb” bus nodes.

Atmel SAM Family USB (USBHS) in device mode

The USBHS controller has two memory regions:
- "core": USBHS register block
- "fifo": Dual-Port RAM (DPRAM) for endpoint FIFOs

The SAM USBHS has 10 hardware endpoints (EP0-EP9). EP0 is the control
endpoint. The remaining endpoints are direction-constrained by hardware:
- Odd endpoints (1, 3, 5, 7, 9): IN direction only
- Even endpoints (2, 4, 6, 8): OUT direction only

Properties

Properties not inherited from the base binding file.

Name

Type

Details

num-in-endpoints

int

Number of IN endpoints including EP0 IN. For SAM USBHS:
  - 6 (EP0 IN + EP1, EP3, EP5, EP7, EP9)

This property is required.

num-out-endpoints

int

Number of OUT endpoints including EP0 OUT. For SAM USBHS:
  - 5 (EP0 OUT + EP2, EP4, EP6, EP8)

This property is required.

num-bidir-endpoints

int

Number of bi-directional endpoints supported by hardware
(including EP0)

This property is required.

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.