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[]; |
Ben Dooks | 0241cbb | 2008-10-21 14:06:46 +0100 | [diff] [blame] | 20 | extern struct s3c24xx_uart_resources s3c64xx_uart_resources[]; |
Ben Dooks | 66a9b49 | 2006-06-18 23:04:05 +0100 | [diff] [blame] | 21 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 22 | extern struct platform_device *s3c24xx_uart_devs[]; |
Ben Dooks | 66a9b49 | 2006-06-18 23:04:05 +0100 | [diff] [blame] | 23 | extern struct platform_device *s3c24xx_uart_src[]; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 24 | |
Ben Dooks | 6fc601e | 2008-07-01 13:17:24 +0100 | [diff] [blame] | 25 | extern struct platform_device s3c_device_timer[]; |
| 26 | |
Mark Brown | 52da219 | 2009-06-03 20:08:38 +0100 | [diff] [blame] | 27 | extern struct platform_device s3c64xx_device_iis0; |
| 28 | extern struct platform_device s3c64xx_device_iis1; |
Mark Brown | d06a49e | 2009-06-03 20:08:39 +0100 | [diff] [blame] | 29 | extern struct platform_device s3c64xx_device_iisv4; |
Mark Brown | 52da219 | 2009-06-03 20:08:38 +0100 | [diff] [blame] | 30 | |
Ben Dooks | 58435f7 | 2008-11-19 15:41:31 +0000 | [diff] [blame] | 31 | extern struct platform_device s3c_device_fb; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 32 | extern struct platform_device s3c_device_usb; |
| 33 | extern struct platform_device s3c_device_lcd; |
| 34 | extern struct platform_device s3c_device_wdt; |
Ben Dooks | 3e1b776 | 2008-10-31 16:14:40 +0000 | [diff] [blame] | 35 | extern struct platform_device s3c_device_i2c0; |
Ben Dooks | 1aba834 | 2008-10-31 16:14:55 +0000 | [diff] [blame] | 36 | extern struct platform_device s3c_device_i2c1; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 37 | extern struct platform_device s3c_device_rtc; |
| 38 | extern struct platform_device s3c_device_adc; |
| 39 | extern struct platform_device s3c_device_sdi; |
Ben Dooks | a3c7990 | 2009-06-23 16:30:02 +0100 | [diff] [blame] | 40 | extern struct platform_device s3c_device_iis; |
Ben Dooks | ad14ff3 | 2009-04-17 12:36:44 +0100 | [diff] [blame] | 41 | extern struct platform_device s3c_device_hwmon; |
Ben Dooks | 5b323c7 | 2008-10-31 16:14:28 +0000 | [diff] [blame] | 42 | extern struct platform_device s3c_device_hsmmc0; |
| 43 | extern struct platform_device s3c_device_hsmmc1; |
| 44 | extern struct platform_device s3c_device_hsmmc2; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 45 | |
| 46 | extern struct platform_device s3c_device_spi0; |
| 47 | extern struct platform_device s3c_device_spi1; |
| 48 | |
| 49 | extern struct platform_device s3c_device_nand; |
| 50 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 51 | extern struct platform_device s3c_device_usbgadget; |
Ben Dooks | f0e1fa7 | 2009-05-16 22:05:27 +0100 | [diff] [blame] | 52 | extern struct platform_device s3c_device_usb_hsotg; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 53 | |
| 54 | /* s3c2440 specific devices */ |
| 55 | |
| 56 | #ifdef CONFIG_CPU_S3C2440 |
| 57 | |
| 58 | extern struct platform_device s3c_device_camif; |
| 59 | |
| 60 | #endif |