aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx5/board-mx53_evk.c
diff options
context:
space:
mode:
authorYong Shen <yong.shen@freescale.com>2011-01-12 22:39:52 -0500
committerSascha Hauer <s.hauer@pengutronix.de>2011-01-13 04:02:18 -0500
commit6b2837dc6d7f923bd622049823284b7277ff0558 (patch)
tree84a6b1f414a154d0c290f0861760f992bb33cf7b /arch/arm/mach-mx5/board-mx53_evk.c
parent467ae1e47fd44c44dd4972780c7a804f45be0fe8 (diff)
ARM: i.MX53 EVK: add ecspi IOMUX setting
add ecspi IOMUX setting, also fix a bug of chip select pin order Signed-off-by: Yong Shen <yong.shen@freescale.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx5/board-mx53_evk.c')
-rw-r--r--arch/arm/mach-mx5/board-mx53_evk.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/arch/arm/mach-mx5/board-mx53_evk.c b/arch/arm/mach-mx5/board-mx53_evk.c
index 8017d680f112..2cb441562e19 100644
--- a/arch/arm/mach-mx5/board-mx53_evk.c
+++ b/arch/arm/mach-mx5/board-mx53_evk.c
@@ -33,8 +33,8 @@
33#include <mach/iomux-mx53.h> 33#include <mach/iomux-mx53.h>
34 34
35#define SMD_FEC_PHY_RST IMX_GPIO_NR(7, 6) 35#define SMD_FEC_PHY_RST IMX_GPIO_NR(7, 6)
36#define EVK_ECSPI1_CS0 IMX_GPIO_NR(3, 19) 36#define EVK_ECSPI1_CS0 IMX_GPIO_NR(2, 30)
37#define EVK_ECSPI1_CS1 IMX_GPIO_NR(2, 30) 37#define EVK_ECSPI1_CS1 IMX_GPIO_NR(3, 19)
38 38
39#include "crm_regs.h" 39#include "crm_regs.h"
40#include "devices-imx53.h" 40#include "devices-imx53.h"
@@ -54,6 +54,14 @@ static iomux_v3_cfg_t mx53_evk_pads[] = {
54 MX53_PAD_ATA_CS_1__UART3_RXD, 54 MX53_PAD_ATA_CS_1__UART3_RXD,
55 MX53_PAD_ATA_DA_1__UART3_CTS, 55 MX53_PAD_ATA_DA_1__UART3_CTS,
56 MX53_PAD_ATA_DA_2__UART3_RTS, 56 MX53_PAD_ATA_DA_2__UART3_RTS,
57
58 MX53_PAD_EIM_D16__CSPI1_SCLK,
59 MX53_PAD_EIM_D17__CSPI1_MISO,
60 MX53_PAD_EIM_D18__CSPI1_MOSI,
61
62 /* ecspi chip select lines */
63 MX53_PAD_EIM_EB2__GPIO_2_30,
64 MX53_PAD_EIM_D19__GPIO_3_19,
57}; 65};
58 66
59static const struct imxuart_platform_data mx53_evk_uart_pdata __initconst = { 67static const struct imxuart_platform_data mx53_evk_uart_pdata __initconst = {