i2c-sh7760.h 423 B

1234567891011121314151617181920212223
  1. /*
  2. * MMIO/IRQ and platform data for SH7760 I2C channels
  3. */
  4. #ifndef _I2C_SH7760_H_
  5. #define _I2C_SH7760_H_
  6. #define SH7760_I2C_DEVNAME "sh7760-i2c"
  7. #define SH7760_I2C0_MMIO 0xFE140000
  8. #define SH7760_I2C0_MMIOEND 0xFE14003B
  9. #define SH7760_I2C0_IRQ 62
  10. #define SH7760_I2C1_MMIO 0xFE150000
  11. #define SH7760_I2C1_MMIOEND 0xFE15003B
  12. #define SH7760_I2C1_IRQ 63
  13. struct sh7760_i2c_platdata {
  14. unsigned int speed_khz;
  15. };
  16. #endif