9
0
Fork 0

mxs: tx28: fix NAND usage

Pinmuxing was wrong and no GPMI device was created.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Wolfram Sang 2012-12-05 15:42:42 +01:00 committed by Sascha Hauer
parent 90806eea09
commit 47515fbdaa
1 changed files with 5 additions and 1 deletions

View File

@ -35,11 +35,12 @@ static const uint32_t tx28_pad_setup[] = {
GPMI_D6 | VE_3_3V | PULLUP(1),
GPMI_D7 | VE_3_3V | PULLUP(1),
GPMI_READY0 | VE_3_3V | PULLUP(0), /* external PU */
GPMI_CE0N | VE_3_3V | PULLUP(1),
GPMI_RDN | VE_3_3V | PULLUP(1),
GPMI_WRN | VE_3_3V | BITKEEPER(1),
GPMI_ALE | VE_3_3V | PULLUP(1),
GPMI_CLE | VE_3_3V | PULLUP(1),
GPMI_RESETN_GPIO | VE_3_3V | GPIO_IN, /* act as WP, external PU */
GPMI_RESETN | VE_3_3V | PULLUP(0), /* external PU */
/* Network interface */
@ -91,6 +92,9 @@ static int tx28_devices_init(void)
base_board_init();
add_generic_device("mxs_nand", 0, NULL, MXS_GPMI_BASE, 0x2000,
IORESOURCE_MEM, NULL);
return 0;
}