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