forked from Minki/linux
sh-pfc: r8a7740: Add SCIFA1 data group
Add SCIFA1 as preparation to switch to pinctrl in board files. Signed-off-by: Bastian Hecht <hechtb+renesas@gmail.com> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
This commit is contained in:
parent
87f8c98863
commit
8fbfdbbb04
@ -1999,6 +1999,14 @@ static const unsigned int mmc0_ctrl_1_pins[] = {
|
|||||||
static const unsigned int mmc0_ctrl_1_mux[] = {
|
static const unsigned int mmc0_ctrl_1_mux[] = {
|
||||||
MMC1_CMD_PORT104_MARK, MMC1_CLK_PORT103_MARK,
|
MMC1_CMD_PORT104_MARK, MMC1_CLK_PORT103_MARK,
|
||||||
};
|
};
|
||||||
|
/* - SCIFA1 ----------------------------------------------------------------- */
|
||||||
|
static const unsigned int scifa1_data_pins[] = {
|
||||||
|
/* RXD, TXD */
|
||||||
|
195, 196,
|
||||||
|
};
|
||||||
|
static const unsigned int scifa1_data_mux[] = {
|
||||||
|
SCIFA1_RXD_MARK, SCIFA1_TXD_MARK,
|
||||||
|
};
|
||||||
/* - SDHI0 ------------------------------------------------------------------ */
|
/* - SDHI0 ------------------------------------------------------------------ */
|
||||||
static const unsigned int sdhi0_data1_pins[] = {
|
static const unsigned int sdhi0_data1_pins[] = {
|
||||||
/* D0 */
|
/* D0 */
|
||||||
@ -2204,6 +2212,7 @@ static const struct sh_pfc_pin_group pinmux_groups[] = {
|
|||||||
SH_PFC_PIN_GROUP(mmc0_data4_1),
|
SH_PFC_PIN_GROUP(mmc0_data4_1),
|
||||||
SH_PFC_PIN_GROUP(mmc0_data8_1),
|
SH_PFC_PIN_GROUP(mmc0_data8_1),
|
||||||
SH_PFC_PIN_GROUP(mmc0_ctrl_1),
|
SH_PFC_PIN_GROUP(mmc0_ctrl_1),
|
||||||
|
SH_PFC_PIN_GROUP(scifa1_data),
|
||||||
SH_PFC_PIN_GROUP(sdhi0_data1),
|
SH_PFC_PIN_GROUP(sdhi0_data1),
|
||||||
SH_PFC_PIN_GROUP(sdhi0_data4),
|
SH_PFC_PIN_GROUP(sdhi0_data4),
|
||||||
SH_PFC_PIN_GROUP(sdhi0_ctrl),
|
SH_PFC_PIN_GROUP(sdhi0_ctrl),
|
||||||
@ -2316,6 +2325,10 @@ static const char * const mmc0_groups[] = {
|
|||||||
"mmc0_ctrl_1",
|
"mmc0_ctrl_1",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static const char * const scifa1_groups[] = {
|
||||||
|
"scifa1_data",
|
||||||
|
};
|
||||||
|
|
||||||
static const char * const sdhi0_groups[] = {
|
static const char * const sdhi0_groups[] = {
|
||||||
"sdhi0_data1",
|
"sdhi0_data1",
|
||||||
"sdhi0_data4",
|
"sdhi0_data4",
|
||||||
@ -2346,6 +2359,7 @@ static const struct sh_pfc_function pinmux_functions[] = {
|
|||||||
SH_PFC_FUNCTION(lcd0),
|
SH_PFC_FUNCTION(lcd0),
|
||||||
SH_PFC_FUNCTION(lcd1),
|
SH_PFC_FUNCTION(lcd1),
|
||||||
SH_PFC_FUNCTION(mmc0),
|
SH_PFC_FUNCTION(mmc0),
|
||||||
|
SH_PFC_FUNCTION(scifa1),
|
||||||
SH_PFC_FUNCTION(sdhi0),
|
SH_PFC_FUNCTION(sdhi0),
|
||||||
SH_PFC_FUNCTION(sdhi1),
|
SH_PFC_FUNCTION(sdhi1),
|
||||||
SH_PFC_FUNCTION(sdhi2),
|
SH_PFC_FUNCTION(sdhi2),
|
||||||
|
Loading…
Reference in New Issue
Block a user