diff options
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/arm/mach-s3c2443/mach-smdk2443.c | 1 | ||||
| -rw-r--r-- | arch/arm/plat-s3c24xx/devs.c | 30 |
2 files changed, 31 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c2443/mach-smdk2443.c b/arch/arm/mach-s3c2443/mach-smdk2443.c index b71ee53c2865..b1eb709ee65a 100644 --- a/arch/arm/mach-s3c2443/mach-smdk2443.c +++ b/arch/arm/mach-s3c2443/mach-smdk2443.c | |||
| @@ -104,6 +104,7 @@ static struct s3c2410_uartcfg smdk2443_uartcfgs[] __initdata = { | |||
| 104 | static struct platform_device *smdk2443_devices[] __initdata = { | 104 | static struct platform_device *smdk2443_devices[] __initdata = { |
| 105 | &s3c_device_wdt, | 105 | &s3c_device_wdt, |
| 106 | &s3c_device_i2c, | 106 | &s3c_device_i2c, |
| 107 | &s3c_device_hsmmc, | ||
| 107 | }; | 108 | }; |
| 108 | 109 | ||
| 109 | static void __init smdk2443_map_io(void) | 110 | static void __init smdk2443_map_io(void) |
diff --git a/arch/arm/plat-s3c24xx/devs.c b/arch/arm/plat-s3c24xx/devs.c index 8eca9599ef60..5875da0ae0eb 100644 --- a/arch/arm/plat-s3c24xx/devs.c +++ b/arch/arm/plat-s3c24xx/devs.c | |||
| @@ -403,6 +403,36 @@ struct platform_device s3c_device_sdi = { | |||
| 403 | 403 | ||
| 404 | EXPORT_SYMBOL(s3c_device_sdi); | 404 | EXPORT_SYMBOL(s3c_device_sdi); |
| 405 | 405 | ||
| 406 | /* High-speed MMC/SD */ | ||
| 407 | |||
| 408 | static struct resource s3c_hsmmc_resource[] = { | ||
| 409 | [0] = { | ||
| 410 | .start = S3C2443_PA_HSMMC, | ||
| 411 | .end = S3C2443_PA_HSMMC + S3C2443_SZ_HSMMC - 1, | ||
| 412 | .flags = IORESOURCE_MEM, | ||
| 413 | }, | ||
| 414 | [1] = { | ||
| 415 | .start = IRQ_S3C2443_HSMMC, | ||
| 416 | .end = IRQ_S3C2443_HSMMC, | ||
| 417 | .flags = IORESOURCE_IRQ, | ||
| 418 | } | ||
| 419 | }; | ||
| 420 | |||
| 421 | static u64 s3c_device_hsmmc_dmamask = 0xffffffffUL; | ||
| 422 | |||
| 423 | struct platform_device s3c_device_hsmmc = { | ||
| 424 | .name = "s3c-sdhci", | ||
| 425 | .id = -1, | ||
| 426 | .num_resources = ARRAY_SIZE(s3c_hsmmc_resource), | ||
| 427 | .resource = s3c_hsmmc_resource, | ||
| 428 | .dev = { | ||
| 429 | .dma_mask = &s3c_device_hsmmc_dmamask, | ||
| 430 | .coherent_dma_mask = 0xffffffffUL | ||
| 431 | } | ||
| 432 | }; | ||
| 433 | |||
| 434 | |||
| 435 | |||
| 406 | /* SPI (0) */ | 436 | /* SPI (0) */ |
| 407 | 437 | ||
| 408 | static struct resource s3c_spi0_resource[] = { | 438 | static struct resource s3c_spi0_resource[] = { |
