summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/board-kzm9g.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2013-03-13 03:21:36 +0100
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2013-03-15 13:34:11 +0100
commitfed94cf818e318f3c1a8eddbaed33b7342050a1b (patch)
treebdff57aeae37bce069cc85f3ef3c4c5c4009f64f /arch/arm/mach-shmobile/board-kzm9g.c
parent83aeac9874b6fe45e42891c0d4cc0f3e86b8aa66 (diff)
downloadop-kernel-dev-fed94cf818e318f3c1a8eddbaed33b7342050a1b.zip
op-kernel-dev-fed94cf818e318f3c1a8eddbaed33b7342050a1b.tar.gz
ARM: shmobile: kzm9g: Register pinctrl mappings for BSC
Replace the GPIO-based BSC pinmux configuration by pinctrl mappings. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Diffstat (limited to 'arch/arm/mach-shmobile/board-kzm9g.c')
-rw-r--r--arch/arm/mach-shmobile/board-kzm9g.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-shmobile/board-kzm9g.c b/arch/arm/mach-shmobile/board-kzm9g.c
index 335bdbb..7427041 100644
--- a/arch/arm/mach-shmobile/board-kzm9g.c
+++ b/arch/arm/mach-shmobile/board-kzm9g.c
@@ -651,6 +651,9 @@ static const struct pinctrl_map kzm_pinctrl_map[] = {
"sdhi2_data4", "sdhi2"),
PIN_MAP_MUX_GROUP_DEFAULT("sh_mobile_sdhi.2", "pfc-sh73a0",
"sdhi2_ctrl", "sdhi2"),
+ /* SMSC */
+ PIN_MAP_MUX_GROUP_DEFAULT("smsc911x.0", "pfc-sh73a0",
+ "bsc_cs4", "bsc"),
};
/*
@@ -718,9 +721,6 @@ static void __init kzm_init(void)
sh73a0_pinmux_init();
- /* CS4 for SMSC/USB */
- gpio_request(GPIO_FN_CS4_, NULL); /* CS4 */
-
/* SMSC */
gpio_request_one(224, GPIOF_IN, NULL); /* IRQ3 */
OpenPOWER on IntegriCloud