mirror of https://gitee.com/openkylin/linux.git
ARM: shmobile: kzm9g: Register pinctrl mappings for SCIF
Replace the GPIO-based SCIF pinmux configuration by pinctrl mappings. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
This commit is contained in:
parent
f3202e1b17
commit
5606ed9c0c
|
@ -606,6 +606,11 @@ static const struct pinctrl_map kzm_pinctrl_map[] = {
|
||||||
"lcd_data24", "lcd"),
|
"lcd_data24", "lcd"),
|
||||||
PIN_MAP_MUX_GROUP_DEFAULT("sh_mobile_lcdc_fb.0", "pfc-sh73a0",
|
PIN_MAP_MUX_GROUP_DEFAULT("sh_mobile_lcdc_fb.0", "pfc-sh73a0",
|
||||||
"lcd_sync", "lcd"),
|
"lcd_sync", "lcd"),
|
||||||
|
/* SCIFA4 */
|
||||||
|
PIN_MAP_MUX_GROUP_DEFAULT("sh-sci.4", "pfc-sh73a0",
|
||||||
|
"scifa4_data", "scifa4"),
|
||||||
|
PIN_MAP_MUX_GROUP_DEFAULT("sh-sci.4", "pfc-sh73a0",
|
||||||
|
"scifa4_ctrl", "scifa4"),
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -673,12 +678,6 @@ static void __init kzm_init(void)
|
||||||
|
|
||||||
sh73a0_pinmux_init();
|
sh73a0_pinmux_init();
|
||||||
|
|
||||||
/* enable SCIFA4 */
|
|
||||||
gpio_request(GPIO_FN_SCIFA4_TXD, NULL);
|
|
||||||
gpio_request(GPIO_FN_SCIFA4_RXD, NULL);
|
|
||||||
gpio_request(GPIO_FN_SCIFA4_RTS_, NULL);
|
|
||||||
gpio_request(GPIO_FN_SCIFA4_CTS_, NULL);
|
|
||||||
|
|
||||||
/* CS4 for SMSC/USB */
|
/* CS4 for SMSC/USB */
|
||||||
gpio_request(GPIO_FN_CS4_, NULL); /* CS4 */
|
gpio_request(GPIO_FN_CS4_, NULL); /* CS4 */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue