devs.h 1.4 KB
Newer Older
1
/* linux/include/asm-arm/plat-s3c24xx/devs.h
L
Linus Torvalds 已提交
2 3 4 5 6 7 8 9 10 11
 *
 * 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.
*/
12
#include <linux/platform_device.h>
L
Linus Torvalds 已提交
13

14 15 16 17 18 19 20
struct s3c24xx_uart_resources {
	struct resource		*resources;
	unsigned long		 nr_resources;
};

extern struct s3c24xx_uart_resources s3c2410_uart_resources[];

L
Linus Torvalds 已提交
21
extern struct platform_device *s3c24xx_uart_devs[];
22
extern struct platform_device *s3c24xx_uart_src[];
L
Linus Torvalds 已提交
23

B
Ben Dooks 已提交
24 25
extern struct platform_device s3c_device_timer[];

L
Linus Torvalds 已提交
26 27 28 29 30 31 32 33
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;
34
extern struct platform_device s3c_device_hsmmc;
L
Linus Torvalds 已提交
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49

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_usbgadget;

/* s3c2440 specific devices */

#ifdef CONFIG_CPU_S3C2440

extern struct platform_device s3c_device_camif;

#endif