diff options
Diffstat (limited to 'arch/arm/mach-mx5')
-rw-r--r-- | arch/arm/mach-mx5/Kconfig | 58 | ||||
-rw-r--r-- | arch/arm/mach-mx5/board-cpuimx51.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-mx5/board-cpuimx51sd.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-mx5/board-mx50_rdp.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-mx5/board-mx51_babbage.c | 18 | ||||
-rw-r--r-- | arch/arm/mach-mx5/board-mx51_efikamx.c | 5 | ||||
-rw-r--r-- | arch/arm/mach-mx5/board-mx51_efikasb.c | 5 | ||||
-rw-r--r-- | arch/arm/mach-mx5/board-mx53_evk.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-mx5/board-mx53_loco.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-mx5/board-mx53_smd.c | 30 | ||||
-rw-r--r-- | arch/arm/mach-mx5/clock-mx51-mx53.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-mx5/cpu.c | 23 | ||||
-rw-r--r-- | arch/arm/mach-mx5/devices-imx50.h | 6 | ||||
-rw-r--r-- | arch/arm/mach-mx5/devices-imx51.h | 25 | ||||
-rw-r--r-- | arch/arm/mach-mx5/devices-imx53.h | 13 | ||||
-rw-r--r-- | arch/arm/mach-mx5/eukrea_mbimx51-baseboard.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-mx5/eukrea_mbimxsd-baseboard.c | 16 | ||||
-rw-r--r-- | arch/arm/mach-mx5/mx51_efika.c | 3 |
18 files changed, 124 insertions, 92 deletions
diff --git a/arch/arm/mach-mx5/Kconfig b/arch/arm/mach-mx5/Kconfig index 159340da9191..799fbc40e53c 100644 --- a/arch/arm/mach-mx5/Kconfig +++ b/arch/arm/mach-mx5/Kconfig | |||
@@ -1,11 +1,11 @@ | |||
1 | if ARCH_MX5 | 1 | if ARCH_MX503 || ARCH_MX51 |
2 | # ARCH_MX50/51/53 are left to mark places where prevent multi-soc in single | 2 | # ARCH_MX5/50/53 are left to mark places where prevent multi-soc in single |
3 | # image. So for most time, SOC_IMX50/51/53 should be used. | 3 | # image. So for most time, SOC_IMX50/51/53 should be used. |
4 | 4 | ||
5 | config ARCH_MX50 | 5 | config ARCH_MX5 |
6 | bool | 6 | bool |
7 | 7 | ||
8 | config ARCH_MX51 | 8 | config ARCH_MX50 |
9 | bool | 9 | bool |
10 | 10 | ||
11 | config ARCH_MX53 | 11 | config ARCH_MX53 |
@@ -13,27 +13,54 @@ config ARCH_MX53 | |||
13 | 13 | ||
14 | config SOC_IMX50 | 14 | config SOC_IMX50 |
15 | bool | 15 | bool |
16 | select CPU_V7 | ||
17 | select ARM_L1_CACHE_SHIFT_6 | ||
16 | select MXC_TZIC | 18 | select MXC_TZIC |
17 | select ARCH_MXC_IOMUX_V3 | 19 | select ARCH_MXC_IOMUX_V3 |
18 | select ARCH_MXC_AUDMUX_V2 | 20 | select ARCH_MXC_AUDMUX_V2 |
19 | select ARCH_HAS_CPUFREQ | 21 | select ARCH_HAS_CPUFREQ |
22 | select ARCH_MX5 | ||
20 | select ARCH_MX50 | 23 | select ARCH_MX50 |
21 | 24 | ||
22 | config SOC_IMX51 | 25 | config SOC_IMX51 |
23 | bool | 26 | bool |
27 | select CPU_V7 | ||
28 | select ARM_L1_CACHE_SHIFT_6 | ||
24 | select MXC_TZIC | 29 | select MXC_TZIC |
25 | select ARCH_MXC_IOMUX_V3 | 30 | select ARCH_MXC_IOMUX_V3 |
26 | select ARCH_MXC_AUDMUX_V2 | 31 | select ARCH_MXC_AUDMUX_V2 |
27 | select ARCH_HAS_CPUFREQ | 32 | select ARCH_HAS_CPUFREQ |
28 | select ARCH_MX51 | 33 | select ARCH_MX5 |
29 | 34 | ||
30 | config SOC_IMX53 | 35 | config SOC_IMX53 |
31 | bool | 36 | bool |
37 | select CPU_V7 | ||
38 | select ARM_L1_CACHE_SHIFT_6 | ||
32 | select MXC_TZIC | 39 | select MXC_TZIC |
33 | select ARCH_MXC_IOMUX_V3 | 40 | select ARCH_MXC_IOMUX_V3 |
41 | select ARCH_MX5 | ||
34 | select ARCH_MX53 | 42 | select ARCH_MX53 |
35 | 43 | ||
36 | comment "MX5 platforms:" | 44 | if ARCH_MX50_SUPPORTED |
45 | #comment "i.MX50 machines:" | ||
46 | |||
47 | config MACH_MX50_RDP | ||
48 | bool "Support MX50 reference design platform" | ||
49 | depends on BROKEN | ||
50 | select SOC_IMX50 | ||
51 | select IMX_HAVE_PLATFORM_IMX_I2C | ||
52 | select IMX_HAVE_PLATFORM_IMX_UART | ||
53 | select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX | ||
54 | select IMX_HAVE_PLATFORM_SPI_IMX | ||
55 | select IMX_HAVE_PLATFORM_FEC | ||
56 | help | ||
57 | Include support for MX50 reference design platform (RDP) board. This | ||
58 | includes specific configurations for the board and its peripherals. | ||
59 | |||
60 | endif # ARCH_MX50_SUPPORTED | ||
61 | |||
62 | if ARCH_MX51 | ||
63 | comment "i.MX51 machines:" | ||
37 | 64 | ||
38 | config MACH_MX51_BABBAGE | 65 | config MACH_MX51_BABBAGE |
39 | bool "Support MX51 BABBAGE platforms" | 66 | bool "Support MX51 BABBAGE platforms" |
@@ -136,6 +163,11 @@ config MACH_MX51_EFIKASB | |||
136 | Include support for Genesi Efika Smartbook. This includes specific | 163 | Include support for Genesi Efika Smartbook. This includes specific |
137 | configurations for the board and its peripherals. | 164 | configurations for the board and its peripherals. |
138 | 165 | ||
166 | endif # ARCH_MX51 | ||
167 | |||
168 | if ARCH_MX53_SUPPORTED | ||
169 | comment "i.MX53 machines:" | ||
170 | |||
139 | config MACH_MX53_EVK | 171 | config MACH_MX53_EVK |
140 | bool "Support MX53 EVK platforms" | 172 | bool "Support MX53 EVK platforms" |
141 | select SOC_IMX53 | 173 | select SOC_IMX53 |
@@ -154,6 +186,7 @@ config MACH_MX53_SMD | |||
154 | select IMX_HAVE_PLATFORM_IMX2_WDT | 186 | select IMX_HAVE_PLATFORM_IMX2_WDT |
155 | select IMX_HAVE_PLATFORM_IMX_I2C | 187 | select IMX_HAVE_PLATFORM_IMX_I2C |
156 | select IMX_HAVE_PLATFORM_IMX_UART | 188 | select IMX_HAVE_PLATFORM_IMX_UART |
189 | select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX | ||
157 | help | 190 | help |
158 | Include support for MX53 SMD platform. This includes specific | 191 | Include support for MX53 SMD platform. This includes specific |
159 | configurations for the board and its peripherals. | 192 | configurations for the board and its peripherals. |
@@ -170,17 +203,6 @@ config MACH_MX53_LOCO | |||
170 | Include support for MX53 LOCO platform. This includes specific | 203 | Include support for MX53 LOCO platform. This includes specific |
171 | configurations for the board and its peripherals. | 204 | configurations for the board and its peripherals. |
172 | 205 | ||
173 | config MACH_MX50_RDP | 206 | endif # ARCH_MX53_SUPPORTED |
174 | bool "Support MX50 reference design platform" | ||
175 | depends on BROKEN | ||
176 | select SOC_IMX50 | ||
177 | select IMX_HAVE_PLATFORM_IMX_I2C | ||
178 | select IMX_HAVE_PLATFORM_IMX_UART | ||
179 | select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX | ||
180 | select IMX_HAVE_PLATFORM_SPI_IMX | ||
181 | select IMX_HAVE_PLATFORM_FEC | ||
182 | help | ||
183 | Include support for MX50 reference design platform (RDP) board. This | ||
184 | includes specific configurations for the board and its peripherals. | ||
185 | 207 | ||
186 | endif | 208 | endif |
diff --git a/arch/arm/mach-mx5/board-cpuimx51.c b/arch/arm/mach-mx5/board-cpuimx51.c index d0296a94c475..4efa02ee1639 100644 --- a/arch/arm/mach-mx5/board-cpuimx51.c +++ b/arch/arm/mach-mx5/board-cpuimx51.c | |||
@@ -23,13 +23,11 @@ | |||
23 | #include <linux/io.h> | 23 | #include <linux/io.h> |
24 | #include <linux/interrupt.h> | 24 | #include <linux/interrupt.h> |
25 | #include <linux/irq.h> | 25 | #include <linux/irq.h> |
26 | #include <linux/fsl_devices.h> | ||
27 | 26 | ||
28 | #include <mach/eukrea-baseboards.h> | 27 | #include <mach/eukrea-baseboards.h> |
29 | #include <mach/common.h> | 28 | #include <mach/common.h> |
30 | #include <mach/hardware.h> | 29 | #include <mach/hardware.h> |
31 | #include <mach/iomux-mx51.h> | 30 | #include <mach/iomux-mx51.h> |
32 | #include <mach/mxc_ehci.h> | ||
33 | 31 | ||
34 | #include <asm/irq.h> | 32 | #include <asm/irq.h> |
35 | #include <asm/setup.h> | 33 | #include <asm/setup.h> |
diff --git a/arch/arm/mach-mx5/board-cpuimx51sd.c b/arch/arm/mach-mx5/board-cpuimx51sd.c index 29b180823bf5..5ef25a596143 100644 --- a/arch/arm/mach-mx5/board-cpuimx51sd.c +++ b/arch/arm/mach-mx5/board-cpuimx51sd.c | |||
@@ -23,7 +23,6 @@ | |||
23 | #include <linux/io.h> | 23 | #include <linux/io.h> |
24 | #include <linux/interrupt.h> | 24 | #include <linux/interrupt.h> |
25 | #include <linux/irq.h> | 25 | #include <linux/irq.h> |
26 | #include <linux/fsl_devices.h> | ||
27 | #include <linux/i2c-gpio.h> | 26 | #include <linux/i2c-gpio.h> |
28 | #include <linux/spi/spi.h> | 27 | #include <linux/spi/spi.h> |
29 | #include <linux/can/platform/mcp251x.h> | 28 | #include <linux/can/platform/mcp251x.h> |
@@ -32,7 +31,6 @@ | |||
32 | #include <mach/common.h> | 31 | #include <mach/common.h> |
33 | #include <mach/hardware.h> | 32 | #include <mach/hardware.h> |
34 | #include <mach/iomux-mx51.h> | 33 | #include <mach/iomux-mx51.h> |
35 | #include <mach/mxc_ehci.h> | ||
36 | 34 | ||
37 | #include <asm/irq.h> | 35 | #include <asm/irq.h> |
38 | #include <asm/setup.h> | 36 | #include <asm/setup.h> |
diff --git a/arch/arm/mach-mx5/board-mx50_rdp.c b/arch/arm/mach-mx5/board-mx50_rdp.c index dedf7f2d6d0f..11210e1ae42a 100644 --- a/arch/arm/mach-mx5/board-mx50_rdp.c +++ b/arch/arm/mach-mx5/board-mx50_rdp.c | |||
@@ -23,7 +23,6 @@ | |||
23 | #include <linux/gpio.h> | 23 | #include <linux/gpio.h> |
24 | #include <linux/delay.h> | 24 | #include <linux/delay.h> |
25 | #include <linux/io.h> | 25 | #include <linux/io.h> |
26 | #include <linux/fsl_devices.h> | ||
27 | 26 | ||
28 | #include <mach/common.h> | 27 | #include <mach/common.h> |
29 | #include <mach/hardware.h> | 28 | #include <mach/hardware.h> |
diff --git a/arch/arm/mach-mx5/board-mx51_babbage.c b/arch/arm/mach-mx5/board-mx51_babbage.c index bea4e4135f9d..c7b3fabf50f9 100644 --- a/arch/arm/mach-mx5/board-mx51_babbage.c +++ b/arch/arm/mach-mx5/board-mx51_babbage.c | |||
@@ -16,9 +16,6 @@ | |||
16 | #include <linux/gpio.h> | 16 | #include <linux/gpio.h> |
17 | #include <linux/delay.h> | 17 | #include <linux/delay.h> |
18 | #include <linux/io.h> | 18 | #include <linux/io.h> |
19 | #include <linux/fsl_devices.h> | ||
20 | #include <linux/fec.h> | ||
21 | #include <linux/gpio_keys.h> | ||
22 | #include <linux/input.h> | 19 | #include <linux/input.h> |
23 | #include <linux/spi/flash.h> | 20 | #include <linux/spi/flash.h> |
24 | #include <linux/spi/spi.h> | 21 | #include <linux/spi/spi.h> |
@@ -26,7 +23,6 @@ | |||
26 | #include <mach/common.h> | 23 | #include <mach/common.h> |
27 | #include <mach/hardware.h> | 24 | #include <mach/hardware.h> |
28 | #include <mach/iomux-mx51.h> | 25 | #include <mach/iomux-mx51.h> |
29 | #include <mach/mxc_ehci.h> | ||
30 | 26 | ||
31 | #include <asm/irq.h> | 27 | #include <asm/irq.h> |
32 | #include <asm/setup.h> | 28 | #include <asm/setup.h> |
@@ -208,18 +204,16 @@ static inline void babbage_usbhub_reset(void) | |||
208 | { | 204 | { |
209 | int ret; | 205 | int ret; |
210 | 206 | ||
211 | /* Bring USB hub out of reset */ | 207 | /* Reset USB hub */ |
212 | ret = gpio_request(BABBAGE_USB_HUB_RESET, "GPIO1_7"); | 208 | ret = gpio_request_one(BABBAGE_USB_HUB_RESET, |
209 | GPIOF_OUT_INIT_LOW, "GPIO1_7"); | ||
213 | if (ret) { | 210 | if (ret) { |
214 | printk(KERN_ERR"failed to get GPIO_USB_HUB_RESET: %d\n", ret); | 211 | printk(KERN_ERR"failed to get GPIO_USB_HUB_RESET: %d\n", ret); |
215 | return; | 212 | return; |
216 | } | 213 | } |
217 | gpio_direction_output(BABBAGE_USB_HUB_RESET, 0); | ||
218 | 214 | ||
219 | /* USB HUB RESET - De-assert USB HUB RESET_N */ | 215 | msleep(2); |
220 | msleep(1); | 216 | /* Deassert reset */ |
221 | gpio_set_value(BABBAGE_USB_HUB_RESET, 0); | ||
222 | msleep(1); | ||
223 | gpio_set_value(BABBAGE_USB_HUB_RESET, 1); | 217 | gpio_set_value(BABBAGE_USB_HUB_RESET, 1); |
224 | } | 218 | } |
225 | 219 | ||
@@ -361,7 +355,7 @@ static void __init mx51_babbage_init(void) | |||
361 | 355 | ||
362 | /* Set the PAD settings for the pwr key. */ | 356 | /* Set the PAD settings for the pwr key. */ |
363 | mxc_iomux_v3_setup_pad(power_key); | 357 | mxc_iomux_v3_setup_pad(power_key); |
364 | imx51_add_gpio_keys(&imx_button_data); | 358 | imx_add_gpio_keys(&imx_button_data); |
365 | 359 | ||
366 | imx51_add_imx_i2c(0, &babbage_i2c_data); | 360 | imx51_add_imx_i2c(0, &babbage_i2c_data); |
367 | imx51_add_imx_i2c(1, &babbage_i2c_data); | 361 | imx51_add_imx_i2c(1, &babbage_i2c_data); |
diff --git a/arch/arm/mach-mx5/board-mx51_efikamx.c b/arch/arm/mach-mx5/board-mx51_efikamx.c index acab1911cb3c..6e362315291b 100644 --- a/arch/arm/mach-mx5/board-mx51_efikamx.c +++ b/arch/arm/mach-mx5/board-mx51_efikamx.c | |||
@@ -22,7 +22,6 @@ | |||
22 | #include <linux/input.h> | 22 | #include <linux/input.h> |
23 | #include <linux/delay.h> | 23 | #include <linux/delay.h> |
24 | #include <linux/io.h> | 24 | #include <linux/io.h> |
25 | #include <linux/fsl_devices.h> | ||
26 | #include <linux/spi/flash.h> | 25 | #include <linux/spi/flash.h> |
27 | #include <linux/spi/spi.h> | 26 | #include <linux/spi/spi.h> |
28 | #include <linux/mfd/mc13892.h> | 27 | #include <linux/mfd/mc13892.h> |
@@ -32,8 +31,6 @@ | |||
32 | #include <mach/common.h> | 31 | #include <mach/common.h> |
33 | #include <mach/hardware.h> | 32 | #include <mach/hardware.h> |
34 | #include <mach/iomux-mx51.h> | 33 | #include <mach/iomux-mx51.h> |
35 | #include <mach/i2c.h> | ||
36 | #include <mach/mxc_ehci.h> | ||
37 | 34 | ||
38 | #include <asm/irq.h> | 35 | #include <asm/irq.h> |
39 | #include <asm/setup.h> | 36 | #include <asm/setup.h> |
@@ -252,7 +249,7 @@ static void __init mx51_efikamx_init(void) | |||
252 | } | 249 | } |
253 | 250 | ||
254 | platform_device_register(&mx51_efikamx_leds_device); | 251 | platform_device_register(&mx51_efikamx_leds_device); |
255 | imx51_add_gpio_keys(&mx51_efikamx_powerkey_data); | 252 | imx_add_gpio_keys(&mx51_efikamx_powerkey_data); |
256 | 253 | ||
257 | if (system_rev == 0x11) { | 254 | if (system_rev == 0x11) { |
258 | gpio_request(EFIKAMX_RESET1_1, "reset"); | 255 | gpio_request(EFIKAMX_RESET1_1, "reset"); |
diff --git a/arch/arm/mach-mx5/board-mx51_efikasb.c b/arch/arm/mach-mx5/board-mx51_efikasb.c index db04ce8462dc..474fc6e4c6df 100644 --- a/arch/arm/mach-mx5/board-mx51_efikasb.c +++ b/arch/arm/mach-mx5/board-mx51_efikasb.c | |||
@@ -22,7 +22,6 @@ | |||
22 | #include <linux/input.h> | 22 | #include <linux/input.h> |
23 | #include <linux/delay.h> | 23 | #include <linux/delay.h> |
24 | #include <linux/io.h> | 24 | #include <linux/io.h> |
25 | #include <linux/fsl_devices.h> | ||
26 | #include <linux/spi/flash.h> | 25 | #include <linux/spi/flash.h> |
27 | #include <linux/spi/spi.h> | 26 | #include <linux/spi/spi.h> |
28 | #include <linux/mfd/mc13892.h> | 27 | #include <linux/mfd/mc13892.h> |
@@ -35,8 +34,6 @@ | |||
35 | #include <mach/common.h> | 34 | #include <mach/common.h> |
36 | #include <mach/hardware.h> | 35 | #include <mach/hardware.h> |
37 | #include <mach/iomux-mx51.h> | 36 | #include <mach/iomux-mx51.h> |
38 | #include <mach/i2c.h> | ||
39 | #include <mach/mxc_ehci.h> | ||
40 | 37 | ||
41 | #include <asm/irq.h> | 38 | #include <asm/irq.h> |
42 | #include <asm/setup.h> | 39 | #include <asm/setup.h> |
@@ -260,7 +257,7 @@ static void __init efikasb_board_init(void) | |||
260 | imx51_add_sdhci_esdhc_imx(1, NULL); | 257 | imx51_add_sdhci_esdhc_imx(1, NULL); |
261 | 258 | ||
262 | platform_device_register(&mx51_efikasb_leds_device); | 259 | platform_device_register(&mx51_efikasb_leds_device); |
263 | imx51_add_gpio_keys(&mx51_efikasb_keys_data); | 260 | imx_add_gpio_keys(&mx51_efikasb_keys_data); |
264 | 261 | ||
265 | } | 262 | } |
266 | 263 | ||
diff --git a/arch/arm/mach-mx5/board-mx53_evk.c b/arch/arm/mach-mx5/board-mx53_evk.c index 2af3f43f74db..f87d571882c6 100644 --- a/arch/arm/mach-mx5/board-mx53_evk.c +++ b/arch/arm/mach-mx5/board-mx53_evk.c | |||
@@ -21,7 +21,6 @@ | |||
21 | 21 | ||
22 | #include <linux/init.h> | 22 | #include <linux/init.h> |
23 | #include <linux/clk.h> | 23 | #include <linux/clk.h> |
24 | #include <linux/fec.h> | ||
25 | #include <linux/delay.h> | 24 | #include <linux/delay.h> |
26 | #include <linux/gpio.h> | 25 | #include <linux/gpio.h> |
27 | #include <linux/spi/flash.h> | 26 | #include <linux/spi/flash.h> |
@@ -31,7 +30,6 @@ | |||
31 | #include <asm/mach-types.h> | 30 | #include <asm/mach-types.h> |
32 | #include <asm/mach/arch.h> | 31 | #include <asm/mach/arch.h> |
33 | #include <asm/mach/time.h> | 32 | #include <asm/mach/time.h> |
34 | #include <mach/imx-uart.h> | ||
35 | #include <mach/iomux-mx53.h> | 33 | #include <mach/iomux-mx53.h> |
36 | 34 | ||
37 | #define MX53_EVK_FEC_PHY_RST IMX_GPIO_NR(7, 6) | 35 | #define MX53_EVK_FEC_PHY_RST IMX_GPIO_NR(7, 6) |
diff --git a/arch/arm/mach-mx5/board-mx53_loco.c b/arch/arm/mach-mx5/board-mx53_loco.c index 10a1bea10548..1b947e8c9c0c 100644 --- a/arch/arm/mach-mx5/board-mx53_loco.c +++ b/arch/arm/mach-mx5/board-mx53_loco.c | |||
@@ -20,13 +20,11 @@ | |||
20 | 20 | ||
21 | #include <linux/init.h> | 21 | #include <linux/init.h> |
22 | #include <linux/clk.h> | 22 | #include <linux/clk.h> |
23 | #include <linux/fec.h> | ||
24 | #include <linux/delay.h> | 23 | #include <linux/delay.h> |
25 | #include <linux/gpio.h> | 24 | #include <linux/gpio.h> |
26 | 25 | ||
27 | #include <mach/common.h> | 26 | #include <mach/common.h> |
28 | #include <mach/hardware.h> | 27 | #include <mach/hardware.h> |
29 | #include <mach/imx-uart.h> | ||
30 | #include <mach/iomux-mx53.h> | 28 | #include <mach/iomux-mx53.h> |
31 | 29 | ||
32 | #include <asm/mach-types.h> | 30 | #include <asm/mach-types.h> |
@@ -193,7 +191,7 @@ static iomux_v3_cfg_t mx53_loco_pads[] = { | |||
193 | .wakeup = wake, \ | 191 | .wakeup = wake, \ |
194 | } | 192 | } |
195 | 193 | ||
196 | static const struct gpio_keys_button loco_buttons[] __initconst = { | 194 | static struct gpio_keys_button loco_buttons[] = { |
197 | GPIO_BUTTON(MX53_LOCO_POWER, KEY_POWER, 1, "power", 0), | 195 | GPIO_BUTTON(MX53_LOCO_POWER, KEY_POWER, 1, "power", 0), |
198 | GPIO_BUTTON(MX53_LOCO_UI1, KEY_VOLUMEUP, 1, "volume-up", 0), | 196 | GPIO_BUTTON(MX53_LOCO_UI1, KEY_VOLUMEUP, 1, "volume-up", 0), |
199 | GPIO_BUTTON(MX53_LOCO_UI2, KEY_VOLUMEDOWN, 1, "volume-down", 0), | 197 | GPIO_BUTTON(MX53_LOCO_UI2, KEY_VOLUMEDOWN, 1, "volume-down", 0), |
diff --git a/arch/arm/mach-mx5/board-mx53_smd.c b/arch/arm/mach-mx5/board-mx53_smd.c index 31e173267edf..817c08938f55 100644 --- a/arch/arm/mach-mx5/board-mx53_smd.c +++ b/arch/arm/mach-mx5/board-mx53_smd.c | |||
@@ -20,13 +20,11 @@ | |||
20 | 20 | ||
21 | #include <linux/init.h> | 21 | #include <linux/init.h> |
22 | #include <linux/clk.h> | 22 | #include <linux/clk.h> |
23 | #include <linux/fec.h> | ||
24 | #include <linux/delay.h> | 23 | #include <linux/delay.h> |
25 | #include <linux/gpio.h> | 24 | #include <linux/gpio.h> |
26 | 25 | ||
27 | #include <mach/common.h> | 26 | #include <mach/common.h> |
28 | #include <mach/hardware.h> | 27 | #include <mach/hardware.h> |
29 | #include <mach/imx-uart.h> | ||
30 | #include <mach/iomux-mx53.h> | 28 | #include <mach/iomux-mx53.h> |
31 | 29 | ||
32 | #include <asm/mach-types.h> | 30 | #include <asm/mach-types.h> |
@@ -52,6 +50,31 @@ static iomux_v3_cfg_t mx53_smd_pads[] = { | |||
52 | /* I2C1 */ | 50 | /* I2C1 */ |
53 | MX53_PAD_CSI0_DAT8__I2C1_SDA, | 51 | MX53_PAD_CSI0_DAT8__I2C1_SDA, |
54 | MX53_PAD_CSI0_DAT9__I2C1_SCL, | 52 | MX53_PAD_CSI0_DAT9__I2C1_SCL, |
53 | /* SD1 */ | ||
54 | MX53_PAD_SD1_CMD__ESDHC1_CMD, | ||
55 | MX53_PAD_SD1_CLK__ESDHC1_CLK, | ||
56 | MX53_PAD_SD1_DATA0__ESDHC1_DAT0, | ||
57 | MX53_PAD_SD1_DATA1__ESDHC1_DAT1, | ||
58 | MX53_PAD_SD1_DATA2__ESDHC1_DAT2, | ||
59 | MX53_PAD_SD1_DATA3__ESDHC1_DAT3, | ||
60 | /* SD2 */ | ||
61 | MX53_PAD_SD2_CMD__ESDHC2_CMD, | ||
62 | MX53_PAD_SD2_CLK__ESDHC2_CLK, | ||
63 | MX53_PAD_SD2_DATA0__ESDHC2_DAT0, | ||
64 | MX53_PAD_SD2_DATA1__ESDHC2_DAT1, | ||
65 | MX53_PAD_SD2_DATA2__ESDHC2_DAT2, | ||
66 | MX53_PAD_SD2_DATA3__ESDHC2_DAT3, | ||
67 | /* SD3 */ | ||
68 | MX53_PAD_PATA_DATA8__ESDHC3_DAT0, | ||
69 | MX53_PAD_PATA_DATA9__ESDHC3_DAT1, | ||
70 | MX53_PAD_PATA_DATA10__ESDHC3_DAT2, | ||
71 | MX53_PAD_PATA_DATA11__ESDHC3_DAT3, | ||
72 | MX53_PAD_PATA_DATA0__ESDHC3_DAT4, | ||
73 | MX53_PAD_PATA_DATA1__ESDHC3_DAT5, | ||
74 | MX53_PAD_PATA_DATA2__ESDHC3_DAT6, | ||
75 | MX53_PAD_PATA_DATA3__ESDHC3_DAT7, | ||
76 | MX53_PAD_PATA_IORDY__ESDHC3_CLK, | ||
77 | MX53_PAD_PATA_RESET_B__ESDHC3_CMD, | ||
55 | }; | 78 | }; |
56 | 79 | ||
57 | static const struct imxuart_platform_data mx53_smd_uart_data __initconst = { | 80 | static const struct imxuart_platform_data mx53_smd_uart_data __initconst = { |
@@ -97,6 +120,9 @@ static void __init mx53_smd_board_init(void) | |||
97 | imx53_add_fec(&mx53_smd_fec_data); | 120 | imx53_add_fec(&mx53_smd_fec_data); |
98 | imx53_add_imx2_wdt(0, NULL); | 121 | imx53_add_imx2_wdt(0, NULL); |
99 | imx53_add_imx_i2c(0, &mx53_smd_i2c_data); | 122 | imx53_add_imx_i2c(0, &mx53_smd_i2c_data); |
123 | imx53_add_sdhci_esdhc_imx(0, NULL); | ||
124 | imx53_add_sdhci_esdhc_imx(1, NULL); | ||
125 | imx53_add_sdhci_esdhc_imx(2, NULL); | ||
100 | } | 126 | } |
101 | 127 | ||
102 | static void __init mx53_smd_timer_init(void) | 128 | static void __init mx53_smd_timer_init(void) |
diff --git a/arch/arm/mach-mx5/clock-mx51-mx53.c b/arch/arm/mach-mx5/clock-mx51-mx53.c index fdbc05ed5513..6b89c1bf4eb2 100644 --- a/arch/arm/mach-mx5/clock-mx51-mx53.c +++ b/arch/arm/mach-mx5/clock-mx51-mx53.c | |||
@@ -1563,6 +1563,7 @@ int __init mx53_clocks_init(unsigned long ckil, unsigned long osc, | |||
1563 | clk_enable(&iim_clk); | 1563 | clk_enable(&iim_clk); |
1564 | mx53_revision(); | 1564 | mx53_revision(); |
1565 | clk_disable(&iim_clk); | 1565 | clk_disable(&iim_clk); |
1566 | mx53_display_revision(); | ||
1566 | 1567 | ||
1567 | /* Set SDHC parents to be PLL2 */ | 1568 | /* Set SDHC parents to be PLL2 */ |
1568 | clk_set_parent(&esdhc1_clk, &pll2_sw_clk); | 1569 | clk_set_parent(&esdhc1_clk, &pll2_sw_clk); |
diff --git a/arch/arm/mach-mx5/cpu.c b/arch/arm/mach-mx5/cpu.c index 472bdfab2e55..86f87da59c64 100644 --- a/arch/arm/mach-mx5/cpu.c +++ b/arch/arm/mach-mx5/cpu.c | |||
@@ -166,6 +166,29 @@ int mx50_revision(void) | |||
166 | } | 166 | } |
167 | EXPORT_SYMBOL(mx50_revision); | 167 | EXPORT_SYMBOL(mx50_revision); |
168 | 168 | ||
169 | void mx53_display_revision(void) | ||
170 | { | ||
171 | int rev; | ||
172 | char *srev; | ||
173 | rev = mx53_revision(); | ||
174 | |||
175 | switch (rev) { | ||
176 | case IMX_CHIP_REVISION_1_0: | ||
177 | srev = IMX_CHIP_REVISION_1_0_STRING; | ||
178 | break; | ||
179 | case IMX_CHIP_REVISION_2_0: | ||
180 | srev = IMX_CHIP_REVISION_2_0_STRING; | ||
181 | break; | ||
182 | case IMX_CHIP_REVISION_2_1: | ||
183 | srev = IMX_CHIP_REVISION_2_1_STRING; | ||
184 | break; | ||
185 | default: | ||
186 | srev = IMX_CHIP_REVISION_UNKNOWN_STRING; | ||
187 | } | ||
188 | printk(KERN_INFO "CPU identified as i.MX53, silicon rev %s\n", srev); | ||
189 | } | ||
190 | EXPORT_SYMBOL(mx53_display_revision); | ||
191 | |||
169 | static int __init post_cpu_init(void) | 192 | static int __init post_cpu_init(void) |
170 | { | 193 | { |
171 | unsigned int reg; | 194 | unsigned int reg; |
diff --git a/arch/arm/mach-mx5/devices-imx50.h b/arch/arm/mach-mx5/devices-imx50.h index c9e42823c7e3..7216667eaafc 100644 --- a/arch/arm/mach-mx5/devices-imx50.h +++ b/arch/arm/mach-mx5/devices-imx50.h | |||
@@ -21,14 +21,14 @@ | |||
21 | #include <mach/mx50.h> | 21 | #include <mach/mx50.h> |
22 | #include <mach/devices-common.h> | 22 | #include <mach/devices-common.h> |
23 | 23 | ||
24 | extern const struct imx_imx_uart_1irq_data imx50_imx_uart_data[] __initconst; | 24 | extern const struct imx_imx_uart_1irq_data imx50_imx_uart_data[]; |
25 | #define imx50_add_imx_uart(id, pdata) \ | 25 | #define imx50_add_imx_uart(id, pdata) \ |
26 | imx_add_imx_uart_1irq(&imx50_imx_uart_data[id], pdata) | 26 | imx_add_imx_uart_1irq(&imx50_imx_uart_data[id], pdata) |
27 | 27 | ||
28 | extern const struct imx_fec_data imx50_fec_data __initconst; | 28 | extern const struct imx_fec_data imx50_fec_data; |
29 | #define imx50_add_fec(pdata) \ | 29 | #define imx50_add_fec(pdata) \ |
30 | imx_add_fec(&imx50_fec_data, pdata) | 30 | imx_add_fec(&imx50_fec_data, pdata) |
31 | 31 | ||
32 | extern const struct imx_imx_i2c_data imx50_imx_i2c_data[] __initconst; | 32 | extern const struct imx_imx_i2c_data imx50_imx_i2c_data[]; |
33 | #define imx50_add_imx_i2c(id, pdata) \ | 33 | #define imx50_add_imx_i2c(id, pdata) \ |
34 | imx_add_imx_i2c(&imx50_imx_i2c_data[id], pdata) | 34 | imx_add_imx_i2c(&imx50_imx_i2c_data[id], pdata) |
diff --git a/arch/arm/mach-mx5/devices-imx51.h b/arch/arm/mach-mx5/devices-imx51.h index 7fff485e5603..e11bc0e0ec49 100644 --- a/arch/arm/mach-mx5/devices-imx51.h +++ b/arch/arm/mach-mx5/devices-imx51.h | |||
@@ -9,49 +9,46 @@ | |||
9 | #include <mach/mx51.h> | 9 | #include <mach/mx51.h> |
10 | #include <mach/devices-common.h> | 10 | #include <mach/devices-common.h> |
11 | 11 | ||
12 | extern const struct imx_fec_data imx51_fec_data __initconst; | 12 | extern const struct imx_fec_data imx51_fec_data; |
13 | #define imx51_add_fec(pdata) \ | 13 | #define imx51_add_fec(pdata) \ |
14 | imx_add_fec(&imx51_fec_data, pdata) | 14 | imx_add_fec(&imx51_fec_data, pdata) |
15 | 15 | ||
16 | #define imx51_add_gpio_keys(pdata) imx_add_gpio_keys(pdata) | 16 | extern const struct imx_imx_i2c_data imx51_imx_i2c_data[]; |
17 | |||
18 | extern const struct imx_imx_i2c_data imx51_imx_i2c_data[] __initconst; | ||
19 | #define imx51_add_imx_i2c(id, pdata) \ | 17 | #define imx51_add_imx_i2c(id, pdata) \ |
20 | imx_add_imx_i2c(&imx51_imx_i2c_data[id], pdata) | 18 | imx_add_imx_i2c(&imx51_imx_i2c_data[id], pdata) |
21 | 19 | ||
22 | extern const struct imx_imx_ssi_data imx51_imx_ssi_data[] __initconst; | 20 | extern const struct imx_imx_ssi_data imx51_imx_ssi_data[]; |
23 | #define imx51_add_imx_ssi(id, pdata) \ | 21 | #define imx51_add_imx_ssi(id, pdata) \ |
24 | imx_add_imx_ssi(&imx51_imx_ssi_data[id], pdata) | 22 | imx_add_imx_ssi(&imx51_imx_ssi_data[id], pdata) |
25 | 23 | ||
26 | extern const struct imx_imx_uart_1irq_data imx51_imx_uart_data[] __initconst; | 24 | extern const struct imx_imx_uart_1irq_data imx51_imx_uart_data[]; |
27 | #define imx51_add_imx_uart(id, pdata) \ | 25 | #define imx51_add_imx_uart(id, pdata) \ |
28 | imx_add_imx_uart_1irq(&imx51_imx_uart_data[id], pdata) | 26 | imx_add_imx_uart_1irq(&imx51_imx_uart_data[id], pdata) |
29 | 27 | ||
30 | extern const struct imx_mxc_nand_data imx51_mxc_nand_data __initconst; | 28 | extern const struct imx_mxc_nand_data imx51_mxc_nand_data; |
31 | #define imx51_add_mxc_nand(pdata) \ | 29 | #define imx51_add_mxc_nand(pdata) \ |
32 | imx_add_mxc_nand(&imx51_mxc_nand_data, pdata) | 30 | imx_add_mxc_nand(&imx51_mxc_nand_data, pdata) |
33 | 31 | ||
34 | extern const struct imx_sdhci_esdhc_imx_data | 32 | extern const struct imx_sdhci_esdhc_imx_data imx51_sdhci_esdhc_imx_data[]; |
35 | imx51_sdhci_esdhc_imx_data[] __initconst; | ||
36 | #define imx51_add_sdhci_esdhc_imx(id, pdata) \ | 33 | #define imx51_add_sdhci_esdhc_imx(id, pdata) \ |
37 | imx_add_sdhci_esdhc_imx(&imx51_sdhci_esdhc_imx_data[id], pdata) | 34 | imx_add_sdhci_esdhc_imx(&imx51_sdhci_esdhc_imx_data[id], pdata) |
38 | 35 | ||
39 | extern const struct imx_spi_imx_data imx51_cspi_data __initconst; | 36 | extern const struct imx_spi_imx_data imx51_cspi_data; |
40 | #define imx51_add_cspi(pdata) \ | 37 | #define imx51_add_cspi(pdata) \ |
41 | imx_add_spi_imx(&imx51_cspi_data, pdata) | 38 | imx_add_spi_imx(&imx51_cspi_data, pdata) |
42 | 39 | ||
43 | extern const struct imx_spi_imx_data imx51_ecspi_data[] __initconst; | 40 | extern const struct imx_spi_imx_data imx51_ecspi_data[]; |
44 | #define imx51_add_ecspi(id, pdata) \ | 41 | #define imx51_add_ecspi(id, pdata) \ |
45 | imx_add_spi_imx(&imx51_ecspi_data[id], pdata) | 42 | imx_add_spi_imx(&imx51_ecspi_data[id], pdata) |
46 | 43 | ||
47 | extern const struct imx_imx2_wdt_data imx51_imx2_wdt_data[] __initconst; | 44 | extern const struct imx_imx2_wdt_data imx51_imx2_wdt_data[]; |
48 | #define imx51_add_imx2_wdt(id, pdata) \ | 45 | #define imx51_add_imx2_wdt(id, pdata) \ |
49 | imx_add_imx2_wdt(&imx51_imx2_wdt_data[id]) | 46 | imx_add_imx2_wdt(&imx51_imx2_wdt_data[id]) |
50 | 47 | ||
51 | extern const struct imx_mxc_pwm_data imx51_mxc_pwm_data[] __initconst; | 48 | extern const struct imx_mxc_pwm_data imx51_mxc_pwm_data[]; |
52 | #define imx51_add_mxc_pwm(id) \ | 49 | #define imx51_add_mxc_pwm(id) \ |
53 | imx_add_mxc_pwm(&imx51_mxc_pwm_data[id]) | 50 | imx_add_mxc_pwm(&imx51_mxc_pwm_data[id]) |
54 | 51 | ||
55 | extern const struct imx_imx_keypad_data imx51_imx_keypad_data __initconst; | 52 | extern const struct imx_imx_keypad_data imx51_imx_keypad_data; |
56 | #define imx51_add_imx_keypad(pdata) \ | 53 | #define imx51_add_imx_keypad(pdata) \ |
57 | imx_add_imx_keypad(&imx51_imx_keypad_data, pdata) | 54 | imx_add_imx_keypad(&imx51_imx_keypad_data, pdata) |
diff --git a/arch/arm/mach-mx5/devices-imx53.h b/arch/arm/mach-mx5/devices-imx53.h index 9251008dad1f..48f4c8cc42f5 100644 --- a/arch/arm/mach-mx5/devices-imx53.h +++ b/arch/arm/mach-mx5/devices-imx53.h | |||
@@ -8,28 +8,27 @@ | |||
8 | #include <mach/mx53.h> | 8 | #include <mach/mx53.h> |
9 | #include <mach/devices-common.h> | 9 | #include <mach/devices-common.h> |
10 | 10 | ||
11 | extern const struct imx_fec_data imx53_fec_data __initconst; | 11 | extern const struct imx_fec_data imx53_fec_data; |
12 | #define imx53_add_fec(pdata) \ | 12 | #define imx53_add_fec(pdata) \ |
13 | imx_add_fec(&imx53_fec_data, pdata) | 13 | imx_add_fec(&imx53_fec_data, pdata) |
14 | 14 | ||
15 | extern const struct imx_imx_uart_1irq_data imx53_imx_uart_data[] __initconst; | 15 | extern const struct imx_imx_uart_1irq_data imx53_imx_uart_data[]; |
16 | #define imx53_add_imx_uart(id, pdata) \ | 16 | #define imx53_add_imx_uart(id, pdata) \ |
17 | imx_add_imx_uart_1irq(&imx53_imx_uart_data[id], pdata) | 17 | imx_add_imx_uart_1irq(&imx53_imx_uart_data[id], pdata) |
18 | 18 | ||
19 | 19 | ||
20 | extern const struct imx_imx_i2c_data imx53_imx_i2c_data[] __initconst; | 20 | extern const struct imx_imx_i2c_data imx53_imx_i2c_data[]; |
21 | #define imx53_add_imx_i2c(id, pdata) \ | 21 | #define imx53_add_imx_i2c(id, pdata) \ |
22 | imx_add_imx_i2c(&imx53_imx_i2c_data[id], pdata) | 22 | imx_add_imx_i2c(&imx53_imx_i2c_data[id], pdata) |
23 | 23 | ||
24 | extern const struct imx_sdhci_esdhc_imx_data | 24 | extern const struct imx_sdhci_esdhc_imx_data imx53_sdhci_esdhc_imx_data[]; |
25 | imx53_sdhci_esdhc_imx_data[] __initconst; | ||
26 | #define imx53_add_sdhci_esdhc_imx(id, pdata) \ | 25 | #define imx53_add_sdhci_esdhc_imx(id, pdata) \ |
27 | imx_add_sdhci_esdhc_imx(&imx53_sdhci_esdhc_imx_data[id], pdata) | 26 | imx_add_sdhci_esdhc_imx(&imx53_sdhci_esdhc_imx_data[id], pdata) |
28 | 27 | ||
29 | extern const struct imx_spi_imx_data imx53_ecspi_data[] __initconst; | 28 | extern const struct imx_spi_imx_data imx53_ecspi_data[]; |
30 | #define imx53_add_ecspi(id, pdata) \ | 29 | #define imx53_add_ecspi(id, pdata) \ |
31 | imx_add_spi_imx(&imx53_ecspi_data[id], pdata) | 30 | imx_add_spi_imx(&imx53_ecspi_data[id], pdata) |
32 | 31 | ||
33 | extern const struct imx_imx2_wdt_data imx53_imx2_wdt_data[] __initconst; | 32 | extern const struct imx_imx2_wdt_data imx53_imx2_wdt_data[]; |
34 | #define imx53_add_imx2_wdt(id, pdata) \ | 33 | #define imx53_add_imx2_wdt(id, pdata) \ |
35 | imx_add_imx2_wdt(&imx53_imx2_wdt_data[id]) | 34 | imx_add_imx2_wdt(&imx53_imx2_wdt_data[id]) |
diff --git a/arch/arm/mach-mx5/eukrea_mbimx51-baseboard.c b/arch/arm/mach-mx5/eukrea_mbimx51-baseboard.c index 4a8550529b04..97292d20f1f3 100644 --- a/arch/arm/mach-mx5/eukrea_mbimx51-baseboard.c +++ b/arch/arm/mach-mx5/eukrea_mbimx51-baseboard.c | |||
@@ -18,13 +18,11 @@ | |||
18 | #include <linux/io.h> | 18 | #include <linux/io.h> |
19 | #include <linux/interrupt.h> | 19 | #include <linux/interrupt.h> |
20 | #include <linux/irq.h> | 20 | #include <linux/irq.h> |
21 | #include <linux/fsl_devices.h> | ||
22 | #include <linux/i2c/tsc2007.h> | 21 | #include <linux/i2c/tsc2007.h> |
23 | #include <linux/leds.h> | 22 | #include <linux/leds.h> |
24 | 23 | ||
25 | #include <mach/common.h> | 24 | #include <mach/common.h> |
26 | #include <mach/hardware.h> | 25 | #include <mach/hardware.h> |
27 | #include <mach/imx-uart.h> | ||
28 | #include <mach/iomux-mx51.h> | 26 | #include <mach/iomux-mx51.h> |
29 | 27 | ||
30 | #include <asm/mach/arch.h> | 28 | #include <asm/mach/arch.h> |
diff --git a/arch/arm/mach-mx5/eukrea_mbimxsd-baseboard.c b/arch/arm/mach-mx5/eukrea_mbimxsd-baseboard.c index e6c1119c20ae..31c871ec46a6 100644 --- a/arch/arm/mach-mx5/eukrea_mbimxsd-baseboard.c +++ b/arch/arm/mach-mx5/eukrea_mbimxsd-baseboard.c | |||
@@ -27,7 +27,6 @@ | |||
27 | #include <linux/irq.h> | 27 | #include <linux/irq.h> |
28 | #include <linux/leds.h> | 28 | #include <linux/leds.h> |
29 | #include <linux/platform_device.h> | 29 | #include <linux/platform_device.h> |
30 | #include <linux/gpio_keys.h> | ||
31 | #include <linux/input.h> | 30 | #include <linux/input.h> |
32 | #include <linux/i2c.h> | 31 | #include <linux/i2c.h> |
33 | 32 | ||
@@ -38,7 +37,6 @@ | |||
38 | 37 | ||
39 | #include <mach/hardware.h> | 38 | #include <mach/hardware.h> |
40 | #include <mach/common.h> | 39 | #include <mach/common.h> |
41 | #include <mach/imx-uart.h> | ||
42 | #include <mach/iomux-mx51.h> | 40 | #include <mach/iomux-mx51.h> |
43 | #include <mach/audmux.h> | 41 | #include <mach/audmux.h> |
44 | 42 | ||
@@ -108,23 +106,14 @@ static struct gpio_keys_button eukrea_mbimxsd_gpio_buttons[] = { | |||
108 | }, | 106 | }, |
109 | }; | 107 | }; |
110 | 108 | ||
111 | static struct gpio_keys_platform_data eukrea_mbimxsd_button_data = { | 109 | static const struct gpio_keys_platform_data |
110 | eukrea_mbimxsd_button_data __initconst = { | ||
112 | .buttons = eukrea_mbimxsd_gpio_buttons, | 111 | .buttons = eukrea_mbimxsd_gpio_buttons, |
113 | .nbuttons = ARRAY_SIZE(eukrea_mbimxsd_gpio_buttons), | 112 | .nbuttons = ARRAY_SIZE(eukrea_mbimxsd_gpio_buttons), |
114 | }; | 113 | }; |
115 | 114 | ||
116 | static struct platform_device eukrea_mbimxsd_button_device = { | ||
117 | .name = "gpio-keys", | ||
118 | .id = -1, | ||
119 | .num_resources = 0, | ||
120 | .dev = { | ||
121 | .platform_data = &eukrea_mbimxsd_button_data, | ||
122 | } | ||
123 | }; | ||
124 | |||
125 | static struct platform_device *platform_devices[] __initdata = { | 115 | static struct platform_device *platform_devices[] __initdata = { |
126 | &eukrea_mbimxsd_leds_gpio, | 116 | &eukrea_mbimxsd_leds_gpio, |
127 | &eukrea_mbimxsd_button_device, | ||
128 | }; | 117 | }; |
129 | 118 | ||
130 | static const struct imxuart_platform_data uart_pdata __initconst = { | 119 | static const struct imxuart_platform_data uart_pdata __initconst = { |
@@ -166,4 +155,5 @@ void __init eukrea_mbimxsd51_baseboard_init(void) | |||
166 | ARRAY_SIZE(eukrea_mbimxsd_i2c_devices)); | 155 | ARRAY_SIZE(eukrea_mbimxsd_i2c_devices)); |
167 | 156 | ||
168 | platform_add_devices(platform_devices, ARRAY_SIZE(platform_devices)); | 157 | platform_add_devices(platform_devices, ARRAY_SIZE(platform_devices)); |
158 | imx_add_gpio_keys(&eukrea_mbimxsd_button_data); | ||
169 | } | 159 | } |
diff --git a/arch/arm/mach-mx5/mx51_efika.c b/arch/arm/mach-mx5/mx51_efika.c index d0c7075937cf..56739c23aca7 100644 --- a/arch/arm/mach-mx5/mx51_efika.c +++ b/arch/arm/mach-mx5/mx51_efika.c | |||
@@ -20,7 +20,6 @@ | |||
20 | #include <linux/input.h> | 20 | #include <linux/input.h> |
21 | #include <linux/delay.h> | 21 | #include <linux/delay.h> |
22 | #include <linux/io.h> | 22 | #include <linux/io.h> |
23 | #include <linux/fsl_devices.h> | ||
24 | #include <linux/spi/flash.h> | 23 | #include <linux/spi/flash.h> |
25 | #include <linux/spi/spi.h> | 24 | #include <linux/spi/spi.h> |
26 | #include <linux/mfd/mc13892.h> | 25 | #include <linux/mfd/mc13892.h> |
@@ -30,8 +29,6 @@ | |||
30 | #include <mach/common.h> | 29 | #include <mach/common.h> |
31 | #include <mach/hardware.h> | 30 | #include <mach/hardware.h> |
32 | #include <mach/iomux-mx51.h> | 31 | #include <mach/iomux-mx51.h> |
33 | #include <mach/i2c.h> | ||
34 | #include <mach/mxc_ehci.h> | ||
35 | 32 | ||
36 | #include <linux/usb/otg.h> | 33 | #include <linux/usb/otg.h> |
37 | #include <linux/usb/ulpi.h> | 34 | #include <linux/usb/ulpi.h> |