Manuel Lauss | a26c20b | 2008-04-22 22:16:47 +0200 | [diff] [blame] | 1 | /* |
| 2 | * MMIO/IRQ and platform data for SH7760 I2C channels |
| 3 | */ |
| 4 | |
| 5 | #ifndef _I2C_SH7760_H_ |
| 6 | #define _I2C_SH7760_H_ |
| 7 | |
| 8 | #define SH7760_I2C_DEVNAME "sh7760-i2c" |
| 9 | |
| 10 | #define SH7760_I2C0_MMIO 0xFE140000 |
| 11 | #define SH7760_I2C0_MMIOEND 0xFE14003B |
Manuel Lauss | a26c20b | 2008-04-22 22:16:47 +0200 | [diff] [blame] | 12 | |
| 13 | #define SH7760_I2C1_MMIO 0xFE150000 |
| 14 | #define SH7760_I2C1_MMIOEND 0xFE15003B |
Manuel Lauss | a26c20b | 2008-04-22 22:16:47 +0200 | [diff] [blame] | 15 | |
| 16 | struct sh7760_i2c_platdata { |
| 17 | unsigned int speed_khz; |
| 18 | }; |
| 19 | |
| 20 | #endif |