diff mbox

[2/8] EXYNOS: Add I2C base address.

Message ID 1337343153-3019-3-git-send-email-rajeshwari.s@samsung.com
State New
Headers show

Commit Message

Rajeshwari Shinde May 18, 2012, 12:12 p.m. UTC
This patch adds the base address for I2C.

Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com>
Signed-off-by: Rajeshwari Shinde <rajeshwari.s@samsung.com>
---
 arch/arm/include/asm/arch-exynos/cpu.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

Comments

Simon Glass June 1, 2012, 1:07 a.m. UTC | #1
On Fri, May 18, 2012 at 5:12 AM, Rajeshwari Shinde <rajeshwari.s@samsung.com
> wrote:

> This patch adds the base address for I2C.
>
> Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com>
> Signed-off-by: Rajeshwari Shinde <rajeshwari.s@samsung.com>
>

Acked-by: Simon Glass <sjg@chromium.org>


> ---
>  arch/arm/include/asm/arch-exynos/cpu.h |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/include/asm/arch-exynos/cpu.h
> b/arch/arm/include/asm/arch-exynos/cpu.h
> index ac4ddc7..175fd12 100644
> --- a/arch/arm/include/asm/arch-exynos/cpu.h
> +++ b/arch/arm/include/asm/arch-exynos/cpu.h
> @@ -47,6 +47,7 @@
>  #define EXYNOS4_SROMC_BASE             0x12570000
>  #define EXYNOS4_USBPHY_BASE            0x125B0000
>  #define EXYNOS4_UART_BASE              0x13800000
> +#define EXYNOS4_I2C_BASE               0x13860000
>  #define EXYNOS4_ADC_BASE               0x13910000
>  #define EXYNOS4_PWMTIMER_BASE          0x139D0000
>  #define EXYNOS4_MODEM_BASE             0x13A00000
> @@ -73,6 +74,7 @@
>  #define EXYNOS5_USBOTG_BASE            0x12480000
>  #define EXYNOS5_USBPHY_BASE            0x12480000
>  #define EXYNOS5_UART_BASE              0x12C00000
> +#define EXYNOS5_I2C_BASE               0x12C60000
>  #define EXYNOS5_PWMTIMER_BASE          0x12DD0000
>  #define EXYNOS5_GPIO_PART2_BASE                0x13400000
>  #define EXYNOS5_FIMD_BASE              0x14400000
> @@ -132,6 +134,7 @@ SAMSUNG_BASE(adc, ADC_BASE)
>  SAMSUNG_BASE(clock, CLOCK_BASE)
>  SAMSUNG_BASE(sysreg, SYSREG_BASE)
>  SAMSUNG_BASE(fimd, FIMD_BASE)
> +SAMSUNG_BASE(i2c, I2C_BASE)
>  SAMSUNG_BASE(mipi_dsim, MIPI_DSIM_BASE)
>  SAMSUNG_BASE(gpio_part1, GPIO_PART1_BASE)
>  SAMSUNG_BASE(gpio_part2, GPIO_PART2_BASE)
> --
> 1.7.4.4
>
>
diff mbox

Patch

diff --git a/arch/arm/include/asm/arch-exynos/cpu.h b/arch/arm/include/asm/arch-exynos/cpu.h
index ac4ddc7..175fd12 100644
--- a/arch/arm/include/asm/arch-exynos/cpu.h
+++ b/arch/arm/include/asm/arch-exynos/cpu.h
@@ -47,6 +47,7 @@ 
 #define EXYNOS4_SROMC_BASE		0x12570000
 #define EXYNOS4_USBPHY_BASE		0x125B0000
 #define EXYNOS4_UART_BASE		0x13800000
+#define EXYNOS4_I2C_BASE		0x13860000
 #define EXYNOS4_ADC_BASE		0x13910000
 #define EXYNOS4_PWMTIMER_BASE		0x139D0000
 #define EXYNOS4_MODEM_BASE		0x13A00000
@@ -73,6 +74,7 @@ 
 #define EXYNOS5_USBOTG_BASE		0x12480000
 #define EXYNOS5_USBPHY_BASE		0x12480000
 #define EXYNOS5_UART_BASE		0x12C00000
+#define EXYNOS5_I2C_BASE		0x12C60000
 #define EXYNOS5_PWMTIMER_BASE		0x12DD0000
 #define EXYNOS5_GPIO_PART2_BASE		0x13400000
 #define EXYNOS5_FIMD_BASE		0x14400000
@@ -132,6 +134,7 @@  SAMSUNG_BASE(adc, ADC_BASE)
 SAMSUNG_BASE(clock, CLOCK_BASE)
 SAMSUNG_BASE(sysreg, SYSREG_BASE)
 SAMSUNG_BASE(fimd, FIMD_BASE)
+SAMSUNG_BASE(i2c, I2C_BASE)
 SAMSUNG_BASE(mipi_dsim, MIPI_DSIM_BASE)
 SAMSUNG_BASE(gpio_part1, GPIO_PART1_BASE)
 SAMSUNG_BASE(gpio_part2, GPIO_PART2_BASE)