The latest development version of this page may be more current than this released 4.0.0 version.

nuvoton,numaker-tcpc

Vendor: Nuvoton Technology Corporation

Note

An implementation of a driver matching this compatible is available in drivers/usb_c/tcpc/ucpd_numaker.c.

Description

Nuvoton NuMaker USB Type-C port controller

Properties

Properties not inherited from the base binding file.

Name

Type

Details

resets

phandle-array

Reset information

This property is required.

vconn-overcurrent-event-polarity

string

Polarity of VCONN overcurrent event

Legal values: 'low-active', 'high-active'

vconn-discharge-polarity

string

Polarity of VCONN discharge

Legal values: 'low-active', 'high-active'

vconn-enable-polarity

string

Polarity of VCONN enable

Legal values: 'low-active', 'high-active'

vbus-overcurrent-event-polarity

string

Polarity of VBUS overcurrent event

Legal values: 'low-active', 'high-active'

vbus-forceoff-event-polarity

string

Polarity of VBUS force-off event

Legal values: 'low-active', 'high-active'

frs-tx-polarity

string

Polarity of fast role swap tx

Legal values: 'low-active', 'high-active'

vbus-discharge-enable-polarity

string

Polarity of VBUS discharge enable

Legal values: 'low-active', 'high-active'

vbus-sink-enable-polarity

string

Polarity of VBUS sink enable

Legal values: 'low-active', 'high-active'

vbus-source-enable-polarity

string

Polarity of VBUS source enable

Legal values: 'low-active', 'high-active'

vbus-divide

string

VBUS measurement divider

This property is required.

Legal values: 'no-divide', 'divide-10', 'divide-20'

dead-battery

boolean

Determine if USB-C Dead Battery pull-down resistor should be
applied to the CC lines.

pinctrl-0

phandles

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

This property is required.

pinctrl-names

string-array

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

This property is required.

gpios

phandle-array

This property is required.

gpio-names

string-array

Valid names of GPIO:
"vbus-detect": GPIO for VBUS detect (must)
"vbus-discharge": GPIO for VBUS discharge (option)
"vconn-discharge": GPIO for VCONN discharge (option)

This property is required.

adc-measure-timer-trigger-rate

int

Rate of timer-triggered EADC measurement (Hz).
This is ignored when none of above is specified.
The default is chosen by following BSP sample,
and is to update UTCPD in a proper rate.

Default value: 100

reset-names

string-array

Name of each reset

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.