wch,00x-afio

Vendor: WinChipHead

Note

An implementation of a driver matching this compatible is available in drivers/pinctrl/pinctrl_wch_00x_afio.c.

Description

WCH CH32V00x Alternate Function (AFIO)

Properties

Top level properties

These property descriptions apply to “wch,00x-afio” nodes themselves. This page also describes child node properties in the following sections.

Properties not inherited from the base binding file.

(None)

Grandchild node properties

Name

Type

Details

slew-rate

string

Default value: max-speed-30mhz

Legal values: 'max-speed-30mhz'

pinmux

array

An array of pins sharing the same group properties. The pins should
be defined using pre-defined macros.

This property is required.

bias-high-impedance

boolean

high impedance mode ("third-state", "floating")

bias-pull-up

boolean

enable pull-up resistor

bias-pull-down

boolean

enable pull-down resistor

drive-push-pull

boolean

drive actively high and low

drive-open-drain

boolean

drive with open drain (hardware AND)

output-low

boolean

set the pin to output mode with low level

output-high

boolean

set the pin to output mode with high level