]>
Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | /* arch/arm/mach-s3c2410/devs.h |
2 | * | |
3 | * Copyright (c) 2004 Simtec Electronics | |
4 | * Ben Dooks <ben@simtec.co.uk> | |
5 | * | |
6 | * Header file for s3c2410 standard platform devices | |
7 | * | |
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 | |
10 | * published by the Free Software Foundation. | |
11 | * | |
12 | * Modifications: | |
13 | * 18-Aug-2004 BJD Created initial version | |
14 | * 27-Aug-2004 BJD Added timers 0 through 3 | |
15 | * 10-Feb-2005 BJD Added camera from guillaume.gourat@nexvision.tv | |
16 | */ | |
d052d1be | 17 | #include <linux/platform_device.h> |
1da177e4 | 18 | |
66a9b49a BD |
19 | struct s3c24xx_uart_resources { |
20 | struct resource *resources; | |
21 | unsigned long nr_resources; | |
22 | }; | |
23 | ||
24 | extern struct s3c24xx_uart_resources s3c2410_uart_resources[]; | |
25 | ||
1da177e4 | 26 | extern struct platform_device *s3c24xx_uart_devs[]; |
66a9b49a | 27 | extern struct platform_device *s3c24xx_uart_src[]; |
1da177e4 LT |
28 | |
29 | extern struct platform_device s3c_device_usb; | |
30 | extern struct platform_device s3c_device_lcd; | |
31 | extern struct platform_device s3c_device_wdt; | |
32 | extern struct platform_device s3c_device_i2c; | |
33 | extern struct platform_device s3c_device_iis; | |
34 | extern struct platform_device s3c_device_rtc; | |
35 | extern struct platform_device s3c_device_adc; | |
36 | extern struct platform_device s3c_device_sdi; | |
37 | ||
38 | extern struct platform_device s3c_device_spi0; | |
39 | extern struct platform_device s3c_device_spi1; | |
40 | ||
41 | extern struct platform_device s3c_device_nand; | |
42 | ||
43 | extern struct platform_device s3c_device_timer0; | |
44 | extern struct platform_device s3c_device_timer1; | |
45 | extern struct platform_device s3c_device_timer2; | |
46 | extern struct platform_device s3c_device_timer3; | |
47 | ||
48 | extern struct platform_device s3c_device_usbgadget; | |
49 | ||
50 | /* s3c2440 specific devices */ | |
51 | ||
52 | #ifdef CONFIG_CPU_S3C2440 | |
53 | ||
54 | extern struct platform_device s3c_device_camif; | |
55 | ||
56 | #endif |