1 /*
2  * Copyright (C) 2010 Pengutronix
3  * Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de>
4  *
5  * This program is free software; you can redistribute it and/or modify it under
6  * the terms of the GNU General Public License version 2 as published by the
7  * Free Software Foundation.
8  */
9 #include <mach/mx51.h>
10 #include <mach/devices-common.h>
11 
12 extern const struct imx_fec_data imx51_fec_data __initconst;
13 #define imx51_add_fec(pdata)	\
14 	imx_add_fec(&imx51_fec_data, pdata)
15 
16 #define imx51_add_gpio_keys(pdata) imx_add_gpio_keys(pdata)
17 
18 extern const struct imx_imx_i2c_data imx51_imx_i2c_data[] __initconst;
19 #define imx51_add_imx_i2c(id, pdata)	\
20 	imx_add_imx_i2c(&imx51_imx_i2c_data[id], pdata)
21 
22 extern const struct imx_imx_ssi_data imx51_imx_ssi_data[] __initconst;
23 #define imx51_add_imx_ssi(id, pdata)	\
24 	imx_add_imx_ssi(&imx51_imx_ssi_data[id], pdata)
25 
26 extern const struct imx_imx_uart_1irq_data imx51_imx_uart_data[] __initconst;
27 #define imx51_add_imx_uart(id, pdata)	\
28 	imx_add_imx_uart_1irq(&imx51_imx_uart_data[id], pdata)
29 
30 extern const struct imx_mxc_nand_data imx51_mxc_nand_data __initconst;
31 #define imx51_add_mxc_nand(pdata)	\
32 	imx_add_mxc_nand(&imx51_mxc_nand_data, pdata)
33 
34 extern const struct imx_sdhci_esdhc_imx_data
35 imx51_sdhci_esdhc_imx_data[] __initconst;
36 #define imx51_add_sdhci_esdhc_imx(id, pdata)	\
37 	imx_add_sdhci_esdhc_imx(&imx51_sdhci_esdhc_imx_data[id], pdata)
38 
39 extern const struct imx_spi_imx_data imx51_cspi_data __initconst;
40 #define imx51_add_cspi(pdata)	\
41 	imx_add_spi_imx(&imx51_cspi_data, pdata)
42 
43 extern const struct imx_spi_imx_data imx51_ecspi_data[] __initconst;
44 #define imx51_add_ecspi(id, pdata)	\
45 	imx_add_spi_imx(&imx51_ecspi_data[id], pdata)
46 
47 extern const struct imx_imx2_wdt_data imx51_imx2_wdt_data[] __initconst;
48 #define imx51_add_imx2_wdt(id, pdata)	\
49 	imx_add_imx2_wdt(&imx51_imx2_wdt_data[id])
50 
51 extern const struct imx_mxc_pwm_data imx51_mxc_pwm_data[] __initconst;
52 #define imx51_add_mxc_pwm(id)	\
53 	imx_add_mxc_pwm(&imx51_mxc_pwm_data[id])
54 
55 extern const struct imx_imx_keypad_data imx51_imx_keypad_data __initconst;
56 #define imx51_add_imx_keypad(pdata)	\
57 	imx_add_imx_keypad(&imx51_imx_keypad_data, pdata)
58