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.

AM3354: Do AMM335 support USB full speed mode in Uboot?

Tool/software:

Hi 

I searched the forum and find the way to switch USB to full speed on AM62.

I use AM335 and did similar modification on our dts but USB still be high speed mode.

SDK version : Linux 7.03

Do AM335 support full speed or I miss some steps to enable this?

Thanks

Zekun

  • Hi Zekun,

    No, the U-Boot doesn't support to force AM335x USB to full-speed mode. But the U-Boot patch below should enable it. (Note: this patch hard-coded the AM335x USB to full-speed mode, it doesn't take the configuration from U-Boot device tree.)

    iff --git a/drivers/usb/musb-new/musb_core.c b/drivers/usb/musb-new/musb_core.c
    index 22811a5efb23..d1a4cc05ed05 100644
    --- a/drivers/usb/musb-new/musb_core.c
    +++ b/drivers/usb/musb-new/musb_core.c
    @@ -924,7 +924,6 @@ int musb_start(struct musb *musb)
     
            /* put into basic highspeed mode and start session */
            musb_writeb(regs, MUSB_POWER, MUSB_POWER_ISOUPDATE
    -                                               | MUSB_POWER_HSENAB
                                                    /* ENSUSPEND wedges tusb */
                                                    /* | MUSB_POWER_ENSUSPEND */
                                                    );