18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * MMIO/IRQ and platform data for SH7760 I2C channels 48c2ecf20Sopenharmony_ci */ 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ci#ifndef _I2C_SH7760_H_ 78c2ecf20Sopenharmony_ci#define _I2C_SH7760_H_ 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ci#define SH7760_I2C_DEVNAME "sh7760-i2c" 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ci#define SH7760_I2C0_MMIO 0xFE140000 128c2ecf20Sopenharmony_ci#define SH7760_I2C0_MMIOEND 0xFE14003B 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ci#define SH7760_I2C1_MMIO 0xFE150000 158c2ecf20Sopenharmony_ci#define SH7760_I2C1_MMIOEND 0xFE15003B 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_cistruct sh7760_i2c_platdata { 188c2ecf20Sopenharmony_ci unsigned int speed_khz; 198c2ecf20Sopenharmony_ci}; 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_ci#endif 22