devs.h 1.7 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
struct s3c24xx_uart_resources {
	struct resource		*resources;
	unsigned long		 nr_resources;
};

extern struct s3c24xx_uart_resources s3c2410_uart_resources[];
20
extern struct s3c24xx_uart_resources s3c64xx_uart_resources[];
21

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

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

27
extern struct platform_device s3c_device_fb;
L
Linus Torvalds 已提交
28 29 30
extern struct platform_device s3c_device_usb;
extern struct platform_device s3c_device_lcd;
extern struct platform_device s3c_device_wdt;
31
extern struct platform_device s3c_device_i2c0;
B
Ben Dooks 已提交
32
extern struct platform_device s3c_device_i2c1;
L
Linus Torvalds 已提交
33 34 35 36
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;
37
extern struct platform_device s3c_device_hwmon;
38 39 40
extern struct platform_device s3c_device_hsmmc0;
extern struct platform_device s3c_device_hsmmc1;
extern struct platform_device s3c_device_hsmmc2;
L
Linus Torvalds 已提交
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55

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