atmel,sam0-i2c

Vendor: Atmel Corporation

Description

These nodes are “i2c” bus nodes.

Atmel SAM0 series SERCOM I2C node

Properties

Properties not inherited from the base binding file.

Name

Type

Details

clock-frequency

int

Initial clock frequency in Hz

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-i2c” 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";

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