[PATCH 0/5] board: ten64: add USB Hub (USB5744) management support

Mathew McBride matt at traverse.com.au
Thu Apr 9 02:06:30 CEST 2026


The main public Ten64 board version (RevC) has a Microchip/SMSC
USB hub (USB5744) connected to the second USB controller on the
LS1088A.

The USB5744 is configured (by bootstrap pins) not to start automatically,
rather the firmware has to issue the start commands to the USB5744
over I2C.
The rationale for this is to allow certain ports to be disabled,
namely the M.2 Key B slot where the USB3 lanes need to be disabled
for a card that is PCI Express only (as the USB3 pins are shared
with a PCIe lane).
(The functionality for this scenario is not present in the mainline
USB5744 driver at this time).

Further testing revealed that some operating systems get stuck at boot
when they start their usb5744 driver, so we hide the USB Hub from
operating systems by deleting references (fixup) in the FDT prior to handover.

Similarly, references in U-Boot's internal FDT need to be deleted
when running on a board without the USB hub present.

CI pipeline results are here:
https://github.com/u-boot/u-boot/pull/924
I had to change the gpio.h #include in usb_onboard_hub.c to
asm-generic to fix a compile issue (missing stdint types).
The CI did not pick up any issues with this.

Signed-off-by: Mathew McBride <matt at traverse.com.au>
---
Mathew McBride (5):
      usb: onboard-hub: fix compile issue with gpio.h import
      board: ten64: add fdt fixup to hide usb hub topology
      board: ten64: remove USB hub references from internal FDT when needed
      configs: ten64: enable USB_ONBOARD_HUB (USB5744) option
      configs: ten64: switch to OF_UPSTREAM

 board/traverse/ten64/ten64.c | 62 ++++++++++++++++++++++++++++++++++++++++++++
 common/usb_onboard_hub.c     |  2 +-
 configs/ten64_tfa_defconfig  |  4 ++-
 3 files changed, 66 insertions(+), 2 deletions(-)
---
base-commit: 0a7e2a90ad4df4235946c2349fc9430e87428d4f
change-id: 20260408-ten64-add-usb5744-0ad5f6ad9f40

Best regards,
-- 
Mathew McBride <matt at traverse.com.au>



More information about the U-Boot mailing list