2007-02-12 01:31:01 +08:00
|
|
|
/* linux/include/asm-arm/plat-s3c24xx/devs.h
|
2005-04-17 06:20:36 +08:00
|
|
|
*
|
|
|
|
* Copyright (c) 2004 Simtec Electronics
|
|
|
|
* Ben Dooks <ben@simtec.co.uk>
|
|
|
|
*
|
|
|
|
* Header file for s3c2410 standard platform devices
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*/
|
2005-10-30 02:07:23 +08:00
|
|
|
#include <linux/platform_device.h>
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2006-06-19 06:04:05 +08:00
|
|
|
struct s3c24xx_uart_resources {
|
|
|
|
struct resource *resources;
|
|
|
|
unsigned long nr_resources;
|
|
|
|
};
|
|
|
|
|
|
|
|
extern struct s3c24xx_uart_resources s3c2410_uart_resources[];
|
2008-10-21 21:06:46 +08:00
|
|
|
extern struct s3c24xx_uart_resources s3c64xx_uart_resources[];
|
2010-01-14 07:23:53 +08:00
|
|
|
extern struct s3c24xx_uart_resources s5p_uart_resources[];
|
2006-06-19 06:04:05 +08:00
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
extern struct platform_device *s3c24xx_uart_devs[];
|
2006-06-19 06:04:05 +08:00
|
|
|
extern struct platform_device *s3c24xx_uart_src[];
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2008-07-01 20:17:24 +08:00
|
|
|
extern struct platform_device s3c_device_timer[];
|
|
|
|
|
2009-06-04 03:08:38 +08:00
|
|
|
extern struct platform_device s3c64xx_device_iis0;
|
|
|
|
extern struct platform_device s3c64xx_device_iis1;
|
2009-06-04 03:08:39 +08:00
|
|
|
extern struct platform_device s3c64xx_device_iisv4;
|
2009-06-04 03:08:38 +08:00
|
|
|
|
2010-01-18 16:32:02 +08:00
|
|
|
extern struct platform_device s3c64xx_device_spi0;
|
|
|
|
extern struct platform_device s3c64xx_device_spi1;
|
|
|
|
|
2009-11-17 15:53:56 +08:00
|
|
|
extern struct platform_device s3c64xx_device_pcm0;
|
|
|
|
extern struct platform_device s3c64xx_device_pcm1;
|
|
|
|
|
2009-12-24 03:25:05 +08:00
|
|
|
extern struct platform_device s3c_device_ts;
|
2008-11-19 23:41:31 +08:00
|
|
|
extern struct platform_device s3c_device_fb;
|
2009-11-23 08:13:39 +08:00
|
|
|
extern struct platform_device s3c_device_ohci;
|
2005-04-17 06:20:36 +08:00
|
|
|
extern struct platform_device s3c_device_lcd;
|
|
|
|
extern struct platform_device s3c_device_wdt;
|
2008-11-01 00:14:40 +08:00
|
|
|
extern struct platform_device s3c_device_i2c0;
|
2008-11-01 00:14:55 +08:00
|
|
|
extern struct platform_device s3c_device_i2c1;
|
2005-04-17 06:20:36 +08:00
|
|
|
extern struct platform_device s3c_device_rtc;
|
|
|
|
extern struct platform_device s3c_device_adc;
|
|
|
|
extern struct platform_device s3c_device_sdi;
|
2009-06-23 23:30:02 +08:00
|
|
|
extern struct platform_device s3c_device_iis;
|
2009-04-17 19:36:44 +08:00
|
|
|
extern struct platform_device s3c_device_hwmon;
|
2008-11-01 00:14:28 +08:00
|
|
|
extern struct platform_device s3c_device_hsmmc0;
|
|
|
|
extern struct platform_device s3c_device_hsmmc1;
|
|
|
|
extern struct platform_device s3c_device_hsmmc2;
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
extern struct platform_device s3c_device_spi0;
|
|
|
|
extern struct platform_device s3c_device_spi1;
|
|
|
|
|
2009-07-18 17:12:25 +08:00
|
|
|
extern struct platform_device s3c_device_hwmon;
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
extern struct platform_device s3c_device_nand;
|
|
|
|
|
|
|
|
extern struct platform_device s3c_device_usbgadget;
|
2009-05-17 05:05:27 +08:00
|
|
|
extern struct platform_device s3c_device_usb_hsotg;
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
/* s3c2440 specific devices */
|
|
|
|
|
|
|
|
#ifdef CONFIG_CPU_S3C2440
|
|
|
|
|
|
|
|
extern struct platform_device s3c_device_camif;
|
2009-08-06 01:29:57 +08:00
|
|
|
extern struct platform_device s3c_device_ac97;
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
#endif
|