gpio-i2c

Vendor: Generic or vendor-independent

Note

An implementation of a driver matching this compatible is available in drivers/i2c/i2c_gpio.c.

Description

These nodes are “i2c” bus nodes.

GPIO bitbanging I2C support

Properties

Properties not inherited from the base binding file.

Name

Type

Details

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

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.