blob: ec7a145f17991a14083ef390944700767ac26fec [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
Jean-Jacques Hiblot58994fc2018-12-07 14:50:42 +01006#ifdef CONFIG_DM_I2C
7
8/* Information about a GPIO bank */
Simon Glassb75b15b2020-12-03 16:55:23 -07009struct omap_i2c_plat {
Jean-Jacques Hiblot58994fc2018-12-07 14:50:42 +010010 ulong base; /* address of registers in physical memory */
11 int speed;
12 int ip_rev;
13};
14
15#endif
16
17enum {
18 OMAP_I2C_REV_V1 = 0,
19 OMAP_I2C_REV_V2 = 1,
20};
21
22#endif /* _OMAP_I2C_H */