cdns,i2c

Vendor: Cadence Design Systems Inc.

Note

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

Description

These nodes are “i2c” bus nodes.

Cadence I2C controller.

Example I2C device tree node:
  i2c@e0004000 {
      compatible = "cdns,i2c";
      clocks = <&clkc 38>;
      interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
      reg = <0xe0004000 0x1000>;
      clock-frequency = <400000>;
      #address-cells = <1>;
      #size-cells = <0>;
      fifo-depth = <8>;
  };

Properties

Properties not inherited from the base binding file.

Name

Type

Details

clock-frequency

int

Desired I2C bus clock frequency in Hz.

This property is required.

fifo-depth

int

Size of the data FIFO in bytes.

This property is required.

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

resets

phandle-array

Reset information

reset-names

string-array

Name of each reset