pinctrl: uniphier: Add USB device pinmux settings
Add USB device pinmux settings for PXs2 and PXs3 SoCs. Only pins for ports 0 and 1 support USB device mode. Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com> Link: https://lore.kernel.org/r/1643376903-18623-4-git-send-email-hayashi.kunihiko@socionext.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
dfc04955c8
commit
923fe8abb0
|
@ -817,8 +817,12 @@ static const unsigned uart3b_pins[] = {181, 182};
|
|||
static const int uart3b_muxvals[] = {10, 10};
|
||||
static const unsigned usb0_pins[] = {56, 57};
|
||||
static const int usb0_muxvals[] = {8, 8};
|
||||
static const unsigned usb0_device_pins[] = {213};
|
||||
static const int usb0_device_muxvals[] = {9};
|
||||
static const unsigned usb1_pins[] = {58, 59};
|
||||
static const int usb1_muxvals[] = {8, 8};
|
||||
static const unsigned usb1_device_pins[] = {214};
|
||||
static const int usb1_device_muxvals[] = {9};
|
||||
static const unsigned usb2_pins[] = {60, 61};
|
||||
static const int usb2_muxvals[] = {8, 8};
|
||||
static const unsigned usb3_pins[] = {62, 63};
|
||||
|
@ -901,7 +905,9 @@ static const struct uniphier_pinctrl_group uniphier_pxs2_groups[] = {
|
|||
UNIPHIER_PINCTRL_GROUP(uart3),
|
||||
UNIPHIER_PINCTRL_GROUP(uart3b),
|
||||
UNIPHIER_PINCTRL_GROUP(usb0),
|
||||
UNIPHIER_PINCTRL_GROUP(usb0_device),
|
||||
UNIPHIER_PINCTRL_GROUP(usb1),
|
||||
UNIPHIER_PINCTRL_GROUP(usb1_device),
|
||||
UNIPHIER_PINCTRL_GROUP(usb2),
|
||||
UNIPHIER_PINCTRL_GROUP(usb3),
|
||||
UNIPHIER_PINCTRL_GROUP_GPIO(gpio_range0),
|
||||
|
@ -942,8 +948,8 @@ static const char * const uart0_groups[] = {"uart0", "uart0b",
|
|||
static const char * const uart1_groups[] = {"uart1"};
|
||||
static const char * const uart2_groups[] = {"uart2"};
|
||||
static const char * const uart3_groups[] = {"uart3", "uart3b"};
|
||||
static const char * const usb0_groups[] = {"usb0"};
|
||||
static const char * const usb1_groups[] = {"usb1"};
|
||||
static const char * const usb0_groups[] = {"usb0", "usb0_device"};
|
||||
static const char * const usb1_groups[] = {"usb1", "usb1_device"};
|
||||
static const char * const usb2_groups[] = {"usb2"};
|
||||
static const char * const usb3_groups[] = {"usb3"};
|
||||
|
||||
|
|
|
@ -855,8 +855,12 @@ static const unsigned int uart3_pins[] = {98, 99};
|
|||
static const int uart3_muxvals[] = {0, 0};
|
||||
static const unsigned int usb0_pins[] = {84, 85};
|
||||
static const int usb0_muxvals[] = {0, 0};
|
||||
static const unsigned int usb0_device_pins[] = {110};
|
||||
static const int usb0_device_muxvals[] = {2};
|
||||
static const unsigned int usb1_pins[] = {86, 87};
|
||||
static const int usb1_muxvals[] = {0, 0};
|
||||
static const unsigned int usb1_device_pins[] = {111};
|
||||
static const int usb1_device_muxvals[] = {2};
|
||||
static const unsigned int usb2_pins[] = {88, 89};
|
||||
static const int usb2_muxvals[] = {0, 0};
|
||||
static const unsigned int usb3_pins[] = {90, 91};
|
||||
|
@ -942,7 +946,9 @@ static const struct uniphier_pinctrl_group uniphier_pxs3_groups[] = {
|
|||
UNIPHIER_PINCTRL_GROUP(uart2),
|
||||
UNIPHIER_PINCTRL_GROUP(uart3),
|
||||
UNIPHIER_PINCTRL_GROUP(usb0),
|
||||
UNIPHIER_PINCTRL_GROUP(usb0_device),
|
||||
UNIPHIER_PINCTRL_GROUP(usb1),
|
||||
UNIPHIER_PINCTRL_GROUP(usb1_device),
|
||||
UNIPHIER_PINCTRL_GROUP(usb2),
|
||||
UNIPHIER_PINCTRL_GROUP(usb3),
|
||||
UNIPHIER_PINCTRL_GROUP_GPIO(gpio_range0),
|
||||
|
@ -982,8 +988,8 @@ static const char * const uart0_groups[] = {"uart0", "uart0_ctsrts",
|
|||
static const char * const uart1_groups[] = {"uart1"};
|
||||
static const char * const uart2_groups[] = {"uart2"};
|
||||
static const char * const uart3_groups[] = {"uart3"};
|
||||
static const char * const usb0_groups[] = {"usb0"};
|
||||
static const char * const usb1_groups[] = {"usb1"};
|
||||
static const char * const usb0_groups[] = {"usb0", "usb0_device"};
|
||||
static const char * const usb1_groups[] = {"usb1", "usb1_device"};
|
||||
static const char * const usb2_groups[] = {"usb2"};
|
||||
static const char * const usb3_groups[] = {"usb3"};
|
||||
|
||||
|
|
Loading…
Reference in New Issue