From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andre Przywara Date: Tue, 9 Feb 2021 01:42:49 +0000 Subject: [PATCH 6/6] configs: Enable USB3 on Allwinner H6 boards In-Reply-To: <20210208055724.58673-7-samuel@sholland.org> References: <20210208055724.58673-1-samuel@sholland.org> <20210208055724.58673-7-samuel@sholland.org> Message-ID: <20210209014249.5fa6dce0@slackpad.fritz.box> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sun, 7 Feb 2021 23:57:24 -0600 Samuel Holland wrote: Hi, (CC:ing Maxime and Chen-Yu) > Pine H64 and Orange Pi 3 both provide a USB3 type A port. > Enable it in U-Boot. > > Signed-off-by: Samuel Holland That looks good to me, but the Pine H64 does not enable the USB 3.0 controller in its .dts file. I just added status = "okay"; to the dwc3 and PHY nodes and it worked, though. Does anyone know a reason this is not enabled in the mainline DT (which we just synced)? Cheers, Andre > --- > configs/orangepi_3_defconfig | 5 +++++ > configs/pine_h64_defconfig | 5 +++++ > 2 files changed, 10 insertions(+) > > diff --git a/configs/orangepi_3_defconfig b/configs/orangepi_3_defconfig > index 82b9815205e..eb25bd9f504 100644 > --- a/configs/orangepi_3_defconfig > +++ b/configs/orangepi_3_defconfig > @@ -8,5 +8,10 @@ CONFIG_MMC_SUNXI_SLOT_EXTRA=2 > CONFIG_BLUETOOTH_DT_DEVICE_FIXUP="brcm,bcm4345c5" > CONFIG_DEFAULT_DEVICE_TREE="sun50i-h6-orangepi-3" > # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set > +CONFIG_PHY_SUN50I_USB3=y > +CONFIG_USB_XHCI_HCD=y > +CONFIG_USB_XHCI_DWC3=y > CONFIG_USB_EHCI_HCD=y > CONFIG_USB_OHCI_HCD=y > +CONFIG_USB_DWC3=y > +# CONFIG_USB_DWC3_GADGET is not set > diff --git a/configs/pine_h64_defconfig b/configs/pine_h64_defconfig > index 2fa66f38343..0095fb222e6 100644 > --- a/configs/pine_h64_defconfig > +++ b/configs/pine_h64_defconfig > @@ -12,5 +12,10 @@ CONFIG_SPL_SPI_SUNXI=y > CONFIG_DEFAULT_DEVICE_TREE="sun50i-h6-pine-h64" > # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set > CONFIG_SUN8I_EMAC=y > +CONFIG_PHY_SUN50I_USB3=y > +CONFIG_USB_XHCI_HCD=y > +CONFIG_USB_XHCI_DWC3=y > CONFIG_USB_EHCI_HCD=y > CONFIG_USB_OHCI_HCD=y > +CONFIG_USB_DWC3=y > +# CONFIG_USB_DWC3_GADGET is not set