xref: /linux/arch/sh/include/asm/i2c-sh7760.h (revision 498495dba268b20e8eadd7fe93c140c68b6cc9d2)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * MMIO/IRQ and platform data for SH7760 I2C channels
4  */
5 
6 #ifndef _I2C_SH7760_H_
7 #define _I2C_SH7760_H_
8 
9 #define SH7760_I2C_DEVNAME	"sh7760-i2c"
10 
11 #define SH7760_I2C0_MMIO	0xFE140000
12 #define SH7760_I2C0_MMIOEND	0xFE14003B
13 
14 #define SH7760_I2C1_MMIO	0xFE150000
15 #define SH7760_I2C1_MMIOEND	0xFE15003B
16 
17 struct sh7760_i2c_platdata {
18 	unsigned int speed_khz;
19 };
20 
21 #endif
22