summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2015-02-27 02:26:57 +0900
committerMasahiro Yamada <yamada.m@jp.panasonic.com>2015-03-01 00:02:54 +0900
commitbdcf5a4c14200abf4e693c9b5c60ea495a2d1cef (patch)
tree07036f3f56b429aadf17eecea89707499d2a6452 /arch
parent64d851bf1d9a94622587c4b6e8d6bd07ddb02ef7 (diff)
downloadu-boot-imx-bdcf5a4c14200abf4e693c9b5c60ea495a2d1cef.zip
u-boot-imx-bdcf5a4c14200abf4e693c9b5c60ea495a2d1cef.tar.gz
u-boot-imx-bdcf5a4c14200abf4e693c9b5c60ea495a2d1cef.tar.bz2
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-uniphier/ph1-pro4/pinctrl.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-uniphier/ph1-pro4/pinctrl.c b/arch/arm/mach-uniphier/ph1-pro4/pinctrl.c
index c8c0267..f382ef4 100644
--- a/arch/arm/mach-uniphier/ph1-pro4/pinctrl.c
+++ b/arch/arm/mach-uniphier/ph1-pro4/pinctrl.c
@@ -41,6 +41,13 @@ void pin_init(void)
sg_set_pinsel(54, 0); /* NRYBY0 -> NRYBY0 */
#endif
+#ifdef CONFIG_USB_XHCI_UNIPHIER
+ sg_set_pinsel(180, 0); /* USB0VBUS -> USB0VBUS */
+ sg_set_pinsel(181, 0); /* USB0OD -> USB0OD */
+ sg_set_pinsel(182, 0); /* USB1VBUS -> USB1VBUS */
+ sg_set_pinsel(183, 0); /* USB1OD -> USB1OD */
+#endif
+
#ifdef CONFIG_USB_EHCI_UNIPHIER
sg_set_pinsel(184, 0); /* USB2VBUS -> USB2VBUS */
sg_set_pinsel(185, 0); /* USB2OD -> USB2OD */