2 * Copyright (C) 2009 Samsung Electronics
3 * Minkyu Kang <mk7.kang@samsung.com>
4 * Kyungnin Park <kyungmin.park@samsung.com>
6 * based on s3c24x0_i2c.c
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.
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.
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,
24 #ifndef __ASM_ARCH_I2C_H_
25 #define __ASM_ARCH_I2C_H_
28 #define S5PC100_I2C0_BASE 0xEC100000
29 #define S5PC100_I2C1_BASE 0xEC200000
30 #define S5PC110_I2C0_BASE 0xE1800000
31 #define S5PC110_I2C2_BASE 0xE1A00000
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;