From 1f4e25780a827de9526b5f60b8a574b1e4f45b9c Mon Sep 17 00:00:00 2001 From: Stefan Roese Date: Tue, 18 Jul 2017 14:10:49 +0200 Subject: x86: dfi-bt700: Add xHCI USB support Change from EHCI to xHCI on the DFI BayTrail SoM. The xHCI USB hub is connected to an GPIO on the DFI BayTrail SoM. For correct operation, it needs to get reset upon power-up. Otherwise it may happen that the hub is not detected after a software reboot. This patch also configures this GPIO in the dts for correct operation. Signed-off-by: Stefan Roese Cc: Simon Glass Reviewed-by: Bin Meng --- arch/x86/dts/dfi-bt700.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'arch/x86/dts') diff --git a/arch/x86/dts/dfi-bt700.dtsi b/arch/x86/dts/dfi-bt700.dtsi index 04aa95ad52..b62e00ff1f 100644 --- a/arch/x86/dts/dfi-bt700.dtsi +++ b/arch/x86/dts/dfi-bt700.dtsi @@ -47,6 +47,15 @@ pad-offset = <0x3a0>; mode-func = <1>; }; + + xhci_hub_reset: usb_ulpi_stp@0 { + gpio-offset = <0xa0 10>; + pad-offset = <0x23b0>; + mode-func = <0>; + mode-gpio; + output-value = <1>; + direction = ; + }; }; chosen { @@ -261,6 +270,9 @@ fsp,enable-spi; fsp,enable-sata; fsp,sata-mode = ; +#ifdef CONFIG_USB_XHCI_HCD + fsp,enable-xhci; +#endif fsp,lpe-mode = ; fsp,lpss-sio-mode = ; fsp,enable-dma0; -- cgit