blob: 50e31ca3b9ab6361a2f35b1e329c8c1c66d6ffe4 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Sergey Kubushyne8f39122007-08-10 20:26:18 +02002/*
Karicheri, Muralidharanf89c87f2014-04-04 13:16:51 -04003 * (C) Copyright 2004-2014
Sergey Kubushyne8f39122007-08-10 20:26:18 +02004 * Texas Instruments, <www.ti.com>
5 *
6 * Some changes copyright (C) 2007 Sergey Kubushyn <ksi@koi8.net>
Sergey Kubushyne8f39122007-08-10 20:26:18 +02007 */
Karicheri, Muralidharanf89c87f2014-04-04 13:16:51 -04008#ifndef _I2C_DEFS_H_
9#define _I2C_DEFS_H_
Sergey Kubushyne8f39122007-08-10 20:26:18 +020010
Nick Thompson4c1e5092009-11-12 11:06:08 -050011#ifndef CONFIG_SOC_DA8XX
Sergey Kubushyne8f39122007-08-10 20:26:18 +020012#define I2C_BASE 0x01c21000
Nick Thompson4c1e5092009-11-12 11:06:08 -050013#else
14#define I2C_BASE 0x01c22000
15#endif
Sergey Kubushyne8f39122007-08-10 20:26:18 +020016
Sergey Kubushyne8f39122007-08-10 20:26:18 +020017#endif