diff options
author | Wolfram Sang <w.sang@pengutronix.de> | 2010-10-11 06:55:22 -0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-10-11 09:22:10 -0400 |
commit | 774305d0ee105f75d44699e2c94ef3bf9c5e2d90 (patch) | |
tree | 7232d56d8f1888eaeefd87ffeaa402a0a38dc7a9 /arch/arm/mach-mx3 | |
parent | 203a0734709779fa40552cd9bb7c4dd325b5131f (diff) |
arm: imx35: add esdhc-device to MX35-platform
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx3')
-rw-r--r-- | arch/arm/mach-mx3/clock-imx35.c | 6 | ||||
-rw-r--r-- | arch/arm/mach-mx3/devices-imx35.h | 7 |
2 files changed, 10 insertions, 3 deletions
diff --git a/arch/arm/mach-mx3/clock-imx35.c b/arch/arm/mach-mx3/clock-imx35.c index 708c2b36cf06..f08b407cdb3f 100644 --- a/arch/arm/mach-mx3/clock-imx35.c +++ b/arch/arm/mach-mx3/clock-imx35.c | |||
@@ -459,9 +459,9 @@ static struct clk_lookup lookups[] = { | |||
459 | _REGISTER_CLOCK("imx-epit.0", NULL, epit1_clk) | 459 | _REGISTER_CLOCK("imx-epit.0", NULL, epit1_clk) |
460 | _REGISTER_CLOCK("imx-epit.1", NULL, epit2_clk) | 460 | _REGISTER_CLOCK("imx-epit.1", NULL, epit2_clk) |
461 | _REGISTER_CLOCK(NULL, "esai", esai_clk) | 461 | _REGISTER_CLOCK(NULL, "esai", esai_clk) |
462 | _REGISTER_CLOCK(NULL, "sdhc", esdhc1_clk) | 462 | _REGISTER_CLOCK("sdhci-esdhc-imx.0", NULL, esdhc1_clk) |
463 | _REGISTER_CLOCK(NULL, "sdhc", esdhc2_clk) | 463 | _REGISTER_CLOCK("sdhci-esdhc-imx.1", NULL, esdhc2_clk) |
464 | _REGISTER_CLOCK(NULL, "sdhc", esdhc3_clk) | 464 | _REGISTER_CLOCK("sdhci-esdhc-imx.2", NULL, esdhc3_clk) |
465 | _REGISTER_CLOCK("fec.0", NULL, fec_clk) | 465 | _REGISTER_CLOCK("fec.0", NULL, fec_clk) |
466 | _REGISTER_CLOCK(NULL, "gpio", gpio1_clk) | 466 | _REGISTER_CLOCK(NULL, "gpio", gpio1_clk) |
467 | _REGISTER_CLOCK(NULL, "gpio", gpio2_clk) | 467 | _REGISTER_CLOCK(NULL, "gpio", gpio2_clk) |
diff --git a/arch/arm/mach-mx3/devices-imx35.h b/arch/arm/mach-mx3/devices-imx35.h index 56404de907f9..766008451ccd 100644 --- a/arch/arm/mach-mx3/devices-imx35.h +++ b/arch/arm/mach-mx3/devices-imx35.h | |||
@@ -41,3 +41,10 @@ extern const struct imx_spi_imx_data imx35_cspi_data[] __initconst; | |||
41 | imx_add_spi_imx(&imx35_cspi_data[id], pdata) | 41 | imx_add_spi_imx(&imx35_cspi_data[id], pdata) |
42 | #define imx35_add_spi_imx0(pdata) imx35_add_cspi(0, pdata) | 42 | #define imx35_add_spi_imx0(pdata) imx35_add_cspi(0, pdata) |
43 | #define imx35_add_spi_imx1(pdata) imx35_add_cspi(1, pdata) | 43 | #define imx35_add_spi_imx1(pdata) imx35_add_cspi(1, pdata) |
44 | |||
45 | #define imx35_add_esdhc0(pdata) \ | ||
46 | imx_add_esdhc(0, MX35_ESDHC1_BASE_ADDR, SZ_16K, MX35_INT_MMC_SDHC1, pdata) | ||
47 | #define imx35_add_esdhc1(pdata) \ | ||
48 | imx_add_esdhc(1, MX35_ESDHC2_BASE_ADDR, SZ_16K, MX35_INT_MMC_SDHC2, pdata) | ||
49 | #define imx35_add_esdhc2(pdata) \ | ||
50 | imx_add_esdhc(2, MX35_ESDHC3_BASE_ADDR, SZ_16K, MX35_INT_MMC_SDHC3, pdata) | ||