Ben Dooks | a21765a | 2007-02-11 18:31:01 +0100 | [diff] [blame] | 1 | /* linux/include/asm-arm/plat-s3c24xx/devs.h |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 11 | */ |
Russell King | d052d1b | 2005-10-29 19:07:23 +0100 | [diff] [blame] | 12 | #include <linux/platform_device.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 13 | |
Ben Dooks | 66a9b49 | 2006-06-18 23:04:05 +0100 | [diff] [blame] | 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[]; |
| 20 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 21 | extern struct platform_device *s3c24xx_uart_devs[]; |
Ben Dooks | 66a9b49 | 2006-06-18 23:04:05 +0100 | [diff] [blame] | 22 | extern struct platform_device *s3c24xx_uart_src[]; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 23 | |
| 24 | extern struct platform_device s3c_device_usb; |
| 25 | extern struct platform_device s3c_device_lcd; |
| 26 | extern struct platform_device s3c_device_wdt; |
| 27 | extern struct platform_device s3c_device_i2c; |
| 28 | extern struct platform_device s3c_device_iis; |
| 29 | extern struct platform_device s3c_device_rtc; |
| 30 | extern struct platform_device s3c_device_adc; |
| 31 | extern struct platform_device s3c_device_sdi; |
Ben Dooks | 69e9c93 | 2007-05-20 18:13:32 +0100 | [diff] [blame] | 32 | extern struct platform_device s3c_device_hsmmc; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 33 | |
| 34 | extern struct platform_device s3c_device_spi0; |
| 35 | extern struct platform_device s3c_device_spi1; |
| 36 | |
| 37 | extern struct platform_device s3c_device_nand; |
| 38 | |
| 39 | extern struct platform_device s3c_device_timer0; |
| 40 | extern struct platform_device s3c_device_timer1; |
| 41 | extern struct platform_device s3c_device_timer2; |
| 42 | extern struct platform_device s3c_device_timer3; |
| 43 | |
| 44 | extern struct platform_device s3c_device_usbgadget; |
| 45 | |
| 46 | /* s3c2440 specific devices */ |
| 47 | |
| 48 | #ifdef CONFIG_CPU_S3C2440 |
| 49 | |
| 50 | extern struct platform_device s3c_device_camif; |
| 51 | |
| 52 | #endif |