i2c-dwc-rpi5

QNX Board Support Packages8.0BSP User's GuideRaspberry Pi 5raspberrypi.orgBroadcomARM

Driver for inter-integrated circuits on the Raspberry Pi 5 Board.

Syntax:

 i2c-dwc-rpi5 [board_specific_option
              [board_specific_option]...]
              [generic_option
              [generic_option]...]]

Runs on:

QNX OS

Options:

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

Raspberry Pi 5 board-specific options:

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

-c clockspeed
Input clock. If this option isn't specified, the default is set as 200000000.
-q irq
The I2C interrupt event number. The default is 168.
-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
The default bus speed. If this option isn't specified, the default is 100000.
--u unit
The unit number to spend to the device name. The default is 0.

Example:

Specify a port of address 0x1f00074000 with an IRQ of 168 to the first unit:
 i2c-dwc-rpi5 -p0x1f00074000 -c200000000 -q0xa8 --u1
Page updated: