aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/pinctrl/sh-pfc/pfc-r8a7791.c40
1 files changed, 12 insertions, 28 deletions
diff --git a/drivers/pinctrl/sh-pfc/pfc-r8a7791.c b/drivers/pinctrl/sh-pfc/pfc-r8a7791.c
index d73a5f312777..70a74da35379 100644
--- a/drivers/pinctrl/sh-pfc/pfc-r8a7791.c
+++ b/drivers/pinctrl/sh-pfc/pfc-r8a7791.c
@@ -2649,33 +2649,21 @@ static const unsigned int sdhi2_wp_mux[] = {
2649 SD2_WP_MARK, 2649 SD2_WP_MARK,
2650}; 2650};
2651/* - USB0 ------------------------------------------------------------------- */ 2651/* - USB0 ------------------------------------------------------------------- */
2652static const unsigned int usb0_pwen_pins[] = { 2652static const unsigned int usb0_pins[] = {
2653 /* PWEN */ 2653 RCAR_GP_PIN(7, 23), /* PWEN */
2654 RCAR_GP_PIN(7, 23), 2654 RCAR_GP_PIN(7, 24), /* OVC */
2655}; 2655};
2656static const unsigned int usb0_pwen_mux[] = { 2656static const unsigned int usb0_mux[] = {
2657 USB0_PWEN_MARK, 2657 USB0_PWEN_MARK,
2658};
2659static const unsigned int usb0_ovc_pins[] = {
2660 /* OVC */
2661 RCAR_GP_PIN(7, 24),
2662};
2663static const unsigned int usb0_ovc_mux[] = {
2664 USB0_OVC_MARK, 2658 USB0_OVC_MARK,
2665}; 2659};
2666/* - USB1 ------------------------------------------------------------------- */ 2660/* - USB1 ------------------------------------------------------------------- */
2667static const unsigned int usb1_pwen_pins[] = { 2661static const unsigned int usb1_pins[] = {
2668 /* PWEN */ 2662 RCAR_GP_PIN(7, 25), /* PWEN */
2669 RCAR_GP_PIN(7, 25), 2663 RCAR_GP_PIN(6, 30), /* OVC */
2670}; 2664};
2671static const unsigned int usb1_pwen_mux[] = { 2665static const unsigned int usb1_mux[] = {
2672 USB1_PWEN_MARK, 2666 USB1_PWEN_MARK,
2673};
2674static const unsigned int usb1_ovc_pins[] = {
2675 /* OVC */
2676 RCAR_GP_PIN(6, 30),
2677};
2678static const unsigned int usb1_ovc_mux[] = {
2679 USB1_OVC_MARK, 2667 USB1_OVC_MARK,
2680}; 2668};
2681 2669
@@ -2810,10 +2798,8 @@ static const struct sh_pfc_pin_group pinmux_groups[] = {
2810 SH_PFC_PIN_GROUP(sdhi2_ctrl), 2798 SH_PFC_PIN_GROUP(sdhi2_ctrl),
2811 SH_PFC_PIN_GROUP(sdhi2_cd), 2799 SH_PFC_PIN_GROUP(sdhi2_cd),
2812 SH_PFC_PIN_GROUP(sdhi2_wp), 2800 SH_PFC_PIN_GROUP(sdhi2_wp),
2813 SH_PFC_PIN_GROUP(usb0_pwen), 2801 SH_PFC_PIN_GROUP(usb0),
2814 SH_PFC_PIN_GROUP(usb0_ovc), 2802 SH_PFC_PIN_GROUP(usb1),
2815 SH_PFC_PIN_GROUP(usb1_pwen),
2816 SH_PFC_PIN_GROUP(usb1_ovc),
2817}; 2803};
2818 2804
2819static const char * const du_groups[] = { 2805static const char * const du_groups[] = {
@@ -3016,12 +3002,10 @@ static const char * const sdhi2_groups[] = {
3016}; 3002};
3017 3003
3018static const char * const usb0_groups[] = { 3004static const char * const usb0_groups[] = {
3019 "usb0_pwen", 3005 "usb0",
3020 "usb0_ovc",
3021}; 3006};
3022static const char * const usb1_groups[] = { 3007static const char * const usb1_groups[] = {
3023 "usb1_pwen", 3008 "usb1",
3024 "usb1_ovc",
3025}; 3009};
3026 3010
3027static const struct sh_pfc_function pinmux_functions[] = { 3011static const struct sh_pfc_function pinmux_functions[] = {