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.

gpio-i2c

Vendor: Generic or vendor-independent

Description

These nodes are “i2c” bus nodes.

GPIO bitbanging I2C support

Properties

Properties not inherited from the base binding file.

Name

Type

Details

scl-gpios

phandle-array

GPIO to which the SCL pin of the I2C bus is connected.

This property is required.

sda-gpios

phandle-array

GPIO to which the SDA pin of the I2C bus is connected.

This property is required.

clock-frequency

int

Initial clock frequency in Hz