blob: c1695cbbee35e4e5d964b97e7702088a659083a8 [file] [log] [blame]
Jean-Jacques Hiblot58994fc2018-12-07 14:50:42 +01001/* 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 */
11struct omap_i2c_platdata {
12 ulong base; /* address of registers in physical memory */
13 int speed;
14 int ip_rev;
15};
16
17#endif
18
19enum {
20 OMAP_I2C_REV_V1 = 0,
21 OMAP_I2C_REV_V2 = 1,
22};
23
24#endif /* _OMAP_I2C_H */