atmel,sam0-spi

Vendor: Atmel Corporation

Description

These nodes are “spi” bus nodes.

Atmel SAM0 SERCOM SPI controller

Properties

Properties not inherited from the base binding file.

Name

Type

Details

dipo

int

Data In Pinout

This property is required.

dopo

int

Data Out Pinout

This property is required.

clock-frequency

int

Clock frequency the SPI peripheral is being driven at

cs-gpios

phandle-array

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-spi” compatible.

Name

Type

Details

reg

array

register space

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 1 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";

#address-cells

int

number of address cells in reg property

This property is required.

Constant value: 1

#size-cells

int

number of size cells in reg property

This property is required.

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

array

interrupts for device

See Important properties for more information.

interrupts-extended

compound

extended interrupt specifier for device

interrupt-names

string-array

name of each interrupt

interrupt-parent

phandle

phandle to interrupt controller node

io-channels

phandle-array

IO channels specifiers

io-channel-names

string-array

Provided names of IO channel specifiers