Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 | */ |
| 17 | #include <linux/config.h> |
Russell King | d052d1b | 2005-10-29 19:07:23 +0100 | [diff] [blame] | 18 | #include <linux/platform_device.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 19 | |
Ben Dooks | 66a9b49 | 2006-06-18 23:04:05 +0100 | [diff] [blame] | 20 | struct s3c24xx_uart_resources { |
| 21 | struct resource *resources; |
| 22 | unsigned long nr_resources; |
| 23 | }; |
| 24 | |
| 25 | extern struct s3c24xx_uart_resources s3c2410_uart_resources[]; |
| 26 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 27 | extern struct platform_device *s3c24xx_uart_devs[]; |
Ben Dooks | 66a9b49 | 2006-06-18 23:04:05 +0100 | [diff] [blame] | 28 | extern struct platform_device *s3c24xx_uart_src[]; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 29 | |
| 30 | extern struct platform_device s3c_device_usb; |
| 31 | extern struct platform_device s3c_device_lcd; |
| 32 | extern struct platform_device s3c_device_wdt; |
| 33 | extern struct platform_device s3c_device_i2c; |
| 34 | extern struct platform_device s3c_device_iis; |
| 35 | extern struct platform_device s3c_device_rtc; |
| 36 | extern struct platform_device s3c_device_adc; |
| 37 | extern struct platform_device s3c_device_sdi; |
| 38 | |
| 39 | extern struct platform_device s3c_device_spi0; |
| 40 | extern struct platform_device s3c_device_spi1; |
| 41 | |
| 42 | extern struct platform_device s3c_device_nand; |
| 43 | |
| 44 | extern struct platform_device s3c_device_timer0; |
| 45 | extern struct platform_device s3c_device_timer1; |
| 46 | extern struct platform_device s3c_device_timer2; |
| 47 | extern struct platform_device s3c_device_timer3; |
| 48 | |
| 49 | extern struct platform_device s3c_device_usbgadget; |
| 50 | |
| 51 | /* s3c2440 specific devices */ |
| 52 | |
| 53 | #ifdef CONFIG_CPU_S3C2440 |
| 54 | |
| 55 | extern struct platform_device s3c_device_camif; |
| 56 | |
| 57 | #endif |