i2c-sh7760.h 406 B

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