2010-09-30 21:44:53 +07: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.
|
|
|
|
*/
|
2012-09-13 14:51:15 +07:00
|
|
|
#include "devices/devices-common.h"
|
2010-09-30 21:44:53 +07:00
|
|
|
|
2011-03-31 17:16:23 +07:00
|
|
|
extern const struct imx_fec_data imx51_fec_data;
|
2010-10-06 17:00:18 +07:00
|
|
|
#define imx51_add_fec(pdata) \
|
|
|
|
imx_add_fec(&imx51_fec_data, pdata)
|
|
|
|
|
2011-07-31 04:57:25 +07:00
|
|
|
extern const struct imx_fsl_usb2_udc_data imx51_fsl_usb2_udc_data;
|
|
|
|
#define imx51_add_fsl_usb2_udc(pdata) \
|
|
|
|
imx_add_fsl_usb2_udc(&imx51_fsl_usb2_udc_data, pdata)
|
|
|
|
|
2011-03-31 17:16:23 +07:00
|
|
|
extern const struct imx_imx_i2c_data imx51_imx_i2c_data[];
|
2010-09-30 21:44:53 +07:00
|
|
|
#define imx51_add_imx_i2c(id, pdata) \
|
|
|
|
imx_add_imx_i2c(&imx51_imx_i2c_data[id], pdata)
|
2011-08-01 14:07:54 +07:00
|
|
|
#define imx51_add_hsi2c(pdata) \
|
|
|
|
imx51_add_imx_i2c(2, pdata)
|
2010-09-10 21:57:07 +07:00
|
|
|
|
2011-03-31 17:16:23 +07:00
|
|
|
extern const struct imx_imx_ssi_data imx51_imx_ssi_data[];
|
2010-08-20 21:43:54 +07:00
|
|
|
#define imx51_add_imx_ssi(id, pdata) \
|
|
|
|
imx_add_imx_ssi(&imx51_imx_ssi_data[id], pdata)
|
|
|
|
|
2011-03-31 17:16:23 +07:00
|
|
|
extern const struct imx_imx_uart_1irq_data imx51_imx_uart_data[];
|
2010-08-12 03:23:06 +07:00
|
|
|
#define imx51_add_imx_uart(id, pdata) \
|
|
|
|
imx_add_imx_uart_1irq(&imx51_imx_uart_data[id], pdata)
|
|
|
|
|
2011-07-31 04:41:49 +07:00
|
|
|
extern const struct imx_mxc_ehci_data imx51_mxc_ehci_otg_data;
|
|
|
|
#define imx51_add_mxc_ehci_otg(pdata) \
|
|
|
|
imx_add_mxc_ehci(&imx51_mxc_ehci_otg_data, pdata)
|
|
|
|
extern const struct imx_mxc_ehci_data imx51_mxc_ehci_hs_data[];
|
|
|
|
#define imx51_add_mxc_ehci_hs(id, pdata) \
|
|
|
|
imx_add_mxc_ehci(&imx51_mxc_ehci_hs_data[id - 1], pdata)
|
|
|
|
|
2011-03-31 17:16:23 +07:00
|
|
|
extern const struct imx_mxc_nand_data imx51_mxc_nand_data;
|
2010-08-03 16:59:46 +07:00
|
|
|
#define imx51_add_mxc_nand(pdata) \
|
|
|
|
imx_add_mxc_nand(&imx51_mxc_nand_data, pdata)
|
|
|
|
|
2011-03-31 17:16:23 +07:00
|
|
|
extern const struct imx_sdhci_esdhc_imx_data imx51_sdhci_esdhc_imx_data[];
|
2010-11-20 03:03:33 +07:00
|
|
|
#define imx51_add_sdhci_esdhc_imx(id, pdata) \
|
|
|
|
imx_add_sdhci_esdhc_imx(&imx51_sdhci_esdhc_imx_data[id], pdata)
|
|
|
|
|
2011-03-31 17:16:23 +07:00
|
|
|
extern const struct imx_spi_imx_data imx51_cspi_data;
|
2010-09-10 21:57:07 +07:00
|
|
|
#define imx51_add_cspi(pdata) \
|
|
|
|
imx_add_spi_imx(&imx51_cspi_data, pdata)
|
|
|
|
|
2011-03-31 17:16:23 +07:00
|
|
|
extern const struct imx_spi_imx_data imx51_ecspi_data[];
|
2010-09-10 21:57:07 +07:00
|
|
|
#define imx51_add_ecspi(id, pdata) \
|
|
|
|
imx_add_spi_imx(&imx51_ecspi_data[id], pdata)
|
2010-11-26 21:25:59 +07:00
|
|
|
|
2011-03-31 17:16:23 +07:00
|
|
|
extern const struct imx_imx2_wdt_data imx51_imx2_wdt_data[];
|
2012-07-04 21:35:54 +07:00
|
|
|
#define imx51_add_imx2_wdt(id) \
|
2010-12-07 01:38:32 +07:00
|
|
|
imx_add_imx2_wdt(&imx51_imx2_wdt_data[id])
|
2010-12-01 20:11:46 +07:00
|
|
|
|
2011-03-31 17:16:23 +07:00
|
|
|
extern const struct imx_mxc_pwm_data imx51_mxc_pwm_data[];
|
2011-01-13 18:26:39 +07:00
|
|
|
#define imx51_add_mxc_pwm(id) \
|
|
|
|
imx_add_mxc_pwm(&imx51_mxc_pwm_data[id])
|
2010-12-01 20:11:47 +07:00
|
|
|
|
2011-03-31 17:16:23 +07:00
|
|
|
extern const struct imx_imx_keypad_data imx51_imx_keypad_data;
|
2010-12-01 20:11:47 +07:00
|
|
|
#define imx51_add_imx_keypad(pdata) \
|
|
|
|
imx_add_imx_keypad(&imx51_imx_keypad_data, pdata)
|
2011-07-26 21:54:25 +07:00
|
|
|
|
|
|
|
extern const struct imx_pata_imx_data imx51_pata_imx_data;
|
|
|
|
#define imx51_add_pata_imx() \
|
|
|
|
imx_add_pata_imx(&imx51_pata_imx_data)
|