Uwe Kleine-König | 44505c0 | 2010-09-30 16:44:53 +0200 | [diff] [blame] | 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 | |
Uwe Kleine-König | 6bd96f3 | 2010-10-06 12:00:18 +0200 | [diff] [blame] | 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 | |
Dinh Nguyen | f2d36ecb | 2010-10-23 09:12:47 -0500 | [diff] [blame] | 16 | #define imx51_add_gpio_keys(pdata) imx_add_gpio_keys(pdata) |
| 17 | |
Uwe Kleine-König | 44505c0 | 2010-09-30 16:44:53 +0200 | [diff] [blame] | 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) |
Uwe Kleine-König | 9f0c11e | 2010-09-10 16:57:07 +0200 | [diff] [blame] | 21 | |
Sascha Hauer | b861866 | 2010-08-20 16:43:54 +0200 | [diff] [blame] | 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 | |
Uwe Kleine-König | 04b73b1 | 2010-08-11 22:23:06 +0200 | [diff] [blame] | 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 | |
Sascha Hauer | 63a7c6d | 2010-08-03 11:59:46 +0200 | [diff] [blame] | 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 | |
Uwe Kleine-König | 124bf94 | 2010-11-19 21:03:33 +0100 | [diff] [blame] | 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 | |
Uwe Kleine-König | 9f0c11e | 2010-09-10 16:57:07 +0200 | [diff] [blame] | 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) |
Fabio Estevam | b99545c | 2010-11-26 12:25:59 -0200 | [diff] [blame] | 46 | |
Fabio Estevam | 8c2efec | 2010-12-06 16:38:32 -0200 | [diff] [blame] | 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]) |
Fabio Estevam | 076762a | 2010-12-01 11:11:46 -0200 | [diff] [blame^] | 50 | |
| 51 | extern const struct imx_mxc_pwm_data imx51_mxc_pwm_data[] __initconst; |
| 52 | #define imx51_add_mxc_pwm(id, pdata) \ |
| 53 | imx_add_mxc_pwm(&imx51_mxc_pwm_data[id], pdata) |