mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-11 07:13:21 +09:00
25 lines
369 B
C
25 lines
369 B
C
![]() |
/* SPDX-License-Identifier: GPL-2.0 */
|
||
|
|
||
|
#ifndef _OMAP_I2C_H
|
||
|
#define _OMAP_I2C_H
|
||
|
|
||
|
#include <asm/arch/cpu.h>
|
||
|
|
||
|
#ifdef CONFIG_DM_I2C
|
||
|
|
||
|
/* Information about a GPIO bank */
|
||
|
struct omap_i2c_platdata {
|
||
|
ulong base; /* address of registers in physical memory */
|
||
|
int speed;
|
||
|
int ip_rev;
|
||
|
};
|
||
|
|
||
|
#endif
|
||
|
|
||
|
enum {
|
||
|
OMAP_I2C_REV_V1 = 0,
|
||
|
OMAP_I2C_REV_V2 = 1,
|
||
|
};
|
||
|
|
||
|
#endif /* _OMAP_I2C_H */
|