omap_i2c.h 338 B

12345678910111213141516171819202122
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef _OMAP_I2C_H
  3. #define _OMAP_I2C_H
  4. #ifdef CONFIG_DM_I2C
  5. /* Information about a GPIO bank */
  6. struct omap_i2c_plat {
  7. ulong base; /* address of registers in physical memory */
  8. int speed;
  9. int ip_rev;
  10. };
  11. #endif
  12. enum {
  13. OMAP_I2C_REV_V1 = 0,
  14. OMAP_I2C_REV_V2 = 1,
  15. };
  16. #endif /* _OMAP_I2C_H */