diff options
Diffstat (limited to 'arch/sh/boards/board-ap325rxa.c')
-rw-r--r-- | arch/sh/boards/board-ap325rxa.c | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/arch/sh/boards/board-ap325rxa.c b/arch/sh/boards/board-ap325rxa.c index a3783ee6b078..033650cc6c98 100644 --- a/arch/sh/boards/board-ap325rxa.c +++ b/arch/sh/boards/board-ap325rxa.c | |||
@@ -407,17 +407,25 @@ static int __init ap325rxa_devices_setup(void) | |||
407 | ctrl_outw(ctrl_inw(PORT_MSELCRB) & ~0x0001, PORT_MSELCRB); | 407 | ctrl_outw(ctrl_inw(PORT_MSELCRB) & ~0x0001, PORT_MSELCRB); |
408 | 408 | ||
409 | /* FLCTL */ | 409 | /* FLCTL */ |
410 | ctrl_outw(0, PORT_PUCR); | 410 | gpio_request(GPIO_FN_FCE, NULL); |
411 | ctrl_outw(0, PORT_PVCR); | 411 | gpio_request(GPIO_FN_NAF7, NULL); |
412 | ctrl_outw(0, PORT_PSELC); | 412 | gpio_request(GPIO_FN_NAF6, NULL); |
413 | gpio_request(GPIO_FN_NAF5, NULL); | ||
414 | gpio_request(GPIO_FN_NAF4, NULL); | ||
415 | gpio_request(GPIO_FN_NAF3, NULL); | ||
416 | gpio_request(GPIO_FN_NAF2, NULL); | ||
417 | gpio_request(GPIO_FN_NAF1, NULL); | ||
418 | gpio_request(GPIO_FN_NAF0, NULL); | ||
419 | gpio_request(GPIO_FN_FCDE, NULL); | ||
420 | gpio_request(GPIO_FN_FOE, NULL); | ||
421 | gpio_request(GPIO_FN_FSC, NULL); | ||
422 | gpio_request(GPIO_FN_FWE, NULL); | ||
423 | gpio_request(GPIO_FN_FRB, NULL); | ||
413 | 424 | ||
414 | ctrl_outw(0, PORT_HIZCRC); | 425 | ctrl_outw(0, PORT_HIZCRC); |
415 | ctrl_outw(0xFFFF, PORT_DRVCRA); | 426 | ctrl_outw(0xFFFF, PORT_DRVCRA); |
416 | ctrl_outw(0xFFFF, PORT_DRVCRB); | 427 | ctrl_outw(0xFFFF, PORT_DRVCRB); |
417 | 428 | ||
418 | ctrl_outw((ctrl_inw(PORT_PXCR) & 0x3fff) | 0x4000, PORT_PXCR); | ||
419 | ctrl_outb(0x80, PORT_PXDR); | ||
420 | |||
421 | platform_resource_setup_memory(&ceu_device, "ceu", 4 << 20); | 429 | platform_resource_setup_memory(&ceu_device, "ceu", 4 << 20); |
422 | 430 | ||
423 | i2c_register_board_info(0, ap325rxa_i2c_devices, | 431 | i2c_register_board_info(0, ap325rxa_i2c_devices, |