mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
arm, imx6, i2c: add I2C4 for MX6DL
add I2C4 modul for MX6DL based boards. Signed-off-by: Heiko Schocher <hs@denx.de>
This commit is contained in:
parent
ab87fc6bbd
commit
21a26940f9
5 changed files with 32 additions and 12 deletions
|
@ -67,9 +67,12 @@ static void * const i2c_bases[] = {
|
|||
#ifdef I2C3_BASE_ADDR
|
||||
(void *)I2C3_BASE_ADDR,
|
||||
#endif
|
||||
#ifdef I2C4_BASE_ADDR
|
||||
(void *)I2C4_BASE_ADDR,
|
||||
#endif
|
||||
};
|
||||
|
||||
/* i2c_index can be from 0 - 2 */
|
||||
/* i2c_index can be from 0 - 3 */
|
||||
int setup_i2c(unsigned i2c_index, int speed, int slave_addr,
|
||||
struct i2c_pads_info *p)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue