snps,designware-i2c

Description

These nodes are “i2c” bus nodes.

Synopsys DesignWare I2C

Properties

Properties not inherited from the base binding file.

Name

Type

Details

sda-hold-tx

int

This property specifies the amount of time that the SDA line is held
after a transmit operation. The value is in units of I2C clock cycles.
Valid range is 0 to 0xffff.

sda-hold-rx

int

This property specifies the amount of time that the SDA line is held
after a receive operation. The value is in units of I2C clock cycles.
Valid range is 0 to 0xff.

lcnt-offset

int

A fixed offset to apply to the SCL lcnt setting.

hcnt-offset

int

A fixed offset to apply to the SCL hcnt setting.

sda-timeout-value

int

Describe the SDA stuck at low timeout value, unit in ms

Default value: 30

scl-timeout-value

int

Describe the SCL stuck at low timeout value, unit in ms

Default value: 30

fs-spike-len

int

Spike suppression length for Standard-mode (Sm), Fast-mode (Fm),
and Fast-mode Plus (Fm+) I2C transfers, expressed in units of the
I2C controller input clock (ic_clk) cycles.

The I2C-bus specification (UM10204) defines a maximum spike width
(tSP) of 50 ns for Sm, Fm, and Fm+ modes. This property programs the
controller to suppress spikes up to the corresponding number of
ic_clk cycles.

For example, with an input clock frequency of 100 MHz, a value of
5 corresponds to a spike width of 50 ns.

hs-spike-len

int

Spike suppression length for High-speed (Hs) I2C transfers,
expressed in units of the I2C controller input clock (ic_clk) cycles.

The I2C-bus specification (UM10204) defines a maximum spike width
(tSP) of 10 ns for Hs mode. This property programs the controller to
suppress spikes up to the corresponding number of ic_clk cycles.

For example, with an input clock frequency of 100 MHz, a value of
1 corresponds to a spike width of 10 ns.

clock-frequency

int

Initial clock frequency in Hz

sq-size

int

Size of the submission queue for blocking requests

Default value: 4

cq-size

int

Size of the completion queue for blocking requests

Default value: 4

pinctrl-0

phandles

Pin configuration/s for the first state. Content is specific to the
selected pin controller driver implementation.

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.

pinctrl-names

string-array

Names for the provided states. The number of names needs to match the
number of states.

vendor-id

int

Vendor ID of the device

device-id

int

Device ID of the device

class-rev

int

Optional class/revision register filter

class-rev-mask

int

Class/revision register mask

resets

phandle-array

Reset information

reset-names

string-array

Name of each reset