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.
9 #include "devices/devices-common.h"
11 extern const struct imx_fec_data imx51_fec_data
;
12 #define imx51_add_fec(pdata) \
13 imx_add_fec(&imx51_fec_data, pdata)
15 extern const struct imx_fsl_usb2_udc_data imx51_fsl_usb2_udc_data
;
16 #define imx51_add_fsl_usb2_udc(pdata) \
17 imx_add_fsl_usb2_udc(&imx51_fsl_usb2_udc_data, pdata)
19 extern const struct imx_imx_i2c_data imx51_imx_i2c_data
[];
20 #define imx51_add_imx_i2c(id, pdata) \
21 imx_add_imx_i2c(&imx51_imx_i2c_data[id], pdata)
22 #define imx51_add_hsi2c(pdata) \
23 imx51_add_imx_i2c(2, pdata)
25 extern const struct imx_imx_ssi_data imx51_imx_ssi_data
[];
26 #define imx51_add_imx_ssi(id, pdata) \
27 imx_add_imx_ssi(&imx51_imx_ssi_data[id], pdata)
29 extern const struct imx_imx_uart_1irq_data imx51_imx_uart_data
[];
30 #define imx51_add_imx_uart(id, pdata) \
31 imx_add_imx_uart_1irq(&imx51_imx_uart_data[id], pdata)
33 extern const struct imx_mxc_ehci_data imx51_mxc_ehci_otg_data
;
34 #define imx51_add_mxc_ehci_otg(pdata) \
35 imx_add_mxc_ehci(&imx51_mxc_ehci_otg_data, pdata)
36 extern const struct imx_mxc_ehci_data imx51_mxc_ehci_hs_data
[];
37 #define imx51_add_mxc_ehci_hs(id, pdata) \
38 imx_add_mxc_ehci(&imx51_mxc_ehci_hs_data[id - 1], pdata)
40 extern const struct imx_mxc_nand_data imx51_mxc_nand_data
;
41 #define imx51_add_mxc_nand(pdata) \
42 imx_add_mxc_nand(&imx51_mxc_nand_data, pdata)
44 extern const struct imx_sdhci_esdhc_imx_data imx51_sdhci_esdhc_imx_data
[];
45 #define imx51_add_sdhci_esdhc_imx(id, pdata) \
46 imx_add_sdhci_esdhc_imx(&imx51_sdhci_esdhc_imx_data[id], pdata)
48 extern const struct imx_spi_imx_data imx51_cspi_data
;
49 #define imx51_add_cspi(pdata) \
50 imx_add_spi_imx(&imx51_cspi_data, pdata)
52 extern const struct imx_spi_imx_data imx51_ecspi_data
[];
53 #define imx51_add_ecspi(id, pdata) \
54 imx_add_spi_imx(&imx51_ecspi_data[id], pdata)
56 extern const struct imx_imx2_wdt_data imx51_imx2_wdt_data
[];
57 #define imx51_add_imx2_wdt(id) \
58 imx_add_imx2_wdt(&imx51_imx2_wdt_data[id])
60 extern const struct imx_mxc_pwm_data imx51_mxc_pwm_data
[];
61 #define imx51_add_mxc_pwm(id) \
62 imx_add_mxc_pwm(&imx51_mxc_pwm_data[id])
64 extern const struct imx_imx_keypad_data imx51_imx_keypad_data
;
65 #define imx51_add_imx_keypad(pdata) \
66 imx_add_imx_keypad(&imx51_imx_keypad_data, pdata)
68 extern const struct imx_pata_imx_data imx51_pata_imx_data
;
69 #define imx51_add_pata_imx() \
70 imx_add_pata_imx(&imx51_pata_imx_data)