Uwe Kleine-König | e2611ba | 2010-06-16 12:26:53 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2010 Pengutronix |
| 3 | * Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de> |
| 4 | * |
| 5 | * This program is free software; you can redistribute it and/or modify it under |
| 6 | * the terms of the GNU General Public License version 2 as published by the |
| 7 | * Free Software Foundation. |
| 8 | */ |
| 9 | #include <mach/mx35.h> |
| 10 | #include <mach/devices-common.h> |
| 11 | |
Marc Kleine-Budde | 61c6850 | 2010-07-22 11:45:34 +0200 | [diff] [blame] | 12 | #define imx35_add_flexcan0(pdata) \ |
| 13 | imx_add_flexcan(0, MX35_CAN1_BASE_ADDR, SZ_16K, MX35_INT_CAN1, pdata) |
| 14 | #define imx35_add_flexcan1(pdata) \ |
| 15 | imx_add_flexcan(1, MX35_CAN2_BASE_ADDR, SZ_16K, MX35_INT_CAN2, pdata) |
| 16 | |
Uwe Kleine-König | 64de5ec | 2010-09-21 12:13:34 +0200 | [diff] [blame] | 17 | extern const struct imx_imx_i2c_data imx35_imx_i2c_data[] __initconst; |
| 18 | #define imx35_add_imx_i2c(id, pdata) \ |
| 19 | imx_add_imx_i2c(&imx35_imx_i2c_data[id], pdata) |
| 20 | #define imx35_add_imx_i2c0(pdata) imx35_add_imx_i2c(0, pdata) |
| 21 | #define imx35_add_imx_i2c1(pdata) imx35_add_imx_i2c(1, pdata) |
| 22 | #define imx35_add_imx_i2c2(pdata) imx35_add_imx_i2c(2, pdata) |
Uwe Kleine-König | 7cdc8fa | 2010-06-16 19:25:34 +0200 | [diff] [blame] | 23 | |
Uwe Kleine-König | 4697bb92 | 2010-08-25 17:37:45 +0200 | [diff] [blame] | 24 | extern const struct imx_imx_ssi_data imx35_imx_ssi_data[] __initconst; |
| 25 | #define imx35_add_imx_ssi(id, pdata) \ |
| 26 | imx_add_imx_ssi(&imx35_imx_ssi_data[id], pdata) |
| 27 | |
Uwe Kleine-König | 5162de0 | 2010-08-10 22:57:24 +0200 | [diff] [blame] | 28 | extern const struct imx_imx_uart_1irq_data imx35_imx_uart_data[] __initconst; |
| 29 | #define imx35_add_imx_uart(id, pdata) \ |
| 30 | imx_add_imx_uart_1irq(&imx35_imx_uart_data[id], pdata) |
| 31 | #define imx35_add_imx_uart0(pdata) imx35_add_imx_uart(0, pdata) |
| 32 | #define imx35_add_imx_uart1(pdata) imx35_add_imx_uart(1, pdata) |
| 33 | #define imx35_add_imx_uart2(pdata) imx35_add_imx_uart(2, pdata) |
Uwe Kleine-König | 6eafde5 | 2010-06-23 11:49:34 +0200 | [diff] [blame] | 34 | |
Uwe Kleine-König | 00b57bf | 2010-08-23 11:25:52 +0200 | [diff] [blame^] | 35 | extern const struct imx_mxc_nand_data imx35_mxc_nand_data __initconst; |
Uwe Kleine-König | e2611ba | 2010-06-16 12:26:53 +0200 | [diff] [blame] | 36 | #define imx35_add_mxc_nand(pdata) \ |
Uwe Kleine-König | 00b57bf | 2010-08-23 11:25:52 +0200 | [diff] [blame^] | 37 | imx_add_mxc_nand(&imx35_mxc_nand_data, pdata) |
Uwe Kleine-König | a4dc013 | 2010-06-22 10:14:15 +0200 | [diff] [blame] | 38 | |
Uwe Kleine-König | 35bab05 | 2010-09-09 21:02:02 +0200 | [diff] [blame] | 39 | extern const struct imx_spi_imx_data imx35_cspi_data[] __initconst; |
| 40 | #define imx35_add_cspi(id, pdata) \ |
| 41 | imx_add_spi_imx(&imx35_cspi_data[id], pdata) |
| 42 | #define imx35_add_spi_imx0(pdata) imx35_add_cspi(0, pdata) |
| 43 | #define imx35_add_spi_imx1(pdata) imx35_add_cspi(1, pdata) |