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