atmel,sam0-uart

Vendor: Atmel Corporation

Description

These nodes are “uart” bus nodes.

Atmel SAM0 SERCOM UART driver

Properties

Node specific properties

Properties not inherited from the base binding file.

Name

Type

Details

rxpo

int

Receive Data Pinout

This property is required.

txpo

int

Transmit Data Pinout

This property is required.

collision-detection

boolean

Enable collision detection for half-duplex mode.

pinctrl-0

phandles

PORT pin configuration for RXD & TRD signals.  We expect that
the phandles will reference pinctrl nodes.  These nodes will
have a nodelabel that matches the Atmel SoC HAL defines and
be of the form p<port><pin><periph>_<inst>_<signal>.

For example the SERCOM0 on SAMR21 would be
   pinctrl-0 = <&pa5d_sercom0_pad1 &pa4d_sercom0_pad0>;

This property is required.

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'

Deprecated node specific properties

Deprecated properties not inherited from the base binding file.

(None)

Base properties

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 “atmel,sam0-uart” 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.

clock-names

string-array

name of each clock

This property is required.

dmas

phandle-array

Optional TX & RX dma specifiers.  Each specifier will have a phandle
reference to the dmac controller, the channel number, and peripheral
trigger source.

For example dmas for TX, RX on SERCOM3
   dmas = <&dmac 0 0xb>, <&dmac 0 0xa>;

dma-names

string-array

Required if the dmas property exists.  This should be "tx" and "rx"
to match the dmas property.

For example
   dma-names = "tx", "rx";

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

#address-cells

int

number of address cells in reg property

#size-cells

int

number of size cells in reg property

io-channels

phandle-array

IO channels specifiers

io-channel-names

string-array

Provided names of IO channel specifiers

wakeup-source

boolean

Property to identify that a device can be used as wake up source.

When this property is provided a specific flag is set into the
device that tells the system that the device is capable of
wake up the system.

Wake up capable devices are disabled (interruptions will not wake up
the system) by default but they can be enabled at runtime if necessary.