1 /*
2  * (C) Copyright 2004-2010
3  * Texas Instruments, <www.ti.com>
4  *
5  * SPDX-License-Identifier:	GPL-2.0+
6  */
7 #ifndef _OMAP5_I2C_H_
8 #define _OMAP5_I2C_H_
9 
10 #define I2C_DEFAULT_BASE	I2C_BASE1
11 
12 struct i2c {
13 	unsigned short revnb_lo;	/* 0x00 */
14 	unsigned short res1;
15 	unsigned short revnb_hi;	/* 0x04 */
16 	unsigned short res2[5];
17 	unsigned short sysc;		/* 0x10 */
18 	unsigned short res3[9];
19 	unsigned short irqstatus_raw;	/* 0x24 */
20 	unsigned short res4;
21 	unsigned short stat;		/* 0x28 */
22 	unsigned short res5;
23 	unsigned short ie;		/* 0x2C */
24 	unsigned short res6;
25 	unsigned short irqenable_clr;	/* 0x30 */
26 	unsigned short res7;
27 	unsigned short iv;		/* 0x34 */
28 	unsigned short res8[45];
29 	unsigned short syss;		/* 0x90 */
30 	unsigned short res9;
31 	unsigned short buf;		/* 0x94 */
32 	unsigned short res10;
33 	unsigned short cnt;		/* 0x98 */
34 	unsigned short res11;
35 	unsigned short data;		/* 0x9C */
36 	unsigned short res13;
37 	unsigned short res14;		/* 0xA0 */
38 	unsigned short res15;
39 	unsigned short con;		/* 0xA4 */
40 	unsigned short res16;
41 	unsigned short oa;		/* 0xA8 */
42 	unsigned short res17;
43 	unsigned short sa;		/* 0xAC */
44 	unsigned short res18;
45 	unsigned short psc;		/* 0xB0 */
46 	unsigned short res19;
47 	unsigned short scll;		/* 0xB4 */
48 	unsigned short res20;
49 	unsigned short sclh;		/* 0xB8 */
50 	unsigned short res21;
51 	unsigned short systest;		/* 0xBC */
52 	unsigned short res22;
53 	unsigned short bufstat;		/* 0xC0 */
54 	unsigned short res23;
55 };
56 
57 #endif /* _OMAP5_I2C_H_ */
58