2 * Copyright (C) 2010 Pengutronix
3 * Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de>
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.
10 #include <mach/devices-common.h>
12 extern const struct imx_fec_data imx51_fec_data
;
13 #define imx51_add_fec(pdata) \
14 imx_add_fec(&imx51_fec_data, pdata)
16 extern const struct imx_imx_i2c_data imx51_imx_i2c_data
[];
17 #define imx51_add_imx_i2c(id, pdata) \
18 imx_add_imx_i2c(&imx51_imx_i2c_data[id], pdata)
20 extern const struct imx_imx_ssi_data imx51_imx_ssi_data
[];
21 #define imx51_add_imx_ssi(id, pdata) \
22 imx_add_imx_ssi(&imx51_imx_ssi_data[id], pdata)
24 extern const struct imx_imx_uart_1irq_data imx51_imx_uart_data
[];
25 #define imx51_add_imx_uart(id, pdata) \
26 imx_add_imx_uart_1irq(&imx51_imx_uart_data[id], pdata)
28 extern const struct imx_mxc_nand_data imx51_mxc_nand_data
;
29 #define imx51_add_mxc_nand(pdata) \
30 imx_add_mxc_nand(&imx51_mxc_nand_data, pdata)
32 extern const struct imx_sdhci_esdhc_imx_data imx51_sdhci_esdhc_imx_data
[];
33 #define imx51_add_sdhci_esdhc_imx(id, pdata) \
34 imx_add_sdhci_esdhc_imx(&imx51_sdhci_esdhc_imx_data[id], pdata)
36 extern const struct imx_spi_imx_data imx51_cspi_data
;
37 #define imx51_add_cspi(pdata) \
38 imx_add_spi_imx(&imx51_cspi_data, pdata)
40 extern const struct imx_spi_imx_data imx51_ecspi_data
[];
41 #define imx51_add_ecspi(id, pdata) \
42 imx_add_spi_imx(&imx51_ecspi_data[id], pdata)
44 extern const struct imx_imx2_wdt_data imx51_imx2_wdt_data
[];
45 #define imx51_add_imx2_wdt(id, pdata) \
46 imx_add_imx2_wdt(&imx51_imx2_wdt_data[id])
48 extern const struct imx_mxc_pwm_data imx51_mxc_pwm_data
[];
49 #define imx51_add_mxc_pwm(id) \
50 imx_add_mxc_pwm(&imx51_mxc_pwm_data[id])
52 extern const struct imx_imx_keypad_data imx51_imx_keypad_data
;
53 #define imx51_add_imx_keypad(pdata) \
54 imx_add_imx_keypad(&imx51_imx_keypad_data, pdata)