home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / src / linux-headers-2.6.28-15 / arch / sh / include / asm / i2c-sh7760.h < prev    next >
Encoding:
C/C++ Source or Header  |  2008-12-24  |  423 b   |  23 lines

  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
  12. #define SH7760_I2C0_IRQ        62
  13.  
  14. #define SH7760_I2C1_MMIO    0xFE150000
  15. #define SH7760_I2C1_MMIOEND    0xFE15003B
  16. #define SH7760_I2C1_IRQ        63
  17.  
  18. struct sh7760_i2c_platdata {
  19.     unsigned int speed_khz;
  20. };
  21.  
  22. #endif
  23.