| OLD | NEW |
| 1 /* linux/arch/arm/plat-s5p/devs.c | 1 /* linux/arch/arm/plat-s5p/devs.c |
| 2 * | 2 * |
| 3 * Copyright (c) 2010 Samsung Electronics Co., Ltd. | 3 * Copyright (c) 2010 Samsung Electronics Co., Ltd. |
| 4 * http://www.samsung.com/ | 4 * http://www.samsung.com/ |
| 5 * | 5 * |
| 6 * Base S5P platform device definitions | 6 * Base S5P platform device definitions |
| 7 * | 7 * |
| 8 * This program is free software; you can redistribute it and/or modify | 8 * This program is free software; you can redistribute it and/or modify |
| 9 * it under the terms of the GNU General Public License version 2 as | 9 * it under the terms of the GNU General Public License version 2 as |
| 10 * published by the Free Software Foundation. | 10 * published by the Free Software Foundation. |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 | 29 |
| 30 #include <plat/devs.h> | 30 #include <plat/devs.h> |
| 31 #include <plat/gpio-cfg.h> | 31 #include <plat/gpio-cfg.h> |
| 32 #include <plat/irqs.h> | 32 #include <plat/irqs.h> |
| 33 #include <plat/fb.h> | 33 #include <plat/fb.h> |
| 34 #include <plat/fimc.h> | 34 #include <plat/fimc.h> |
| 35 #include <plat/csis.h> | 35 #include <plat/csis.h> |
| 36 #include <plat/mfc.h> | 36 #include <plat/mfc.h> |
| 37 #include <plat/audio.h> | 37 #include <plat/audio.h> |
| 38 | 38 |
| 39 static struct resource s3c_wdt_resource[] = { |
| 40 [0] = { |
| 41 .start = S5P_PA_WDT, |
| 42 .end = S5P_PA_WDT + S5P_SZ_WDT - 1, |
| 43 .flags = IORESOURCE_MEM, |
| 44 }, |
| 45 [1] = { |
| 46 .start = IRQ_WDT, |
| 47 .end = IRQ_WDT, |
| 48 .flags = IORESOURCE_IRQ, |
| 49 }, |
| 50 }; |
| 51 |
| 52 struct platform_device s3c_device_wdt = { |
| 53 .name = "s3c2410-wdt", |
| 54 .id = -1, |
| 55 .num_resources = ARRAY_SIZE(s3c_wdt_resource), |
| 56 .resource = s3c_wdt_resource, |
| 57 }; |
| 58 |
| 39 static struct resource s3cfb_resource[] = { | 59 static struct resource s3cfb_resource[] = { |
| 40 [0] = { | 60 [0] = { |
| 41 .start = S5P_PA_LCD, | 61 .start = S5P_PA_LCD, |
| 42 .end = S5P_PA_LCD + S5P_SZ_LCD - 1, | 62 .end = S5P_PA_LCD + S5P_SZ_LCD - 1, |
| 43 .flags = IORESOURCE_MEM, | 63 .flags = IORESOURCE_MEM, |
| 44 }, | 64 }, |
| 45 [1] = { | 65 [1] = { |
| 46 .start = IRQ_LCD1, | 66 .start = IRQ_LCD1, |
| 47 .end = IRQ_LCD1, | 67 .end = IRQ_LCD1, |
| 48 .flags = IORESOURCE_IRQ, | 68 .flags = IORESOURCE_IRQ, |
| (...skipping 615 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 664 .id = -1, | 684 .id = -1, |
| 665 .num_resources = ARRAY_SIZE(s3c_usb__ohci_resource), | 685 .num_resources = ARRAY_SIZE(s3c_usb__ohci_resource), |
| 666 .resource = s3c_usb__ohci_resource, | 686 .resource = s3c_usb__ohci_resource, |
| 667 .dev = { | 687 .dev = { |
| 668 .dma_mask = &s3c_device_usb_ohci_dmamask, | 688 .dma_mask = &s3c_device_usb_ohci_dmamask, |
| 669 .coherent_dma_mask = 0xffffffffUL | 689 .coherent_dma_mask = 0xffffffffUL |
| 670 } | 690 } |
| 671 }; | 691 }; |
| 672 EXPORT_SYMBOL(s3c_device_usb_ohci); | 692 EXPORT_SYMBOL(s3c_device_usb_ohci); |
| 673 | 693 |
| OLD | NEW |