1 /* SPDX-License-Identifier: GPL-2.0+ */
4 * Texas Instruments, <www.ti.com>
9 #define I2C_BASE1 0x44E0B000
10 #define I2C_BASE2 0x4802A000
11 #define I2C_BASE3 0x4819C000
13 #define I2C_DEFAULT_BASE I2C_BASE1
16 unsigned short revnb_lo; /* 0x00 */
18 unsigned short revnb_hi; /* 0x04 */
19 unsigned short res2[5];
20 unsigned short sysc; /* 0x10 */
21 unsigned short res3[9];
22 unsigned short irqstatus_raw; /* 0x24 */
24 unsigned short stat; /* 0x28 */
26 unsigned short ie; /* 0x2C */
28 unsigned short irqenable_clr; /* 0x30 */
30 unsigned short iv; /* 0x34 */
31 unsigned short res8[45];
32 unsigned short syss; /* 0x90 */
34 unsigned short buf; /* 0x94 */
36 unsigned short cnt; /* 0x98 */
38 unsigned short data; /* 0x9C */
40 unsigned short res14; /* 0xA0 */
42 unsigned short con; /* 0xA4 */
44 unsigned short oa; /* 0xA8 */
46 unsigned short sa; /* 0xAC */
48 unsigned short psc; /* 0xB0 */
50 unsigned short scll; /* 0xB4 */
52 unsigned short sclh; /* 0xB8 */
54 unsigned short systest; /* 0xBC */
56 unsigned short bufstat; /* 0xC0 */
60 #define I2C_IP_CLK 48000000
61 #define I2C_INTERNAL_SAMPLING_CLK 12000000
63 #endif /* _I2C_AM33XX_H_ */