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.

scl-gpios

phandle-array

GPIO to which the I2C SCL signal is routed. This is only required
if the target SoC does not have support in hardware for clearing
the I2C bus in case of a communication failure

sda-gpios

phandle-array

GPIO to which the I2C SDA signal is routed. This is only required
if the target SoC does not have support in hardware for clearing
the I2C bus in case of a 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.