microchip,mec5-uart

Vendor: Microchip Technology Inc.

Note

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

Description

These nodes are “uart” bus nodes.

Microchip MEC5 UART

Properties

Properties not inherited from the base binding file.

Name

Type

Details

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.

fifo-mode-disable

boolean

Disable 16550 FIFO mode. Both 16-byte TX and RX FIFOs will be
disabled. UART will revert to a one byte holding register for
TX and RX.

rx-fifo-trig

string

RX FIFO byte count trigger limit. When the number of received bytes
reaches this level the UART will signal an interrupt if enabled.

Default value: 8

Legal values: '1', '4', '8', '14'

use-extclk

boolean

Optional source of an external UART clock. If present the
driver will use this pin as the UART input clock source.
The pin should have a 1.8432 MHz clock waveform for normal
UART BAUD rates or 48 MHz for high speed BAUD rates.
Refer to data sheet for the pin(s) available as external UART
clock input. The pin should be added to the default PINCTRL list.
Example using external 1.8432MHz clock on MEC5 external UART clock pin.

  clock-frequency = <1843200>;
  pinctrl-0 = < &uart1_tx_gpio170 &uart1_tx_gpio171 &uart_clk_gpio025>;
  pinctrl-names = "default";

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-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.