Tizen 2.0 Release
[platform/kernel/u-boot.git] / arch / arm / include / asm / arch-s5p64xx / i2c.h
1 /*
2  * Copyright (C) 2009 Samsung Electronics
3  * Minkyu Kang <mk7.kang@samsung.com>
4  * Kyungnin Park <kyungmin.park@samsung.com>
5  *
6  * based on s3c24x0_i2c.c
7  *
8  * This program is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU General Public License as
10  * published by the Free Software Foundation; either version 2 of
11  * the License, or (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program; if not, write to the Free Software
20  * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
21  * MA 02111-1307 USA
22  */
23
24 #ifndef __ASM_ARCH_I2C_H_
25 #define __ASM_ARCH_I2C_H_
26
27 /* I2C */
28 #define S5PC100_I2C0_BASE       0xEC100000
29 #define S5PC100_I2C1_BASE       0xEC200000
30 #define S5PC110_I2C0_BASE       0xE1800000
31 #define S5PC110_I2C2_BASE       0xE1A00000
32
33 #ifndef __ASSEMBLY__
34 typedef struct s5pc1xx_i2c {
35         volatile unsigned long  IICCON;
36         volatile unsigned long  IICSTAT;
37         volatile unsigned long  IICADD;
38         volatile unsigned long  IICDS;
39         volatile unsigned long  IICLC;
40 } s5pc1xx_i2c_t;
41 #endif
42
43 #endif