atmel,sam-i2c-twi

Vendor: Atmel Corporation

Description

These nodes are “i2c” bus nodes.

Atmel SAM Family I2C (TWI) node

Properties

Properties not inherited from the base binding file.

Name

Type

Details

peripheral-id

int

peripheral ID

This property is required.

pinctrl-0

phandles

PIO pin configuration for TWCK & TWD 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 I2C on SAM3x would be
   pinctrl-0 = <&pa18a_twi0_twck0 &pa17a_twi0_twd0>;

This property is required.

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,sam-i2c-twi” 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.

#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

clocks

phandle-array

Clock gate information

clock-names

string-array

name of each clock

dmas

phandle-array

DMA channels specifiers

dma-names

string-array

Provided names of DMA channel specifiers

io-channels

phandle-array

IO channels specifiers

io-channel-names

string-array

Provided names of IO channel specifiers