summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-rmobile/rcar-base.h
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>2014-11-06 07:03:47 (GMT)
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>2014-11-10 00:46:47 (GMT)
commita75d7f0c2b391e96e422634c69526e5807a9ab75 (patch)
treecfb1f4bf7f9320e6a17f47acf1fab198d20978e9 /arch/arm/include/asm/arch-rmobile/rcar-base.h
parent9502d03674e220d3f9efbb4420abe8d167460ba6 (diff)
downloadu-boot-fsl-qoriq-a75d7f0c2b391e96e422634c69526e5807a9ab75.tar.xz
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/rcar-base.h')
-rw-r--r--arch/arm/include/asm/arch-rmobile/rcar-base.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-rmobile/rcar-base.h b/arch/arm/include/asm/arch-rmobile/rcar-base.h
index 2c6e50c..7babc4e 100644
--- a/arch/arm/include/asm/arch-rmobile/rcar-base.h
+++ b/arch/arm/include/asm/arch-rmobile/rcar-base.h
@@ -29,6 +29,14 @@
#define SCIF4_BASE 0xE6EE0000
#define SCIF5_BASE 0xE6EE8000
+/*
+ * SH-I2C
+ * Ch2 and ch3 are different address. These are defined
+ * in the header of each SoCs.
+ */
+#define CONFIG_SYS_I2C_SH_BASE0 0xE6500000
+#define CONFIG_SYS_I2C_SH_BASE1 0xE6510000
+
#define S3C_BASE 0xE6784000
#define S3C_INT_BASE 0xE6784A00
#define S3C_MEDIA_BASE 0xE6784B00