Tony SIM | 1d7a894 | 2010-01-28 17:04:55 +0900 | [diff] [blame] | 1 | /**************************************************************************** |
| 2 | **************************************************************************** |
| 3 | *** |
| 4 | *** This header was automatically generated from a Linux kernel header |
| 5 | *** of the same name, to make information necessary for userspace to |
| 6 | *** call into the kernel available to libc. It contains only constants, |
| 7 | *** structures, and macros generated from the original header, and thus, |
| 8 | *** contains no copyrightable information. |
| 9 | *** |
| 10 | **************************************************************************** |
| 11 | ****************************************************************************/ |
| 12 | #ifndef _I2C_SH7760_H_ |
| 13 | #define _I2C_SH7760_H_ |
| 14 | |
| 15 | #define SH7760_I2C_DEVNAME "sh7760-i2c" |
| 16 | |
| 17 | #define SH7760_I2C0_MMIO 0xFE140000 |
| 18 | #define SH7760_I2C0_MMIOEND 0xFE14003B |
| 19 | #define SH7760_I2C0_IRQ 62 |
| 20 | |
| 21 | #define SH7760_I2C1_MMIO 0xFE150000 |
| 22 | #define SH7760_I2C1_MMIOEND 0xFE15003B |
| 23 | #define SH7760_I2C1_IRQ 63 |
| 24 | |
| 25 | struct sh7760_i2c_platdata { |
| 26 | unsigned int speed_khz; |
| 27 | }; |
| 28 | |
| 29 | #endif |