1
2
3
4
5
6 #include "devices/devices-common.h"
7
8 extern const struct imx_imx21_hcd_data imx21_imx21_hcd_data;
9 #define imx21_add_imx21_hcd(pdata) \
10 imx_add_imx21_hcd(&imx21_imx21_hcd_data, pdata)
11
12 extern const struct imx_imx2_wdt_data imx21_imx2_wdt_data;
13 #define imx21_add_imx2_wdt() \
14 imx_add_imx2_wdt(&imx21_imx2_wdt_data)
15
16 extern const struct imx_imx_fb_data imx21_imx_fb_data;
17 #define imx21_add_imx_fb(pdata) \
18 imx_add_imx_fb(&imx21_imx_fb_data, pdata)
19
20 extern const struct imx_imx_i2c_data imx21_imx_i2c_data;
21 #define imx21_add_imx_i2c(pdata) \
22 imx_add_imx_i2c(&imx21_imx_i2c_data, pdata)
23
24 extern const struct imx_imx_keypad_data imx21_imx_keypad_data;
25 #define imx21_add_imx_keypad(pdata) \
26 imx_add_imx_keypad(&imx21_imx_keypad_data, pdata)
27
28 extern const struct imx_imx_ssi_data imx21_imx_ssi_data[];
29 #define imx21_add_imx_ssi(id, pdata) \
30 imx_add_imx_ssi(&imx21_imx_ssi_data[id], pdata)
31
32 extern const struct imx_imx_uart_1irq_data imx21_imx_uart_data[];
33 #define imx21_add_imx_uart(id, pdata) \
34 imx_add_imx_uart_1irq(&imx21_imx_uart_data[id], pdata)
35 #define imx21_add_imx_uart0(pdata) imx21_add_imx_uart(0, pdata)
36 #define imx21_add_imx_uart1(pdata) imx21_add_imx_uart(1, pdata)
37 #define imx21_add_imx_uart2(pdata) imx21_add_imx_uart(2, pdata)
38 #define imx21_add_imx_uart3(pdata) imx21_add_imx_uart(3, pdata)
39
40 extern const struct imx_mxc_mmc_data imx21_mxc_mmc_data[];
41 #define imx21_add_mxc_mmc(id, pdata) \
42 imx_add_mxc_mmc(&imx21_mxc_mmc_data[id], pdata)
43
44 extern const struct imx_mxc_nand_data imx21_mxc_nand_data;
45 #define imx21_add_mxc_nand(pdata) \
46 imx_add_mxc_nand(&imx21_mxc_nand_data, pdata)
47
48 extern const struct imx_mxc_w1_data imx21_mxc_w1_data;
49 #define imx21_add_mxc_w1() \
50 imx_add_mxc_w1(&imx21_mxc_w1_data)
51
52 extern const struct imx_spi_imx_data imx21_cspi_data[];
53 #define imx21_add_cspi(id, pdata) \
54 imx_add_spi_imx(&imx21_cspi_data[id], pdata)
55 #define imx21_add_spi_imx0(pdata) imx21_add_cspi(0, pdata)
56 #define imx21_add_spi_imx1(pdata) imx21_add_cspi(1, pdata)