2011-01-04 07:22:56 +01:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2010 Yong Shen. <Yong.Shen@linaro.org>
|
|
|
|
*
|
|
|
|
* 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/mx53.h>
|
|
|
|
#include <mach/devices-common.h>
|
|
|
|
|
2011-03-31 12:16:23 +02:00
|
|
|
extern const struct imx_fec_data imx53_fec_data;
|
2011-01-07 05:25:32 +01:00
|
|
|
#define imx53_add_fec(pdata) \
|
|
|
|
imx_add_fec(&imx53_fec_data, pdata)
|
|
|
|
|
2011-03-31 12:16:23 +02:00
|
|
|
extern const struct imx_imx_uart_1irq_data imx53_imx_uart_data[];
|
2011-01-04 07:22:56 +01:00
|
|
|
#define imx53_add_imx_uart(id, pdata) \
|
|
|
|
imx_add_imx_uart_1irq(&imx53_imx_uart_data[id], pdata)
|
2011-01-07 05:25:33 +01:00
|
|
|
|
|
|
|
|
2011-03-31 12:16:23 +02:00
|
|
|
extern const struct imx_imx_i2c_data imx53_imx_i2c_data[];
|
2011-01-07 05:25:33 +01:00
|
|
|
#define imx53_add_imx_i2c(id, pdata) \
|
|
|
|
imx_add_imx_i2c(&imx53_imx_i2c_data[id], pdata)
|
2011-01-07 05:25:34 +01:00
|
|
|
|
2011-03-31 12:16:23 +02:00
|
|
|
extern const struct imx_sdhci_esdhc_imx_data imx53_sdhci_esdhc_imx_data[];
|
2011-01-07 05:25:34 +01:00
|
|
|
#define imx53_add_sdhci_esdhc_imx(id, pdata) \
|
|
|
|
imx_add_sdhci_esdhc_imx(&imx53_sdhci_esdhc_imx_data[id], pdata)
|
2011-01-10 13:08:53 +01:00
|
|
|
|
2011-03-31 12:16:23 +02:00
|
|
|
extern const struct imx_spi_imx_data imx53_ecspi_data[];
|
2011-01-10 13:08:53 +01:00
|
|
|
#define imx53_add_ecspi(id, pdata) \
|
|
|
|
imx_add_spi_imx(&imx53_ecspi_data[id], pdata)
|
2011-02-17 21:09:52 +01:00
|
|
|
|
2011-03-31 12:16:23 +02:00
|
|
|
extern const struct imx_imx2_wdt_data imx53_imx2_wdt_data[];
|
2012-07-04 16:35:54 +02:00
|
|
|
#define imx53_add_imx2_wdt(id) \
|
2011-02-17 21:09:52 +01:00
|
|
|
imx_add_imx2_wdt(&imx53_imx2_wdt_data[id])
|
2011-06-27 22:12:09 +02:00
|
|
|
|
|
|
|
extern const struct imx_imx_ssi_data imx53_imx_ssi_data[];
|
|
|
|
#define imx53_add_imx_ssi(id, pdata) \
|
|
|
|
imx_add_imx_ssi(&imx53_imx_ssi_data[id], pdata)
|
2011-06-27 22:12:11 +02:00
|
|
|
|
|
|
|
extern const struct imx_imx_keypad_data imx53_imx_keypad_data;
|
|
|
|
#define imx53_add_imx_keypad(pdata) \
|
|
|
|
imx_add_imx_keypad(&imx53_imx_keypad_data, pdata)
|
2011-08-24 17:04:14 +02:00
|
|
|
|
|
|
|
extern const struct imx_pata_imx_data imx53_pata_imx_data;
|
|
|
|
#define imx53_add_pata_imx() \
|
|
|
|
imx_add_pata_imx(&imx53_pata_imx_data)
|
2011-10-20 15:14:25 +02:00
|
|
|
|
2011-09-28 09:41:53 +02:00
|
|
|
extern struct platform_device *__init imx53_add_ahci_imx(void);
|