2005-04-16 18:20:36 -04:00
|
|
|
/* arch/arm/mach-s3c2410/devs.h
|
|
|
|
*
|
|
|
|
* 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-29 14:07:23 -04:00
|
|
|
#include <linux/platform_device.h>
|
2005-04-16 18:20:36 -04:00
|
|
|
|
2006-06-18 18:04:05 -04:00
|
|
|
struct s3c24xx_uart_resources {
|
|
|
|
struct resource *resources;
|
|
|
|
unsigned long nr_resources;
|
|
|
|
};
|
|
|
|
|
|
|
|
extern struct s3c24xx_uart_resources s3c2410_uart_resources[];
|
|
|
|
|
2005-04-16 18:20:36 -04:00
|
|
|
extern struct platform_device *s3c24xx_uart_devs[];
|
2006-06-18 18:04:05 -04:00
|
|
|
extern struct platform_device *s3c24xx_uart_src[];
|
2005-04-16 18:20:36 -04:00
|
|
|
|
|
|
|
extern struct platform_device s3c_device_usb;
|
|
|
|
extern struct platform_device s3c_device_lcd;
|
|
|
|
extern struct platform_device s3c_device_wdt;
|
|
|
|
extern struct platform_device s3c_device_i2c;
|
|
|
|
extern struct platform_device s3c_device_iis;
|
|
|
|
extern struct platform_device s3c_device_rtc;
|
|
|
|
extern struct platform_device s3c_device_adc;
|
|
|
|
extern struct platform_device s3c_device_sdi;
|
|
|
|
|
|
|
|
extern struct platform_device s3c_device_spi0;
|
|
|
|
extern struct platform_device s3c_device_spi1;
|
|
|
|
|
|
|
|
extern struct platform_device s3c_device_nand;
|
|
|
|
|
|
|
|
extern struct platform_device s3c_device_timer0;
|
|
|
|
extern struct platform_device s3c_device_timer1;
|
|
|
|
extern struct platform_device s3c_device_timer2;
|
|
|
|
extern struct platform_device s3c_device_timer3;
|
|
|
|
|
|
|
|
extern struct platform_device s3c_device_usbgadget;
|
|
|
|
|
|
|
|
/* s3c2440 specific devices */
|
|
|
|
|
|
|
|
#ifdef CONFIG_CPU_S3C2440
|
|
|
|
|
|
|
|
extern struct platform_device s3c_device_camif;
|
|
|
|
|
|
|
|
#endif
|