mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-13 04:06:50 +07:00
a26c20b1fa
Driver for I2C interfaces in master mode on SH7760. Signed-off-by: Manuel Lauss <mano@roarinelk.homelinux.net> Signed-off-by: Jean Delvare <khali@linux-fr.org>
23 lines
423 B
C
23 lines
423 B
C
/*
|
|
* MMIO/IRQ and platform data for SH7760 I2C channels
|
|
*/
|
|
|
|
#ifndef _I2C_SH7760_H_
|
|
#define _I2C_SH7760_H_
|
|
|
|
#define SH7760_I2C_DEVNAME "sh7760-i2c"
|
|
|
|
#define SH7760_I2C0_MMIO 0xFE140000
|
|
#define SH7760_I2C0_MMIOEND 0xFE14003B
|
|
#define SH7760_I2C0_IRQ 62
|
|
|
|
#define SH7760_I2C1_MMIO 0xFE150000
|
|
#define SH7760_I2C1_MMIOEND 0xFE15003B
|
|
#define SH7760_I2C1_IRQ 63
|
|
|
|
struct sh7760_i2c_platdata {
|
|
unsigned int speed_khz;
|
|
};
|
|
|
|
#endif
|