]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
ARM: UniPhier: add I/O pin settings for xHCI on PH1-Pro4
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Thu, 26 Feb 2015 17:26:57 +0000 (02:26 +0900)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 12:06:22 +0000 (14:06 +0200)
This is necessary to use the xHCI cores for PH1-Pro4.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
arch/arm/mach-uniphier/ph1-pro4/pinctrl.c

index c8c0267169b3a9f92ddb4213890b10513f85ad77..f382ef48421a43dcdae4cc29832c67f0e1520c54 100644 (file)
@@ -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 */