• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2010 Yong Shen. <Yong.Shen@linaro.org>
3  *
4  * This program is free software; you can redistribute it and/or modify it under
5  * the terms of the GNU General Public License version 2 as published by the
6  * Free Software Foundation.
7  */
8 #include <mach/mx53.h>
9 #include <mach/devices-common.h>
10 
11 extern const struct imx_fec_data imx53_fec_data;
12 #define imx53_add_fec(pdata)   \
13 	imx_add_fec(&imx53_fec_data, pdata)
14 
15 extern const struct imx_imx_uart_1irq_data imx53_imx_uart_data[];
16 #define imx53_add_imx_uart(id, pdata)	\
17 	imx_add_imx_uart_1irq(&imx53_imx_uart_data[id], pdata)
18 
19 
20 extern const struct imx_imx_i2c_data imx53_imx_i2c_data[];
21 #define imx53_add_imx_i2c(id, pdata)	\
22 	imx_add_imx_i2c(&imx53_imx_i2c_data[id], pdata)
23 
24 extern const struct imx_sdhci_esdhc_imx_data imx53_sdhci_esdhc_imx_data[];
25 #define imx53_add_sdhci_esdhc_imx(id, pdata)	\
26 	imx_add_sdhci_esdhc_imx(&imx53_sdhci_esdhc_imx_data[id], pdata)
27 
28 extern const struct imx_spi_imx_data imx53_ecspi_data[];
29 #define imx53_add_ecspi(id, pdata)	\
30 	imx_add_spi_imx(&imx53_ecspi_data[id], pdata)
31 
32 extern const struct imx_imx2_wdt_data imx53_imx2_wdt_data[];
33 #define imx53_add_imx2_wdt(id, pdata)	\
34 	imx_add_imx2_wdt(&imx53_imx2_wdt_data[id])
35 
36 extern const struct imx_imx_ssi_data imx53_imx_ssi_data[];
37 #define imx53_add_imx_ssi(id, pdata)	\
38 	imx_add_imx_ssi(&imx53_imx_ssi_data[id], pdata)
39 
40 extern const struct imx_imx_keypad_data imx53_imx_keypad_data;
41 #define imx53_add_imx_keypad(pdata)	\
42 	imx_add_imx_keypad(&imx53_imx_keypad_data, pdata)
43 
44 extern const struct imx_pata_imx_data imx53_pata_imx_data;
45 #define imx53_add_pata_imx() \
46 	imx_add_pata_imx(&imx53_pata_imx_data)
47 
48 extern struct platform_device *__init imx53_add_ahci_imx(void);
49