i2c-bcm2711

Driver for inter-integrated circuits on the Raspberry Pi 4 Board (Model B).

Syntax:

i2c-bcm2711 [board_specific_option [board_specific_option]...]
         [generic_option [generic_option]...]]

Runs on:

QNX OS

Options:

There are Raspberry Pi 4 board-specific (single-dash) and generic (double-dash) options available.
CAUTION:
The Raspberry Pi 4 board-specific options must always appear before generic options, otherwise the driver fails to initialize. For example, the correct sequence would as follows:
i2c-bcm2711 -v --u1
However, if you incorrectly issue the command in the wrong sequence as shown here, it will fail:
i2c-bcm2711 --u1 -v 

Raspberry Pi 4 board-specific options:

These are the board-specific options available for this driver.

-i irq
The I2C interrupt event number. The default is 149.
-p address
The I2C physical base address.
-s slave_address
The slave address. The default is set as 0.
-v
Set to be verbose.

Generic options:

These are generic options for the driver.

--b bus_speed
The default bus speed. If this option isn't specified, the default is 100000.
--u unit
The unit number to append to the device name prefix (/dev/i2c). The default is 0.

Example:

Specify a port of address 0xFE804000 with an IRQ of 149 to create /dev/i2c1 device:
i2c-bcm2711 -p0xfe804000 --b100000 --u1
Page updated: