This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM5728: Not able to configure USB host controller at full-speed (12Mbps)

Part Number: AM5728
Other Parts Discussed in Thread: AM5748,

Board: Custom board with AM5748 and AM5728

Processor SDK Linux RT 6.02

USB host controller in use: USB2 (488d0000.usb)

We are not able to configure USB host controller at full-speed (12Mbps) .  We want to lower speed to 12Mbps due to signal issue on some boards.

Configured maximum-speed = "full-speed" for USB2, but that did not help.

Here is reverse compiled DTB to DTS:

omap_dwc3_2@488c0000 {
compatible = "ti,dwc3";
ti,hwmods = "usb_otg_ss2";
reg = <0x488c0000 0x10000>;
interrupts = <0x0 0x57 0x4>;
#address-cells = <0x1>;
#size-cells = <0x1>;
utmi-mode = <0x2>;
ranges;

usb@488d0000 {
compatible = "snps,dwc3";
reg = <0x488d0000 0x17000>;
interrupts = <0x0 0x49 0x4 0x0 0x49 0x4 0x0 0x57 0x4>;
interrupt-names = "peripheral", "host", "otg";
phys = <0xcc>;
phy-names = "usb2-phy";
maximum-speed = "full-speed";
dr_mode = "host";
snps,dis_u3_susphy_quirk;
snps,dis_u2_susphy_quirk;
snps,dis_metastability_quirk;
};
};

dmesg:

root@am57xx-evm:~# dmesg | grep -i usb
[ 22.765494] dwc3 488d0000.usb: Failed to get clk 'ref': -2
[ 23.574797] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[ 23.609094] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[ 23.617409] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 23.624762] usb usb1: Product: xHCI Host Controller
[ 23.629667] usb usb1: Manufacturer: Linux 4.19.79-rt28 xhci-hcd
[ 23.635927] usb usb1: SerialNumber: xhci-hcd.0.auto
[ 23.693247] hub 1-0:1.0: USB hub found
[ 23.708780] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[ 23.708804] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[ 23.708992] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[ 23.709244] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.19
[ 23.709256] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 23.709265] usb usb2: Product: xHCI Host Controller
[ 23.709275] usb usb2: Manufacturer: Linux 4.19.79-rt28 xhci-hcd
[ 23.709284] usb usb2: SerialNumber: xhci-hcd.0.auto
[ 23.733205] hub 2-0:1.0: USB hub found
[ 24.061343] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[ 24.262117] usb 1-1: New USB device found, idVendor=1618, idProduct=9116, bcdDevice= 0.02
[ 24.270349] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=6
[ 24.277607] usb 1-1: Product: Wireless USB Network Module
[ 24.283039] usb 1-1: Manufacturer: Redpine Signals, Inc.
[ 24.288380] usb 1-1: SerialNumber: 000000000001
[ 24.650805] usbcore: registered new interface driver RSI-USB WLAN

lsusb:

root@am57xx-evm:~# lsusb -t
/: 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=Vendor Specific Class, Driver=RSI-USB WLAN, 480M

Please let us know if you need any more information.