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

adi,max32-uart

Vendor: Analog Devices, Inc.

Note

An implementation of a driver matching this compatible is available in drivers/serial/uart_max32.c.

Description

These nodes are “uart” bus nodes.

MAX32 UART

Properties

Properties not inherited from the base binding file.

Name

Type

Details

pinctrl

phandles

clock-source

int

Clock source to be used by the UART peripheral. The following options
are available:
- 0: "ADI_MAX32_PRPH_CLK_SRC_PCLK" Peripheral clock
- 1: "ADI_MAX32_PRPH_CLK_SRC_EXTCLK" External Clock
- 2: "ADI_MAX32_PRPH_CLK_SRC_IBRO" Internal Baud Rate Oscillator
- 3: "ADI_MAX32_PRPH_CLK_SRC_ERFO" External Radio Frequency Oscillator
- 4: "ADI_MAX32_PRPH_CLK_SRC_ERTCO" External Real-Time Clock Oscillator
- 5: "ADI_MAX32_PRPH_CLK_SRC_INRO" Internal Ring Oscillator
The target device might not support all option please take a look on
target device user guide

Legal values: 0, 1, 2, 3, 4, 5

clock-frequency

int

Clock frequency information for UART operation

current-speed

int

Initial baud rate setting for UART

hw-flow-control

boolean

Set to enable RTS/CTS flow control at boot time

parity

string

Configures the parity of the adapter. Enumeration id 0 for none, 1 for odd
and 2 for even parity. Default to none if not specified.

Legal values: 'none', 'odd', 'even'

stop-bits

string

Sets the number of stop bits.

Legal values: '0_5', '1', '1_5', '2'

data-bits

int

Sets the number of data bits.

Legal values: 5, 6, 7, 8, 9

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.