ARM: EXYNOS: Add AUXDATA for i2c controllers
authorThomas Abraham <thomas.abraham@linaro.org>
Tue, 15 May 2012 06:56:57 +0000 (15:56 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Tue, 15 May 2012 22:03:46 +0000 (07:03 +0900)
Use AUXDATA to set the device names for controller instances
discovered from device tree.

Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-exynos/mach-exynos5-dt.c

index 4711c8920e37830d7bda8cb32ee03ed1ae70730a..cf5d2228e9985eb3cfdfde1b3b25a78baf8ae5ca 100644 (file)
@@ -43,6 +43,10 @@ static const struct of_dev_auxdata exynos5250_auxdata_lookup[] __initconst = {
                                "exynos4210-uart.2", NULL),
        OF_DEV_AUXDATA("samsung,exynos4210-uart", EXYNOS5_PA_UART3,
                                "exynos4210-uart.3", NULL),
+       OF_DEV_AUXDATA("samsung,s3c2440-i2c", EXYNOS5_PA_IIC(0),
+                               "s3c2440-i2c.0", NULL),
+       OF_DEV_AUXDATA("samsung,s3c2440-i2c", EXYNOS5_PA_IIC(1),
+                               "s3c2440-i2c.1", NULL),
        OF_DEV_AUXDATA("arm,pl330", EXYNOS5_PA_PDMA0, "dma-pl330.0", NULL),
        OF_DEV_AUXDATA("arm,pl330", EXYNOS5_PA_PDMA1, "dma-pl330.1", NULL),
        OF_DEV_AUXDATA("arm,pl330", EXYNOS5_PA_MDMA1, "dma-pl330.2", NULL),