mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 07:31:15 +00:00
ARM: UniPhier: add EHCI host pin settings for PH1-Pro4
These IO pins are necessary for port power control and over current detect. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
This commit is contained in:
parent
a69e037e46
commit
f440bf2507
1 changed files with 7 additions and 0 deletions
|
@ -41,5 +41,12 @@ void pin_init(void)
|
||||||
sg_set_pinsel(54, 0); /* NRYBY0 -> NRYBY0 */
|
sg_set_pinsel(54, 0); /* NRYBY0 -> NRYBY0 */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef CONFIG_USB_EHCI_UNIPHIER
|
||||||
|
sg_set_pinsel(184, 0); /* USB2VBUS -> USB2VBUS */
|
||||||
|
sg_set_pinsel(185, 0); /* USB2OD -> USB2OD */
|
||||||
|
sg_set_pinsel(187, 0); /* USB3VBUS -> USB3VBUS */
|
||||||
|
sg_set_pinsel(188, 0); /* USB3OD -> USB3OD */
|
||||||
|
#endif
|
||||||
|
|
||||||
writel(1, SG_LOADPINCTRL);
|
writel(1, SG_LOADPINCTRL);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue