The latest development version of this page may be more current than this released 3.7.0 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

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.