Commit | Line | Data |
---|---|---|
a21765a7 | 1 | /* linux/include/asm-arm/plat-s3c24xx/devs.h |
1da177e4 LT |
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. | |
1da177e4 | 11 | */ |
d052d1be | 12 | #include <linux/platform_device.h> |
1da177e4 | 13 | |
66a9b49a BD |
14 | struct s3c24xx_uart_resources { |
15 | struct resource *resources; | |
16 | unsigned long nr_resources; | |
17 | }; | |
18 | ||
19 | extern struct s3c24xx_uart_resources s3c2410_uart_resources[]; | |
0241cbb9 | 20 | extern struct s3c24xx_uart_resources s3c64xx_uart_resources[]; |
501dae90 | 21 | extern struct s3c24xx_uart_resources s5p_uart_resources[]; |
66a9b49a | 22 | |
1da177e4 | 23 | extern struct platform_device *s3c24xx_uart_devs[]; |
66a9b49a | 24 | extern struct platform_device *s3c24xx_uart_src[]; |
1da177e4 | 25 | |
6fc601e3 BD |
26 | extern struct platform_device s3c_device_timer[]; |
27 | ||
52da219e MB |
28 | extern struct platform_device s3c64xx_device_iis0; |
29 | extern struct platform_device s3c64xx_device_iis1; | |
d06a49ee | 30 | extern struct platform_device s3c64xx_device_iisv4; |
52da219e | 31 | |
acf1aef9 JB |
32 | extern struct platform_device s3c64xx_device_pcm0; |
33 | extern struct platform_device s3c64xx_device_pcm1; | |
34 | ||
ce8877b5 | 35 | extern struct platform_device s3c_device_ts; |
58435f7b | 36 | extern struct platform_device s3c_device_fb; |
1da177e4 LT |
37 | extern struct platform_device s3c_device_usb; |
38 | extern struct platform_device s3c_device_lcd; | |
39 | extern struct platform_device s3c_device_wdt; | |
3e1b776c | 40 | extern struct platform_device s3c_device_i2c0; |
1aba834d | 41 | extern struct platform_device s3c_device_i2c1; |
1da177e4 LT |
42 | extern struct platform_device s3c_device_rtc; |
43 | extern struct platform_device s3c_device_adc; | |
44 | extern struct platform_device s3c_device_sdi; | |
a3c79901 | 45 | extern struct platform_device s3c_device_iis; |
ad14ff37 | 46 | extern struct platform_device s3c_device_hwmon; |
5b323c7b BD |
47 | extern struct platform_device s3c_device_hsmmc0; |
48 | extern struct platform_device s3c_device_hsmmc1; | |
49 | extern struct platform_device s3c_device_hsmmc2; | |
1da177e4 LT |
50 | |
51 | extern struct platform_device s3c_device_spi0; | |
52 | extern struct platform_device s3c_device_spi1; | |
53 | ||
c197cec5 BD |
54 | extern struct platform_device s3c_device_hwmon; |
55 | ||
1da177e4 LT |
56 | extern struct platform_device s3c_device_nand; |
57 | ||
1da177e4 | 58 | extern struct platform_device s3c_device_usbgadget; |
f0e1fa76 | 59 | extern struct platform_device s3c_device_usb_hsotg; |
1da177e4 LT |
60 | |
61 | /* s3c2440 specific devices */ | |
62 | ||
63 | #ifdef CONFIG_CPU_S3C2440 | |
64 | ||
65 | extern struct platform_device s3c_device_camif; | |
d91e9a7a | 66 | extern struct platform_device s3c_device_ac97; |
1da177e4 LT |
67 | |
68 | #endif |