[U-Boot] [PATCH 10/12] x86: dfi-bt700.dtsi: Enable xHCI and add GPIO for the xHCI HUB reset

Bin Meng bmeng.cn at gmail.com
Tue Jul 18 01:15:16 UTC 2017


Hi Stefan,

On Mon, Jul 17, 2017 at 10:03 PM, Stefan Roese <sr at denx.de> wrote:
> Change from EHCI to xHCI on the DFI BayTrail SoM. Additionally, the GPIO
> that is needed to reset the xHCI hub is configured in the dts.
>
> Signed-off-by: Stefan Roese <sr at denx.de>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Bin Meng <bmeng.cn at gmail.com>
> ---
>  arch/x86/dts/dfi-bt700.dtsi | 12 ++++++++++++
>  1 file changed, 12 insertions(+)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>

But this commit should be squashed into previous one to make it a
complete one (support xHCI hub reset in dfi-bt700 boards).

> 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 at 0 {
> +                       gpio-offset = <0xa0 10>;
> +                       pad-offset = <0x23b0>;
> +                       mode-func = <0>;
> +                       mode-gpio;
> +                       output-value = <1>;
> +                       direction = <PIN_OUTPUT>;
> +               };
>         };
>
>         chosen {
> @@ -261,6 +270,9 @@
>                 fsp,enable-spi;
>                 fsp,enable-sata;
>                 fsp,sata-mode = <SATA_MODE_AHCI>;
> +#ifdef CONFIG_USB_XHCI_HCD
> +               fsp,enable-xhci;
> +#endif
>                 fsp,lpe-mode = <LPE_MODE_PCI>;
>                 fsp,lpss-sio-mode = <LPSS_SIO_MODE_PCI>;
>                 fsp,enable-dma0;
> --

Regards,
Bin


More information about the U-Boot mailing list