diff options
Diffstat (limited to 'arch/arm/mach-mx5/eukrea_mbimx51-baseboard.c')
-rw-r--r-- | arch/arm/mach-mx5/eukrea_mbimx51-baseboard.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/arch/arm/mach-mx5/eukrea_mbimx51-baseboard.c b/arch/arm/mach-mx5/eukrea_mbimx51-baseboard.c index a2e6e8c39d25..c96d018ff8a2 100644 --- a/arch/arm/mach-mx5/eukrea_mbimx51-baseboard.c +++ b/arch/arm/mach-mx5/eukrea_mbimx51-baseboard.c | |||
@@ -33,12 +33,12 @@ | |||
33 | #include "devices-imx51.h" | 33 | #include "devices-imx51.h" |
34 | #include "devices.h" | 34 | #include "devices.h" |
35 | 35 | ||
36 | #define MBIMX51_TSC2007_GPIO (2*32 + 30) | 36 | #define MBIMX51_TSC2007_GPIO IMX_GPIO_NR(3, 30) |
37 | #define MBIMX51_TSC2007_IRQ (MXC_INTERNAL_IRQS + MBIMX51_TSC2007_GPIO) | 37 | #define MBIMX51_TSC2007_IRQ (MXC_INTERNAL_IRQS + MBIMX51_TSC2007_GPIO) |
38 | #define MBIMX51_LED0 (2*32 + 5) | 38 | #define MBIMX51_LED0 IMX_GPIO_NR(3, 5) |
39 | #define MBIMX51_LED1 (2*32 + 6) | 39 | #define MBIMX51_LED1 IMX_GPIO_NR(3, 6) |
40 | #define MBIMX51_LED2 (2*32 + 7) | 40 | #define MBIMX51_LED2 IMX_GPIO_NR(3, 7) |
41 | #define MBIMX51_LED3 (2*32 + 8) | 41 | #define MBIMX51_LED3 IMX_GPIO_NR(3, 8) |
42 | 42 | ||
43 | static struct gpio_led mbimx51_leds[] = { | 43 | static struct gpio_led mbimx51_leds[] = { |
44 | { | 44 | { |
@@ -84,7 +84,7 @@ static struct platform_device *devices[] __initdata = { | |||
84 | &mbimx51_leds_gpio, | 84 | &mbimx51_leds_gpio, |
85 | }; | 85 | }; |
86 | 86 | ||
87 | static struct pad_desc mbimx51_pads[] = { | 87 | static iomux_v3_cfg_t mbimx51_pads[] = { |
88 | /* UART2 */ | 88 | /* UART2 */ |
89 | MX51_PAD_UART2_RXD__UART2_RXD, | 89 | MX51_PAD_UART2_RXD__UART2_RXD, |
90 | MX51_PAD_UART2_TXD__UART2_TXD, | 90 | MX51_PAD_UART2_TXD__UART2_TXD, |
@@ -96,13 +96,13 @@ static struct pad_desc mbimx51_pads[] = { | |||
96 | MX51_PAD_KEY_COL5__UART3_CTS, | 96 | MX51_PAD_KEY_COL5__UART3_CTS, |
97 | 97 | ||
98 | /* TSC2007 IRQ */ | 98 | /* TSC2007 IRQ */ |
99 | MX51_PAD_NANDF_D10__GPIO_3_30, | 99 | MX51_PAD_NANDF_D10__GPIO3_30, |
100 | 100 | ||
101 | /* LEDS */ | 101 | /* LEDS */ |
102 | MX51_PAD_DISPB2_SER_DIN__GPIO_3_5, | 102 | MX51_PAD_DISPB2_SER_DIN__GPIO3_5, |
103 | MX51_PAD_DISPB2_SER_DIO__GPIO_3_6, | 103 | MX51_PAD_DISPB2_SER_DIO__GPIO3_6, |
104 | MX51_PAD_DISPB2_SER_CLK__GPIO_3_7, | 104 | MX51_PAD_DISPB2_SER_CLK__GPIO3_7, |
105 | MX51_PAD_DISPB2_SER_RS__GPIO_3_8, | 105 | MX51_PAD_DISPB2_SER_RS__GPIO3_8, |
106 | 106 | ||
107 | /* KPP */ | 107 | /* KPP */ |
108 | MX51_PAD_KEY_ROW0__KEY_ROW0, | 108 | MX51_PAD_KEY_ROW0__KEY_ROW0, |
@@ -217,6 +217,6 @@ void __init eukrea_mbimx51_baseboard_init(void) | |||
217 | i2c_register_board_info(1, mbimx51_i2c_devices, | 217 | i2c_register_board_info(1, mbimx51_i2c_devices, |
218 | ARRAY_SIZE(mbimx51_i2c_devices)); | 218 | ARRAY_SIZE(mbimx51_i2c_devices)); |
219 | 219 | ||
220 | imx51_add_esdhc(0, NULL); | 220 | imx51_add_sdhci_esdhc_imx(0, NULL); |
221 | imx51_add_esdhc(1, NULL); | 221 | imx51_add_sdhci_esdhc_imx(1, NULL); |
222 | } | 222 | } |