This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

espressif,esp32-i2c

Vendor: Espressif Systems

Description

These nodes are “i2c” bus nodes.

ESP32 I2C

Properties

Properties not inherited from the base binding file.

Name

Type

Details

pinctrl-0

phandles

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

This property is required.

pinctrl-names

string-array

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

This property is required.

sda-pin

int

SDA pin information is only required if
the target SoC does not have support in
hardware for clearing the I2C bus in case
of communication failure

scl-pin

int

SCL pin information is only required if
the target SoC does not have support in
hardware for clearing the I2C bus in case
of communication failure

tx-lsb

boolean

Set I2C TX data as LSB

rx-lsb

boolean

Set I2C RX data as LSB

clock-frequency

int

Initial clock frequency in Hz

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.