ARM: EXYNOS: Add AUXDATA support for MSHC controllers
authorThomas Abraham <thomas.abraham@linaro.org>
Tue, 25 Sep 2012 23:54:42 +0000 (08:54 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Tue, 25 Sep 2012 23:57:25 +0000 (08:57 +0900)
Add entries if MSHC controllers in AUXDATA table for correct
device name initialization.

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

index c72b675..5edbbe9 100644 (file)
 
 #define EXYNOS4_PA_HSMMC(x)            (0x12510000 + ((x) * 0x10000))
 #define EXYNOS4_PA_DWMCI               0x12550000
+#define EXYNOS5_PA_DWMCI0              0x12200000
+#define EXYNOS5_PA_DWMCI1              0x12210000
+#define EXYNOS5_PA_DWMCI2              0x12220000
+#define EXYNOS5_PA_DWMCI3              0x12230000
 
 #define EXYNOS4_PA_HSOTG               0x12480000
 #define EXYNOS4_PA_USB_HSPHY           0x125B0000
index ef770bc..ce82f30 100644 (file)
@@ -47,6 +47,14 @@ static const struct of_dev_auxdata exynos5250_auxdata_lookup[] __initconst = {
                                "s3c2440-i2c.0", NULL),
        OF_DEV_AUXDATA("samsung,s3c2440-i2c", EXYNOS5_PA_IIC(1),
                                "s3c2440-i2c.1", NULL),
+       OF_DEV_AUXDATA("samsung,exynos5250-dw-mshc", EXYNOS5_PA_DWMCI0,
+                               "dw_mmc.0", NULL),
+       OF_DEV_AUXDATA("samsung,exynos5250-dw-mshc", EXYNOS5_PA_DWMCI1,
+                               "dw_mmc.1", NULL),
+       OF_DEV_AUXDATA("samsung,exynos5250-dw-mshc", EXYNOS5_PA_DWMCI2,
+                               "dw_mmc.2", NULL),
+       OF_DEV_AUXDATA("samsung,exynos5250-dw-mshc", EXYNOS5_PA_DWMCI3,
+                               "dw_mmc.3", NULL),
        OF_DEV_AUXDATA("samsung,exynos4210-spi", EXYNOS5_PA_SPI0,
                                "exynos4210-spi.0", NULL),
        OF_DEV_AUXDATA("samsung,exynos4210-spi", EXYNOS5_PA_SPI1,