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.

PROCESSOR-SDK-AM335X: Usb0 OTG does not work on Linux kernel version 6.1 customized with Processor SDK Linux for AM335X 09_01_00_001.

Part Number: PROCESSOR-SDK-AM335X

Tool/software:

Hi Ti experts,

I'm trying to get the Usb0 OTG functionality to work with a customized Linux kernel version 6.1, but I'm having trouble.

In old kernels, both the host and peripheral of the OTG function could operate with the same kernel settings and device tree.

Are any additional actions required due to SDK changes or kernel version changes?

[kernel config]

CONFIG_USB=y
CONFIG_USB_OTG=y
CONFIG_USB_EHCI_HCD=y

CONFIG_USB_DWC3=m
# CONFIG_USB_DWC3_HOST is not set
# CONFIG_USB_DWC3_GADGET is not set
CONFIG_USB_DWC3_DUAL_ROLE=y

CONFIG_USB_MUSB_HDRC=m
CONFIG_USB_MUSB_DSPS=m
CONFIG_USB_MUSB_DUAL_ROLE=y


[dts file]

&usb0 {
    pinctrl-names = "default", "sleep";
    pinctrl-0 = <&usb0_pins_default>;
    pinctrl-1 = <&usb0_pins_sleep>;
    status = "okay";
    dr_mode = "otg";
};