xref: /openbmc/u-boot/arch/arm/include/asm/omap_i2c.h (revision d94604d5)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 
3 #ifndef _OMAP_I2C_H
4 #define _OMAP_I2C_H
5 
6 #include <asm/arch/cpu.h>
7 
8 #ifdef CONFIG_DM_I2C
9 
10 /* Information about a GPIO bank */
11 struct omap_i2c_platdata {
12 	ulong base;	/* address of registers in physical memory */
13 	int speed;
14 	int ip_rev;
15 };
16 
17 #endif
18 
19 enum {
20 	OMAP_I2C_REV_V1 = 0,
21 	OMAP_I2C_REV_V2 = 1,
22 };
23 
24 #endif /* _OMAP_I2C_H */
25