Yong Shen | a58154d | 2011-01-04 14:22:56 +0800 | [diff] [blame] | 1 | /* |
| 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 Zhao | af12e3a | 2011-03-31 18:16:23 +0800 | [diff] [blame] | 11 | extern const struct imx_fec_data imx53_fec_data; |
Yong Shen | 6390476 | 2011-01-07 12:25:32 +0800 | [diff] [blame] | 12 | #define imx53_add_fec(pdata) \ |
| 13 | imx_add_fec(&imx53_fec_data, pdata) |
| 14 | |
Richard Zhao | af12e3a | 2011-03-31 18:16:23 +0800 | [diff] [blame] | 15 | extern const struct imx_imx_uart_1irq_data imx53_imx_uart_data[]; |
Yong Shen | a58154d | 2011-01-04 14:22:56 +0800 | [diff] [blame] | 16 | #define imx53_add_imx_uart(id, pdata) \ |
| 17 | imx_add_imx_uart_1irq(&imx53_imx_uart_data[id], pdata) |
Yong Shen | 0d7671e | 2011-01-07 12:25:33 +0800 | [diff] [blame] | 18 | |
| 19 | |
Richard Zhao | af12e3a | 2011-03-31 18:16:23 +0800 | [diff] [blame] | 20 | extern const struct imx_imx_i2c_data imx53_imx_i2c_data[]; |
Yong Shen | 0d7671e | 2011-01-07 12:25:33 +0800 | [diff] [blame] | 21 | #define imx53_add_imx_i2c(id, pdata) \ |
| 22 | imx_add_imx_i2c(&imx53_imx_i2c_data[id], pdata) |
Yong Shen | 410d345 | 2011-01-07 12:25:34 +0800 | [diff] [blame] | 23 | |
Richard Zhao | af12e3a | 2011-03-31 18:16:23 +0800 | [diff] [blame] | 24 | extern const struct imx_sdhci_esdhc_imx_data imx53_sdhci_esdhc_imx_data[]; |
Yong Shen | 410d345 | 2011-01-07 12:25:34 +0800 | [diff] [blame] | 25 | #define imx53_add_sdhci_esdhc_imx(id, pdata) \ |
| 26 | imx_add_sdhci_esdhc_imx(&imx53_sdhci_esdhc_imx_data[id], pdata) |
Yong Shen | b0a6ba5 | 2011-01-10 20:08:53 +0800 | [diff] [blame] | 27 | |
Richard Zhao | af12e3a | 2011-03-31 18:16:23 +0800 | [diff] [blame] | 28 | extern const struct imx_spi_imx_data imx53_ecspi_data[]; |
Yong Shen | b0a6ba5 | 2011-01-10 20:08:53 +0800 | [diff] [blame] | 29 | #define imx53_add_ecspi(id, pdata) \ |
| 30 | imx_add_spi_imx(&imx53_ecspi_data[id], pdata) |
Fabio Estevam | 78c7359 | 2011-02-17 18:09:52 -0200 | [diff] [blame] | 31 | |
Richard Zhao | af12e3a | 2011-03-31 18:16:23 +0800 | [diff] [blame] | 32 | extern const struct imx_imx2_wdt_data imx53_imx2_wdt_data[]; |
Fabio Estevam | 78c7359 | 2011-02-17 18:09:52 -0200 | [diff] [blame] | 33 | #define imx53_add_imx2_wdt(id, pdata) \ |
| 34 | imx_add_imx2_wdt(&imx53_imx2_wdt_data[id]) |