Commit | Line | Data |
---|---|---|
44505c07 UKK |
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 | */ | |
e0557c0d | 9 | #include "devices/devices-common.h" |
44505c07 | 10 | |
af12e3ae | 11 | extern const struct imx_fec_data imx51_fec_data; |
6bd96f3c UKK |
12 | #define imx51_add_fec(pdata) \ |
13 | imx_add_fec(&imx51_fec_data, pdata) | |
14 | ||
6cafe48a UKK |
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) | |
18 | ||
af12e3ae | 19 | extern const struct imx_imx_i2c_data imx51_imx_i2c_data[]; |
44505c07 UKK |
20 | #define imx51_add_imx_i2c(id, pdata) \ |
21 | imx_add_imx_i2c(&imx51_imx_i2c_data[id], pdata) | |
f2688854 UKK |
22 | #define imx51_add_hsi2c(pdata) \ |
23 | imx51_add_imx_i2c(2, pdata) | |
9f0c11ee | 24 | |
af12e3ae | 25 | extern const struct imx_imx_ssi_data imx51_imx_ssi_data[]; |
b8618661 SH |
26 | #define imx51_add_imx_ssi(id, pdata) \ |
27 | imx_add_imx_ssi(&imx51_imx_ssi_data[id], pdata) | |
28 | ||
af12e3ae | 29 | extern const struct imx_imx_uart_1irq_data imx51_imx_uart_data[]; |
04b73b15 UKK |
30 | #define imx51_add_imx_uart(id, pdata) \ |
31 | imx_add_imx_uart_1irq(&imx51_imx_uart_data[id], pdata) | |
32 | ||
7d92e8e6 UKK |
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) | |
39 | ||
af12e3ae | 40 | extern const struct imx_mxc_nand_data imx51_mxc_nand_data; |
63a7c6d7 SH |
41 | #define imx51_add_mxc_nand(pdata) \ |
42 | imx_add_mxc_nand(&imx51_mxc_nand_data, pdata) | |
43 | ||
af12e3ae | 44 | extern const struct imx_sdhci_esdhc_imx_data imx51_sdhci_esdhc_imx_data[]; |
124bf94a UKK |
45 | #define imx51_add_sdhci_esdhc_imx(id, pdata) \ |
46 | imx_add_sdhci_esdhc_imx(&imx51_sdhci_esdhc_imx_data[id], pdata) | |
47 | ||
af12e3ae | 48 | extern const struct imx_spi_imx_data imx51_cspi_data; |
9f0c11ee UKK |
49 | #define imx51_add_cspi(pdata) \ |
50 | imx_add_spi_imx(&imx51_cspi_data, pdata) | |
51 | ||
af12e3ae | 52 | extern const struct imx_spi_imx_data imx51_ecspi_data[]; |
9f0c11ee UKK |
53 | #define imx51_add_ecspi(id, pdata) \ |
54 | imx_add_spi_imx(&imx51_ecspi_data[id], pdata) | |
b99545cb | 55 | |
af12e3ae | 56 | extern const struct imx_imx2_wdt_data imx51_imx2_wdt_data[]; |
bec31a85 | 57 | #define imx51_add_imx2_wdt(id) \ |
8c2efec3 | 58 | imx_add_imx2_wdt(&imx51_imx2_wdt_data[id]) |
076762aa | 59 | |
af12e3ae | 60 | extern const struct imx_imx_keypad_data imx51_imx_keypad_data; |
a5fcfef0 FE |
61 | #define imx51_add_imx_keypad(pdata) \ |
62 | imx_add_imx_keypad(&imx51_imx_keypad_data, pdata) | |
a45adf1c APR |
63 | |
64 | extern const struct imx_pata_imx_data imx51_pata_imx_data; | |
65 | #define imx51_add_pata_imx() \ | |
66 | imx_add_pata_imx(&imx51_pata_imx_data) |