summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-rmobile/r8a7790.h
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>2014-11-06 16:03:47 +0900
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>2014-11-10 09:46:47 +0900
commita75d7f0c2b391e96e422634c69526e5807a9ab75 (patch)
treecfb1f4bf7f9320e6a17f47acf1fab198d20978e9 /arch/arm/include/asm/arch-rmobile/r8a7790.h
parent9502d03674e220d3f9efbb4420abe8d167460ba6 (diff)
arm: rmobile: Move sh-i2c of the address defined to common header
R-Car SoCs of rmobile have same IP of sh-i2c, and have same address. This moves sh-i2c of the address defined to rcar-base.h as common header of R-Car SoCs, and headers of each SoCs. Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'arch/arm/include/asm/arch-rmobile/r8a7790.h')
-rw-r--r--arch/arm/include/asm/arch-rmobile/r8a7790.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-rmobile/r8a7790.h b/arch/arm/include/asm/arch-rmobile/r8a7790.h
index 6ef665d583..de1486933a 100644
--- a/arch/arm/include/asm/arch-rmobile/r8a7790.h
+++ b/arch/arm/include/asm/arch-rmobile/r8a7790.h
@@ -11,6 +11,10 @@
#include "rcar-base.h"
+/* SH-I2C */
+#define CONFIG_SYS_I2C_SH_BASE2 0xE6520000
+#define CONFIG_SYS_I2C_SH_BASE3 0xE60B0000
+
#define R8A7790_CUT_ES2X 2
#define IS_R8A7790_ES2() \
(rmobile_get_cpu_rev_integer() == R8A7790_CUT_ES2X)