blob: 77e0db96c4483c4592099fb7639678a180f84190 [file] [log] [blame]
Yong Shena58154d2011-01-04 14:22:56 +08001/*
2 * Copyright (C) 2010 Yong Shen. <Yong.Shen@linaro.org>
3 *
4 * This program is free software; you can redistribute it and/or modify it under
5 * the terms of the GNU General Public License version 2 as published by the
6 * Free Software Foundation.
7 */
8#include <mach/mx53.h>
9#include <mach/devices-common.h>
10
Richard Zhaoaf12e3a2011-03-31 18:16:23 +080011extern const struct imx_fec_data imx53_fec_data;
Yong Shen63904762011-01-07 12:25:32 +080012#define imx53_add_fec(pdata) \
13 imx_add_fec(&imx53_fec_data, pdata)
14
Richard Zhaoaf12e3a2011-03-31 18:16:23 +080015extern const struct imx_imx_uart_1irq_data imx53_imx_uart_data[];
Yong Shena58154d2011-01-04 14:22:56 +080016#define imx53_add_imx_uart(id, pdata) \
17 imx_add_imx_uart_1irq(&imx53_imx_uart_data[id], pdata)
Yong Shen0d7671e2011-01-07 12:25:33 +080018
19
Richard Zhaoaf12e3a2011-03-31 18:16:23 +080020extern const struct imx_imx_i2c_data imx53_imx_i2c_data[];
Yong Shen0d7671e2011-01-07 12:25:33 +080021#define imx53_add_imx_i2c(id, pdata) \
22 imx_add_imx_i2c(&imx53_imx_i2c_data[id], pdata)
Yong Shen410d34582011-01-07 12:25:34 +080023
Richard Zhaoaf12e3a2011-03-31 18:16:23 +080024extern const struct imx_sdhci_esdhc_imx_data imx53_sdhci_esdhc_imx_data[];
Yong Shen410d34582011-01-07 12:25:34 +080025#define imx53_add_sdhci_esdhc_imx(id, pdata) \
26 imx_add_sdhci_esdhc_imx(&imx53_sdhci_esdhc_imx_data[id], pdata)
Yong Shenb0a6ba52011-01-10 20:08:53 +080027
Richard Zhaoaf12e3a2011-03-31 18:16:23 +080028extern const struct imx_spi_imx_data imx53_ecspi_data[];
Yong Shenb0a6ba52011-01-10 20:08:53 +080029#define imx53_add_ecspi(id, pdata) \
30 imx_add_spi_imx(&imx53_ecspi_data[id], pdata)
Fabio Estevam78c73592011-02-17 18:09:52 -020031
Richard Zhaoaf12e3a2011-03-31 18:16:23 +080032extern const struct imx_imx2_wdt_data imx53_imx2_wdt_data[];
Benoît Thébaudeaubec31a82012-07-04 16:35:54 +020033#define imx53_add_imx2_wdt(id) \
Fabio Estevam78c73592011-02-17 18:09:52 -020034 imx_add_imx2_wdt(&imx53_imx2_wdt_data[id])
Fabio Estevame1fb61e2011-06-27 17:12:09 -030035
36extern const struct imx_imx_ssi_data imx53_imx_ssi_data[];
37#define imx53_add_imx_ssi(id, pdata) \
38 imx_add_imx_ssi(&imx53_imx_ssi_data[id], pdata)
Fabio Estevam22785de2011-06-27 17:12:11 -030039
40extern const struct imx_imx_keypad_data imx53_imx_keypad_data;
41#define imx53_add_imx_keypad(pdata) \
42 imx_add_imx_keypad(&imx53_imx_keypad_data, pdata)
Fabio Estevamd5534ba2011-08-24 12:04:14 -030043
44extern const struct imx_pata_imx_data imx53_pata_imx_data;
45#define imx53_add_pata_imx() \
46 imx_add_pata_imx(&imx53_pata_imx_data)
Arnd Bergmannb4cbb8a2011-10-20 15:14:25 +020047
Richard Zhu97915bd2011-09-28 15:41:53 +080048extern struct platform_device *__init imx53_add_ahci_imx(void);