blob: da593657ff3f11b2a131902b955cae6480d5bd38 [file] [log] [blame]
Uwe Kleine-König6348e6b2010-06-16 15:26:07 +02001/*
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/mx1.h>
10#include <mach/devices-common.h>
11
Gwenhael Goavec-Merou9685a362011-03-02 08:11:05 +000012extern const struct imx_imx_fb_data imx1_imx_fb_data __initconst;
13#define imx1_add_imx_fb(pdata) \
14 imx_add_imx_fb(&imx1_imx_fb_data, pdata)
15
Uwe Kleine-König64de5ec2010-09-21 12:13:34 +020016extern const struct imx_imx_i2c_data imx1_imx_i2c_data __initconst;
Uwe Kleine-König77a406d2010-08-25 12:19:50 +020017#define imx1_add_imx_i2c(pdata) \
Uwe Kleine-König64de5ec2010-09-21 12:13:34 +020018 imx_add_imx_i2c(&imx1_imx_i2c_data, pdata)
Uwe Kleine-Königd112f4e2010-06-22 14:50:59 +020019
Uwe Kleine-König5162de02010-08-10 22:57:24 +020020extern const struct imx_imx_uart_3irq_data imx1_imx_uart_data[] __initconst;
21#define imx1_add_imx_uart(id, pdata) \
22 imx_add_imx_uart_3irq(&imx1_imx_uart_data[id], pdata)
23#define imx1_add_imx_uart0(pdata) imx1_add_imx_uart(0, pdata)
24#define imx1_add_imx_uart1(pdata) imx1_add_imx_uart(1, pdata)
Gwenhael Goavec-Merou19373c02011-02-23 16:58:39 +000025
26extern const struct imx_spi_imx_data imx1_cspi_data[] __initconst;
27#define imx1_add_cspi(id, pdata) \
28 imx_add_spi_imx(&imx1_cspi_data[id], pdata)
29
30#define imx1_add_spi_imx0(pdata) imx1_add_cspi(0, pdata)
31#define imx1_add_spi_imx1(pdata) imx1_add_cspi(1, pdata)