st,stm32-otghs

Vendor: STMicroelectronics

Description

STM32 OTGHS controller

Properties

Properties not inherited from the base binding file.

Name

Type

Details

ram-size

int

Size of USB dedicated RAM. STM32 SOC's reference manual defines a shared FIFO size.

This property is required.

phys

phandle

PHY provider specifier

pinctrl-0

phandles

Pin configuration for USB OTG HS signals (DM/DP/SOF/ID/VBUS and
ULPI_DIR/ULPI_STP/ULPI_NXT/ULPI_D[0-7]).
We expect that the phandles will reference pinctrl nodes.

For example:
   <&usb_otg_hs_dm_pa11 &usb_otg_hs_dp_pa12>;

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.

Properties inherited from the base binding file, which defines common properties that may be set on many nodes. Not all of these may apply to the “st,stm32-otghs” compatible.

Name

Type

Details

reg

array

register space

This property is required.

See Important properties for more information.

interrupts

array

interrupts for device

This property is required.

See Important properties for more information.

clocks

phandle-array

Clock gate information

This property is required.

label

string

Human readable string describing the device (used as device_get_binding() argument)

This property is required.

See Important properties for more information.

status

string

indicates the operational status of a device

Legal values: 'ok', 'okay', 'disabled', 'reserved', 'fail', 'fail-sss'

See Important properties for more information.

compatible

string-array

compatible strings

This property is required.

See Important properties for more information.

reg-names

string-array

name of each register space

interrupts-extended

compound

extended interrupt specifier for device

interrupt-names

string-array

name of each interrupt

interrupt-parent

phandle

phandle to interrupt controller node

clock-names

string-array

name of each clock

#address-cells

int

number of address cells in reg property

#size-cells

int

number of size cells in reg property

dmas

phandle-array

DMA channels specifiers

dma-names

string-array

Provided names of DMA channel specifiers

io-channels

phandle-array

IO channels specifiers

io-channel-names

string-array

Provided names of IO channel specifiers