diff options
author | Richard Zhu <r65037@freescale.com> | 2010-03-10 11:30:22 +0800 |
---|---|---|
committer | Alejandro Gonzalez <alex.gonzalez@digi.com> | 2010-05-25 11:17:18 +0200 |
commit | c5d471596d41aa71765f7a4342b8cbcac685c4ad (patch) | |
tree | a6d0beaf61af7cf2671b97ebb1447b16711dead5 /arch/arm/mach-mx23/mx23evk_pins.c | |
parent | 37c2fd371d8960cef3c7fd7c889475021c362b8f (diff) |
ENGR00121415 MX23 SSP SD/MMC driver MXS msl codes porting
porting the SSP SD/MMC driver to the new MSL
codes based on MXS model.
Signed-off-by: Richard Zhu <r65037@freescale.com>
Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
Diffstat (limited to 'arch/arm/mach-mx23/mx23evk_pins.c')
-rw-r--r-- | arch/arm/mach-mx23/mx23evk_pins.c | 177 |
1 files changed, 13 insertions, 164 deletions
diff --git a/arch/arm/mach-mx23/mx23evk_pins.c b/arch/arm/mach-mx23/mx23evk_pins.c index 983d0d68f62d..d4060ef35e2c 100644 --- a/arch/arm/mach-mx23/mx23evk_pins.c +++ b/arch/arm/mach-mx23/mx23evk_pins.c @@ -324,120 +324,9 @@ static struct pin_desc mx23evk_fixed_pins[] = { #if defined(CONFIG_MMC_MXS) || defined(CONFIG_MMC_MXS_MODULE) /* Configurations of SSP0 SD/MMC port pins */ { - .name = "SSP0_DATA0", - .id = PINID_SSP0_DATA0, - .fun = PIN_FUN1, - .strength = PAD_8MA, - .voltage = PAD_3_3V, - .pullup = 1, - .drive = 1, - .pull = 1, - }, - { - .name = "SSP0_DATA1", - .id = PINID_SSP0_DATA1, - .fun = PIN_FUN1, - .strength = PAD_8MA, - .voltage = PAD_3_3V, - .pullup = 1, - .drive = 1, - .pull = 1, - }, - { - .name = "SSP0_DATA2", - .id = PINID_SSP0_DATA2, - .fun = PIN_FUN1, - .strength = PAD_8MA, - .voltage = PAD_3_3V, - .pullup = 1, - .drive = 1, - .pull = 1, - }, - { - .name = "SSP0_DATA3", - .id = PINID_SSP0_DATA3, - .fun = PIN_FUN1, - .strength = PAD_8MA, - .voltage = PAD_3_3V, - .pullup = 1, - .drive = 1, - .pull = 1, - }, - { - .name = "SSP0_DATA4", - .id = PINID_SSP0_DATA4, - .fun = PIN_FUN1, - .strength = PAD_8MA, - .voltage = PAD_3_3V, - .pullup = 1, - .drive = 1, - .pull = 1, - }, - { - .name = "SSP0_DATA5", - .id = PINID_SSP0_DATA5, - .fun = PIN_FUN1, - .strength = PAD_8MA, - .voltage = PAD_3_3V, - .pullup = 1, - .drive = 1, - .pull = 1, - }, - { - .name = "SSP0_DATA6", - .id = PINID_SSP0_DATA6, - .fun = PIN_FUN1, - .strength = PAD_8MA, - .voltage = PAD_3_3V, - .pullup = 1, - .drive = 1, - .pull = 1, - }, - { - .name = "SSP0_DATA7", - .id = PINID_SSP0_DATA7, - .fun = PIN_FUN1, - .strength = PAD_8MA, - .voltage = PAD_3_3V, - .pullup = 1, - .drive = 1, - .pull = 1, - }, - { - .name = "SSP0_CMD", - .id = PINID_SSP0_CMD, - .fun = PIN_FUN1, - .strength = PAD_8MA, - .voltage = PAD_3_3V, - .pullup = 1, - .drive = 1, - .pull = 1, - }, - { - .name = "SSP0_DETECT", - .id = PINID_SSP0_DETECT, - .fun = PIN_FUN1, - .strength = PAD_8MA, - .voltage = PAD_3_3V, - .pullup = 0, - .drive = 1, - .pull = 0, - }, - { - .name = "SSP0_SCK", - .id = PINID_SSP0_SCK, - .fun = PIN_FUN1, - .strength = PAD_8MA, - .voltage = PAD_3_3V, - .pullup = 0, - .drive = 1, - .pull = 0, - }, - /* Configurations of SSP1 SD/MMC port pins */ - { .name = "SSP1_DATA0", - .id = PINID_GPMI_D00, - .fun = PIN_FUN2, + .id = PINID_SSP1_DATA0, + .fun = PIN_FUN1, .strength = PAD_8MA, .voltage = PAD_3_3V, .pullup = 1, @@ -446,8 +335,8 @@ static struct pin_desc mx23evk_fixed_pins[] = { }, { .name = "SSP1_DATA1", - .id = PINID_GPMI_D01, - .fun = PIN_FUN2, + .id = PINID_SSP1_DATA1, + .fun = PIN_FUN1, .strength = PAD_8MA, .voltage = PAD_3_3V, .pullup = 1, @@ -456,8 +345,8 @@ static struct pin_desc mx23evk_fixed_pins[] = { }, { .name = "SSP1_DATA2", - .id = PINID_GPMI_D02, - .fun = PIN_FUN2, + .id = PINID_SSP1_DATA2, + .fun = PIN_FUN1, .strength = PAD_8MA, .voltage = PAD_3_3V, .pullup = 1, @@ -466,48 +355,8 @@ static struct pin_desc mx23evk_fixed_pins[] = { }, { .name = "SSP1_DATA3", - .id = PINID_GPMI_D03, - .fun = PIN_FUN2, - .strength = PAD_8MA, - .voltage = PAD_3_3V, - .pullup = 1, - .drive = 1, - .pull = 1, - }, - { - .name = "SSP1_DATA4", - .id = PINID_GPMI_D04, - .fun = PIN_FUN2, - .strength = PAD_8MA, - .voltage = PAD_3_3V, - .pullup = 1, - .drive = 1, - .pull = 1, - }, - { - .name = "SSP1_DATA5", - .id = PINID_GPMI_D05, - .fun = PIN_FUN2, - .strength = PAD_8MA, - .voltage = PAD_3_3V, - .pullup = 1, - .drive = 1, - .pull = 1, - }, - { - .name = "SSP1_DATA6", - .id = PINID_GPMI_D06, - .fun = PIN_FUN2, - .strength = PAD_8MA, - .voltage = PAD_3_3V, - .pullup = 1, - .drive = 1, - .pull = 1, - }, - { - .name = "SSP1_DATA7", - .id = PINID_GPMI_D07, - .fun = PIN_FUN2, + .id = PINID_SSP1_DATA3, + .fun = PIN_FUN1, .strength = PAD_8MA, .voltage = PAD_3_3V, .pullup = 1, @@ -516,8 +365,8 @@ static struct pin_desc mx23evk_fixed_pins[] = { }, { .name = "SSP1_CMD", - .id = PINID_GPMI_RDY1, - .fun = PIN_FUN2, + .id = PINID_SSP1_CMD, + .fun = PIN_FUN1, .strength = PAD_8MA, .voltage = PAD_3_3V, .pullup = 1, @@ -526,7 +375,7 @@ static struct pin_desc mx23evk_fixed_pins[] = { }, { .name = "SSP1_DETECT", - .id = PINID_GPMI_RDY0, + .id = PINID_SSP1_DETECT, .fun = PIN_FUN1, .strength = PAD_8MA, .voltage = PAD_3_3V, @@ -536,8 +385,8 @@ static struct pin_desc mx23evk_fixed_pins[] = { }, { .name = "SSP1_SCK", - .id = PINID_GPMI_WRN, - .fun = PIN_FUN2, + .id = PINID_SSP1_SCK, + .fun = PIN_FUN1, .strength = PAD_8MA, .voltage = PAD_3_3V, .pullup = 0, |