2010-09-30 22:44:53 +08:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2010 Pengutronix
|
|
|
|
* Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de>
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify it under
|
|
|
|
* the terms of the GNU General Public License version 2 as published by the
|
|
|
|
* Free Software Foundation.
|
|
|
|
*/
|
|
|
|
#include <mach/mx51.h>
|
|
|
|
#include <mach/devices-common.h>
|
|
|
|
|
2010-10-06 18:00:18 +08:00
|
|
|
extern const struct imx_fec_data imx51_fec_data __initconst;
|
|
|
|
#define imx51_add_fec(pdata) \
|
|
|
|
imx_add_fec(&imx51_fec_data, pdata)
|
|
|
|
|
2010-10-23 22:12:47 +08:00
|
|
|
#define imx51_add_gpio_keys(pdata) imx_add_gpio_keys(pdata)
|
|
|
|
|
2010-09-30 22:44:53 +08:00
|
|
|
extern const struct imx_imx_i2c_data imx51_imx_i2c_data[] __initconst;
|
|
|
|
#define imx51_add_imx_i2c(id, pdata) \
|
|
|
|
imx_add_imx_i2c(&imx51_imx_i2c_data[id], pdata)
|
2010-09-10 22:57:07 +08:00
|
|
|
|
2010-08-20 22:43:54 +08:00
|
|
|
extern const struct imx_imx_ssi_data imx51_imx_ssi_data[] __initconst;
|
|
|
|
#define imx51_add_imx_ssi(id, pdata) \
|
|
|
|
imx_add_imx_ssi(&imx51_imx_ssi_data[id], pdata)
|
|
|
|
|
2010-08-12 04:23:06 +08:00
|
|
|
extern const struct imx_imx_uart_1irq_data imx51_imx_uart_data[] __initconst;
|
|
|
|
#define imx51_add_imx_uart(id, pdata) \
|
|
|
|
imx_add_imx_uart_1irq(&imx51_imx_uart_data[id], pdata)
|
|
|
|
|
2010-08-03 17:59:46 +08:00
|
|
|
extern const struct imx_mxc_nand_data imx51_mxc_nand_data __initconst;
|
|
|
|
#define imx51_add_mxc_nand(pdata) \
|
|
|
|
imx_add_mxc_nand(&imx51_mxc_nand_data, pdata)
|
|
|
|
|
2010-11-20 04:03:33 +08:00
|
|
|
extern const struct imx_sdhci_esdhc_imx_data
|
|
|
|
imx51_sdhci_esdhc_imx_data[] __initconst;
|
|
|
|
#define imx51_add_sdhci_esdhc_imx(id, pdata) \
|
|
|
|
imx_add_sdhci_esdhc_imx(&imx51_sdhci_esdhc_imx_data[id], pdata)
|
|
|
|
|
2010-09-10 22:57:07 +08:00
|
|
|
extern const struct imx_spi_imx_data imx51_cspi_data __initconst;
|
|
|
|
#define imx51_add_cspi(pdata) \
|
|
|
|
imx_add_spi_imx(&imx51_cspi_data, pdata)
|
|
|
|
|
|
|
|
extern const struct imx_spi_imx_data imx51_ecspi_data[] __initconst;
|
|
|
|
#define imx51_add_ecspi(id, pdata) \
|
|
|
|
imx_add_spi_imx(&imx51_ecspi_data[id], pdata)
|
2010-11-26 22:25:59 +08:00
|
|
|
|
2010-12-07 02:38:32 +08:00
|
|
|
extern const struct imx_imx2_wdt_data imx51_imx2_wdt_data[] __initconst;
|
|
|
|
#define imx51_add_imx2_wdt(id, pdata) \
|
|
|
|
imx_add_imx2_wdt(&imx51_imx2_wdt_data[id])
|
2010-12-01 21:11:46 +08:00
|
|
|
|
|
|
|
extern const struct imx_mxc_pwm_data imx51_mxc_pwm_data[] __initconst;
|
2011-01-13 19:26:39 +08:00
|
|
|
#define imx51_add_mxc_pwm(id) \
|
|
|
|
imx_add_mxc_pwm(&imx51_mxc_pwm_data[id])
|
2010-12-01 21:11:47 +08:00
|
|
|
|
|
|
|
extern const struct imx_imx_keypad_data imx51_imx_keypad_data __initconst;
|
|
|
|
#define imx51_add_imx_keypad(pdata) \
|
|
|
|
imx_add_imx_keypad(&imx51_imx_keypad_data, pdata)
|