diff options
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2013-04-19 07:29:48 -0400 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2013-06-04 08:04:11 -0400 |
commit | 7e4f07d73affe680b31ae7178133f98da9eff4fb (patch) | |
tree | 62ea0d004b4cb2bdbed73f66d50d41b8b1aa9d76 /arch/arm/mach-shmobile | |
parent | 0acbc34c816c95687dda0db61bc4215d8ca67725 (diff) |
ARM: shmobile: mackerel: Register pinctrl mapping for FLCTL
Replace the GPIO-based FLCTL pinmux configuration by a pinctrl mapping.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile')
-rw-r--r-- | arch/arm/mach-shmobile/board-mackerel.c | 31 |
1 files changed, 7 insertions, 24 deletions
diff --git a/arch/arm/mach-shmobile/board-mackerel.c b/arch/arm/mach-shmobile/board-mackerel.c index fdd7e3fd828e..955fefd3e369 100644 --- a/arch/arm/mach-shmobile/board-mackerel.c +++ b/arch/arm/mach-shmobile/board-mackerel.c | |||
@@ -1321,6 +1321,13 @@ static const struct pinctrl_map mackerel_pinctrl_map[] = { | |||
1321 | "ceu_sync", "ceu"), | 1321 | "ceu_sync", "ceu"), |
1322 | PIN_MAP_MUX_GROUP_DEFAULT("sh_mobile_ceu.0", "pfc-sh7372", | 1322 | PIN_MAP_MUX_GROUP_DEFAULT("sh_mobile_ceu.0", "pfc-sh7372", |
1323 | "ceu_field", "ceu"), | 1323 | "ceu_field", "ceu"), |
1324 | /* FLCTL */ | ||
1325 | PIN_MAP_MUX_GROUP_DEFAULT("sh_flctl.0", "pfc-sh7372", | ||
1326 | "flctl_data", "flctl"), | ||
1327 | PIN_MAP_MUX_GROUP_DEFAULT("sh_flctl.0", "pfc-sh7372", | ||
1328 | "flctl_ce0", "flctl"), | ||
1329 | PIN_MAP_MUX_GROUP_DEFAULT("sh_flctl.0", "pfc-sh7372", | ||
1330 | "flctl_ctrl", "flctl"), | ||
1324 | /* SDHI0 */ | 1331 | /* SDHI0 */ |
1325 | PIN_MAP_MUX_GROUP_DEFAULT("sh_mobile_sdhi.0", "pfc-sh7372", | 1332 | PIN_MAP_MUX_GROUP_DEFAULT("sh_mobile_sdhi.0", "pfc-sh7372", |
1326 | "sdhi0_data4", "sdhi0"), | 1333 | "sdhi0_data4", "sdhi0"), |
@@ -1478,30 +1485,6 @@ static void __init mackerel_init(void) | |||
1478 | /* SDHI0 PORT172 card-detect IRQ26 */ | 1485 | /* SDHI0 PORT172 card-detect IRQ26 */ |
1479 | gpio_request(GPIO_FN_IRQ26_172, NULL); | 1486 | gpio_request(GPIO_FN_IRQ26_172, NULL); |
1480 | 1487 | ||
1481 | /* FLCTL */ | ||
1482 | gpio_request(GPIO_FN_D0_NAF0, NULL); | ||
1483 | gpio_request(GPIO_FN_D1_NAF1, NULL); | ||
1484 | gpio_request(GPIO_FN_D2_NAF2, NULL); | ||
1485 | gpio_request(GPIO_FN_D3_NAF3, NULL); | ||
1486 | gpio_request(GPIO_FN_D4_NAF4, NULL); | ||
1487 | gpio_request(GPIO_FN_D5_NAF5, NULL); | ||
1488 | gpio_request(GPIO_FN_D6_NAF6, NULL); | ||
1489 | gpio_request(GPIO_FN_D7_NAF7, NULL); | ||
1490 | gpio_request(GPIO_FN_D8_NAF8, NULL); | ||
1491 | gpio_request(GPIO_FN_D9_NAF9, NULL); | ||
1492 | gpio_request(GPIO_FN_D10_NAF10, NULL); | ||
1493 | gpio_request(GPIO_FN_D11_NAF11, NULL); | ||
1494 | gpio_request(GPIO_FN_D12_NAF12, NULL); | ||
1495 | gpio_request(GPIO_FN_D13_NAF13, NULL); | ||
1496 | gpio_request(GPIO_FN_D14_NAF14, NULL); | ||
1497 | gpio_request(GPIO_FN_D15_NAF15, NULL); | ||
1498 | gpio_request(GPIO_FN_FCE0, NULL); | ||
1499 | gpio_request(GPIO_FN_WE0_FWE, NULL); | ||
1500 | gpio_request(GPIO_FN_FRB, NULL); | ||
1501 | gpio_request(GPIO_FN_A4_FOE, NULL); | ||
1502 | gpio_request(GPIO_FN_A5_FCDE, NULL); | ||
1503 | gpio_request(GPIO_FN_RD_FSC, NULL); | ||
1504 | |||
1505 | /* enable GPS module (GT-720F) */ | 1488 | /* enable GPS module (GT-720F) */ |
1506 | gpio_request(GPIO_FN_SCIFA2_TXD1, NULL); | 1489 | gpio_request(GPIO_FN_SCIFA2_TXD1, NULL); |
1507 | gpio_request(GPIO_FN_SCIFA2_RXD1, NULL); | 1490 | gpio_request(GPIO_FN_SCIFA2_RXD1, NULL); |