mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-31 06:18:51 +09:00
![Jean-Jacques Hiblot](/assets/img/avatar_default.png)
This allows the driver to be used without OF_CONTROL. AM335x support DM_SPL but does not use SPL_OF_CONTROL. Enabling DM_I2C in SPL thus requires that the omap I2C can be passed platdata. Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Heiko Schocher <hs@denx.de>
21 lines
411 B
C
21 lines
411 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* (C) Copyright 2012
|
|
* Texas Instruments, <www.ti.com>
|
|
*/
|
|
#ifndef _I2C_AM33XX_H_
|
|
#define _I2C_AM33XX_H_
|
|
|
|
#include <asm/omap_i2c.h>
|
|
|
|
#define I2C_BASE1 0x44E0B000
|
|
#define I2C_BASE2 0x4802A000
|
|
#define I2C_BASE3 0x4819C000
|
|
|
|
#define I2C_DEFAULT_BASE I2C_BASE1
|
|
|
|
#define I2C_IP_CLK 48000000
|
|
#define I2C_INTERNAL_SAMPLING_CLK 12000000
|
|
|
|
#endif /* _I2C_AM33XX_H_ */
|