Other Parts Discussed in Thread: BQ32000, TPS65217
Hi all,
I am working on an AM3352 based custom board. I am using TI SDK 4.0 and had a custom uboot based on the AM335x EVM.
We don't have board detect EEPROM and we don't use I2C0 for anything. We have TPS65217C and BQ32000 on I2C1.
I have done the pin mux as follow:
static struct module_pin_mux i2c1_pin_mux[] = {
{OFFSET(spi0_d1), (MODE(2) | RXACTIVE |
PULLUP_EN | SLEWCTRL)}, /* I2C_DATA */
{OFFSET(spi0_cs0), (MODE(2) | RXACTIVE |
PULLUP_EN | SLEWCTRL)}, /* I2C_SCLK */
{-1},
};
I am calling the i2c_set_bus_num(1); in the board file to switch to I2C1.
ISSUE:
When I boot the U-boot and try to probe the chips on I2C1. U-boot throw below errors.
Hit any key to stop autoboot: 0
=> i2c dev 1
Setting bus to 1
=> i2c probe
Valid chip addresses:Timed out in wait_for_event: status=0100
Check if pads/pull-ups of bus are properly configured
Timed out in wait_for_event: status=0000
Check if pads/pull-ups of bus are properly configured
Timed out in wait_for_event: status=0000
Check if pads/pull-ups of bus are properly configured
Timed out in wait_for_event: status=0000
Check if pads/pull-ups of bus are properly configured
Timed out in wait_for_event: status=0000
Same way it shows below errors in Kernel boot:
[ 2.561037] omap_i2c 4802a000.i2c: controller timed out
[ 2.591040] tps65217 1-0024: Read from reg 0x16 failed
[ 2.596211] vdds_dpr: failed to enable
[ 2.599996] tps65217 1-0024: failed to register tps65217-pmic regulator
[ 2.606711] tps65217-pmic: probe of tps65217-pmic failed with error -110
[ 3.681025] omap_i2c 4802a000.i2c: controller timed out
[ 3.711029] tps65217 1-0024: Failed to read revision register: -110
[ 3.717817] tps65217: probe of 1-0024 failed with error -110
[ 3.724058] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 400 kHz
[ 3.730731] hctosys: unable to open rtc device (rtc0)
[ 3.736579] wlan-en-regulator: disabling
Please suggest possible cause of this issue.
Thank you,
Divyeshkumar M