2010-01-29 16:02:12 +07:00
|
|
|
/* arch/arm/plat-samsung/include/plat/devs.h
|
2005-04-17 05:20:36 +07: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 01:07:23 +07:00
|
|
|
#include <linux/platform_device.h>
|
2005-04-17 05:20:36 +07:00
|
|
|
|
2006-06-19 05:04:05 +07:00
|
|
|
struct s3c24xx_uart_resources {
|
|
|
|
struct resource *resources;
|
|
|
|
unsigned long nr_resources;
|
|
|
|
};
|
|
|
|
|
|
|
|
extern struct s3c24xx_uart_resources s3c2410_uart_resources[];
|
2008-10-21 20:06:46 +07:00
|
|
|
extern struct s3c24xx_uart_resources s3c64xx_uart_resources[];
|
2010-01-14 06:23:53 +07:00
|
|
|
extern struct s3c24xx_uart_resources s5p_uart_resources[];
|
2006-06-19 05:04:05 +07:00
|
|
|
|
2005-04-17 05:20:36 +07:00
|
|
|
extern struct platform_device *s3c24xx_uart_devs[];
|
2006-06-19 05:04:05 +07:00
|
|
|
extern struct platform_device *s3c24xx_uart_src[];
|
2005-04-17 05:20:36 +07:00
|
|
|
|
2008-07-01 19:17:24 +07:00
|
|
|
extern struct platform_device s3c_device_timer[];
|
|
|
|
|
2009-06-04 02:08:38 +07:00
|
|
|
extern struct platform_device s3c64xx_device_iis0;
|
|
|
|
extern struct platform_device s3c64xx_device_iis1;
|
2009-06-04 02:08:39 +07:00
|
|
|
extern struct platform_device s3c64xx_device_iisv4;
|
2009-06-04 02:08:38 +07:00
|
|
|
|
2010-01-18 15:32:02 +07:00
|
|
|
extern struct platform_device s3c64xx_device_spi0;
|
|
|
|
extern struct platform_device s3c64xx_device_spi1;
|
|
|
|
|
2009-11-17 14:53:56 +07:00
|
|
|
extern struct platform_device s3c64xx_device_pcm0;
|
|
|
|
extern struct platform_device s3c64xx_device_pcm1;
|
|
|
|
|
2010-02-12 17:38:51 +07:00
|
|
|
extern struct platform_device s3c64xx_device_ac97;
|
|
|
|
|
2009-12-24 02:25:05 +07:00
|
|
|
extern struct platform_device s3c_device_ts;
|
2010-02-12 17:38:51 +07:00
|
|
|
|
2008-11-19 22:41:31 +07:00
|
|
|
extern struct platform_device s3c_device_fb;
|
2009-11-23 07:13:39 +07:00
|
|
|
extern struct platform_device s3c_device_ohci;
|
2005-04-17 05:20:36 +07:00
|
|
|
extern struct platform_device s3c_device_lcd;
|
|
|
|
extern struct platform_device s3c_device_wdt;
|
2008-10-31 23:14:40 +07:00
|
|
|
extern struct platform_device s3c_device_i2c0;
|
2008-10-31 23:14:55 +07:00
|
|
|
extern struct platform_device s3c_device_i2c1;
|
2005-04-17 05:20:36 +07: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 22:30:02 +07:00
|
|
|
extern struct platform_device s3c_device_iis;
|
2009-04-17 18:36:44 +07:00
|
|
|
extern struct platform_device s3c_device_hwmon;
|
2008-10-31 23:14:28 +07: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 05:20:36 +07:00
|
|
|
|
|
|
|
extern struct platform_device s3c_device_spi0;
|
|
|
|
extern struct platform_device s3c_device_spi1;
|
|
|
|
|
2009-07-18 16:12:25 +07:00
|
|
|
extern struct platform_device s3c_device_hwmon;
|
|
|
|
|
2005-04-17 05:20:36 +07:00
|
|
|
extern struct platform_device s3c_device_nand;
|
|
|
|
|
|
|
|
extern struct platform_device s3c_device_usbgadget;
|
2009-05-17 04:05:27 +07:00
|
|
|
extern struct platform_device s3c_device_usb_hsotg;
|
2005-04-17 05:20:36 +07:00
|
|
|
|
2010-05-18 14:02:26 +07:00
|
|
|
extern struct platform_device s5pv210_device_ac97;
|
|
|
|
extern struct platform_device s5pv210_device_pcm0;
|
|
|
|
extern struct platform_device s5pv210_device_pcm1;
|
|
|
|
extern struct platform_device s5pv210_device_pcm2;
|
|
|
|
extern struct platform_device s5pv210_device_iis0;
|
|
|
|
extern struct platform_device s5pv210_device_iis1;
|
|
|
|
extern struct platform_device s5pv210_device_iis2;
|
|
|
|
|
2010-05-18 14:02:50 +07:00
|
|
|
extern struct platform_device s5p6442_device_pcm0;
|
|
|
|
extern struct platform_device s5p6442_device_pcm1;
|
|
|
|
extern struct platform_device s5p6442_device_iis0;
|
|
|
|
extern struct platform_device s5p6442_device_iis1;
|
|
|
|
|
2005-04-17 05:20:36 +07:00
|
|
|
/* s3c2440 specific devices */
|
|
|
|
|
|
|
|
#ifdef CONFIG_CPU_S3C2440
|
|
|
|
|
|
|
|
extern struct platform_device s3c_device_camif;
|
2009-08-06 00:29:57 +07:00
|
|
|
extern struct platform_device s3c_device_ac97;
|
2005-04-17 05:20:36 +07:00
|
|
|
|
|
|
|
#endif
|