Other Parts Discussed in Thread: AM5728
Tool/software: Linux
Hello,
On our custom AM5728 design, Instead of I2C1, we have used I2C3 port to control PMIC. We tried to change I2C1 on MLO and uboot source code but we have problems.
I'm using Linux Ubuntu 16.04 and version of SDK (03.03.00.04). Our aim is to change AM5728 I2C bus from I2C1 to I2C3 to control PMIC (On our custom board we've connected AM5728 I2C3 to PMIC I2C bus). We've made these changes:
1- (Uboot source dir)/arch/arm/dts/am57xx-beagle-x15.dts in this file we've added i2c3 settings for PMIC control.
2- (Uboot source dir)/include/configs/ti_armv7_omap.h in this file under I2C IP Block we've changed to 3 from 1 for this definition (#define CONFIG_SYS_OMAP24_I2C_SLAVE 3)
3- (Uboot source dir)/arch/arm/include/asm/arch-omap5/i2c.h/ in this file we've changed to 3 from 1 this definition (#define I2C_DEFAULT_BASE I2C_BASE3)
4- (Uboot source dir)/board/ti/am57xx/mux_data.h in this file we've removed pin mux i2c1 and added i2c3 pin mux under these struct const struct pad_conf_entry early_padconf and const struct pad_conf_entry core_padconf_array_essential_x15[]
5- (Uboot source dir)/arch/arm/cpu/armv7/omap5/hw_data.c in this file under enable_basic_clocks function we've added (*prcm)->cm_l4per_i2c3_clkctrl,
Is there any other files that we need to change in order to get result?
We've added Uboot debug console for our custom board as an attachment. You can see the error below.
Best regards
Alican