aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-s3c24xx/devs.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/plat-s3c24xx/devs.c')
-rw-r--r--arch/arm/plat-s3c24xx/devs.c55
1 files changed, 0 insertions, 55 deletions
diff --git a/arch/arm/plat-s3c24xx/devs.c b/arch/arm/plat-s3c24xx/devs.c
index 9826efb91e48..14d4f0bc1253 100644
--- a/arch/arm/plat-s3c24xx/devs.c
+++ b/arch/arm/plat-s3c24xx/devs.c
@@ -271,31 +271,6 @@ struct platform_device s3c_device_wdt = {
271 271
272EXPORT_SYMBOL(s3c_device_wdt); 272EXPORT_SYMBOL(s3c_device_wdt);
273 273
274/* I2C */
275
276static struct resource s3c_i2c_resource[] = {
277 [0] = {
278 .start = S3C24XX_PA_IIC,
279 .end = S3C24XX_PA_IIC + S3C24XX_SZ_IIC - 1,
280 .flags = IORESOURCE_MEM,
281 },
282 [1] = {
283 .start = IRQ_IIC,
284 .end = IRQ_IIC,
285 .flags = IORESOURCE_IRQ,
286 }
287
288};
289
290struct platform_device s3c_device_i2c = {
291 .name = "s3c2410-i2c",
292 .id = -1,
293 .num_resources = ARRAY_SIZE(s3c_i2c_resource),
294 .resource = s3c_i2c_resource,
295};
296
297EXPORT_SYMBOL(s3c_device_i2c);
298
299/* IIS */ 274/* IIS */
300 275
301static struct resource s3c_iis_resource[] = { 276static struct resource s3c_iis_resource[] = {
@@ -411,36 +386,6 @@ struct platform_device s3c_device_sdi = {
411 386
412EXPORT_SYMBOL(s3c_device_sdi); 387EXPORT_SYMBOL(s3c_device_sdi);
413 388
414/* High-speed MMC/SD */
415
416static struct resource s3c_hsmmc_resource[] = {
417 [0] = {
418 .start = S3C2443_PA_HSMMC,
419 .end = S3C2443_PA_HSMMC + S3C2443_SZ_HSMMC - 1,
420 .flags = IORESOURCE_MEM,
421 },
422 [1] = {
423 .start = IRQ_S3C2443_HSMMC,
424 .end = IRQ_S3C2443_HSMMC,
425 .flags = IORESOURCE_IRQ,
426 }
427};
428
429static u64 s3c_device_hsmmc_dmamask = 0xffffffffUL;
430
431struct platform_device s3c_device_hsmmc = {
432 .name = "s3c-sdhci",
433 .id = -1,
434 .num_resources = ARRAY_SIZE(s3c_hsmmc_resource),
435 .resource = s3c_hsmmc_resource,
436 .dev = {
437 .dma_mask = &s3c_device_hsmmc_dmamask,
438 .coherent_dma_mask = 0xffffffffUL
439 }
440};
441
442
443
444/* SPI (0) */ 389/* SPI (0) */
445 390
446static struct resource s3c_spi0_resource[] = { 391static struct resource s3c_spi0_resource[] = {