5 i2c switch (pca9545), U-boot deployment – Artesyn COMX-P2020 BSP User Guide (July 2014) User Manual
Page 56
U-boot Deployment
COMX-P2020 BSP User Guide (6806800L84B)
56
Set the module description string:
brd md 'ComExpress module on P2020(1.2GHz)'
Set the manufacturer string:
brd ma 'Emerson Network Power'
Save the setting to Board EEPROM:
brd save
To verify the Board EEPROM (including CRC), run the command "brd" at U-Boot:
Show the setting of the Board EEPROM:
brd
ID: COMX
Processor Family: P2020
Processor Version: B
Processor Errata: 00
Module Family: COME2
Module Version: GA
Module Errata: 00
Memory Size(MB): 2048
Module Description: ComExpress module on P2020(1.2GHz)
Manufacturer: Emerson Network Power
CRC: b5d7e834
=>
5.4.5
I2C Switch (PCA9545)
The PCA9545 is a quad bi-directional translating switch controlled via the I2C bus#1. The
device's I2C address is: 0xE0(8-bit).
Chip Probe:
i2c dev 0
Setting bus to 0
i2c probe
Valid chip addresses: 50 70
The command "i2cswitch" can be used to connect and disconnect the I2C bus:
i2cswitch
Usage
i2cswitch connect I2CBusNo - connect I2C Bus to I2C Switch
i2cswitch disconnect I2CBusNo - disconnect I2C Bus to I2C Switch