Using an AM57x
I am testing our custom board.
I am able to get high speed host and peripheral mode working.
Plugging in a USB-C nvme drive results in a high speed link.
Note: I appear to have an issue with the direction of the cable being plugged in. One direction works and the other doesn't. But the DIR pin correctly changes. I will have the hardware guys inspect the connector incase there was a bad solder.
[63936.517904] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller [63936.523599] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1 [63936.532782] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x0000000002010010 [63936.542437] xhci-hcd xhci-hcd.0.auto: irq 178, io mem 0x48890000 [63936.548981] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19 [63936.557329] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [63936.564628] usb usb1: Product: xHCI Host Controller [63936.569539] usb usb1: Manufacturer: Linux 4.19.79-00321-g29f24c68c0de-dirty xhci-hcd [63936.578308] usb usb1: SerialNumber: xhci-hcd.0.auto [63936.585747] hub 1-0:1.0: USB hub found [63936.589545] hub 1-0:1.0: 1 port detected [63936.594542] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller [63936.600065] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2 [63936.607948] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed [63936.614629] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. [63936.623015] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.19 [63936.631398] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [63936.638772] usb usb2: Product: xHCI Host Controller [63936.643899] usb usb2: Manufacturer: Linux 4.19.79-00321-g29f24c68c0de-dirty xhci-hcd [63936.651697] usb usb2: SerialNumber: xhci-hcd.0.auto [63936.657374] prueth pruss2_eth: port 1: using random MAC addr: 66:c7:eb:5e:22:12 [63936.666766] hub 2-0:1.0: USB hub found [63936.670628] hub 2-0:1.0: 1 port detected [63936.676438] prueth pruss2_eth: port 1: using random MAC addr: aa:0f:ad:bb:f9:b9 [63937.361624] usb 1-1: new high-speed USB device number 2 using xhci-hcd [63937.542212] usb 1-1: New USB device found, idVendor=152d, idProduct=0562, bcdDevice= 2.04 [63937.550431] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [63937.558249] usb 1-1: Product: External [63937.562171] usb 1-1: Manufacturer: JMicron [63937.566289] usb 1-1: SerialNumber: DD56419883893 [63937.591662] scsi host1: uas [63937.595243] scsi 1:0:0:0: Direct-Access JMicron Tech 0204 PQ: 0 ANSI: 6 [63937.605170] prueth pruss2_eth: port 1: using random MAC addr: 0e:a3:17:48:11:7b [63939.483131] prueth pruss2_eth: port 1: using random MAC addr: 52:e3:96:a8:cc:d9 [63939.491104] sd 1:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB) [63939.500653] sd 1:0:0:0: [sda] 4096-byte physical blocks [63939.506227] sd 1:0:0:0: [sda] Write Protect is off [63939.511489] sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [63939.521109] sd 1:0:0:0: [sda] Optimal transfer size 33553920 bytes not a multiple of physical block size (4096 bytes) [63939.542517] sda: sda1 [63939.547075] sd 1:0:0:0: [sda] Attached SCSI disk [63940.467651] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null) root@mitysom-am57x:~# lsusb -t /: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M |__ Port 1: Dev 9, If 0, Class=Vendor Specific Class, Driver=, 480M /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M |__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=uas, 480M