Commit bdcf5a4c14200abf4e693c9b5c60ea495a2d1cef

Authored by Masahiro Yamada
1 parent 64d851bf1d

ARM: UniPhier: add I/O pin settings for xHCI on PH1-Pro4

This is necessary to use the xHCI cores for PH1-Pro4.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>

Showing 1 changed file with 7 additions and 0 deletions Side-by-side Diff

arch/arm/mach-uniphier/ph1-pro4/pinctrl.c
... ... @@ -41,6 +41,13 @@
41 41 sg_set_pinsel(54, 0); /* NRYBY0 -> NRYBY0 */
42 42 #endif
43 43  
  44 +#ifdef CONFIG_USB_XHCI_UNIPHIER
  45 + sg_set_pinsel(180, 0); /* USB0VBUS -> USB0VBUS */
  46 + sg_set_pinsel(181, 0); /* USB0OD -> USB0OD */
  47 + sg_set_pinsel(182, 0); /* USB1VBUS -> USB1VBUS */
  48 + sg_set_pinsel(183, 0); /* USB1OD -> USB1OD */
  49 +#endif
  50 +
44 51 #ifdef CONFIG_USB_EHCI_UNIPHIER
45 52 sg_set_pinsel(184, 0); /* USB2VBUS -> USB2VBUS */
46 53 sg_set_pinsel(185, 0); /* USB2OD -> USB2OD */