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