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.

TDA4VM: how to use usb1 as a peripheral mode ???

Part Number: TDA4VM
Other Parts Discussed in Thread: J721EXCPXEVM,

Hi, I want to use usb1 as a peripheral mode. so i can run "ums 1 mmc 1" in uboot ,make the board as a device.

when i change the "k3-j721e-common-proc-board.dts" as below:

&usbss1 {
	pinctrl-names = "default";
	pinctrl-0 = <&main_usbss1_pins_default>;
	ti,usb2-only;
};

&usb1 {
	dr_mode = "peripheral";
	maximum-speed = "high-speed";
};

and the uboot brinup log is :

U-Boot 2020.01-gfdde6f6e-dirty (Aug 23 2021 - 14:51:40 +0800)

SoC:   J721E SR1.0
Model: Texas Instruments K3 J721E SoC
Reading on-board EEPROM at 0x50 failed 1
Board: J721EX-PM1-SOM rev E2
DRAM:  4 GiB
not found for dev hbmc-mux
Flash: 0 Bytes
MMC:   sdhci@4f80000: 0, sdhci@4fb0000: 1
Loading Environment from MMC... *** Warning - bad CRC, using default environment

In:    serial@2800000
Out:   serial@2800000
Err:   serial@2800000
Reading on-board EEPROM at 0x50 failed 1
Net:   Could not get PHY for ethernet@46000000: addr 0
phy_connect() failed
No ethernet found.

Hit any key to stop autoboot:  0 
=> 
=> ums 1 mmc 1
UMS: LUN 0, dev 1, hwpart 0, sector 0x0, count 0x1dacc00
Unable to get USB2 phy (ret -22)
Unable to get USB3 phy (ret -61)
DRD version v1 (ID: 0004024e, rev: 00000200)
Initialized  ep0 support:  
Initialized  ep1out support: BULK, INT ISO
Initialized  ep2out support: BULK, INT ISO
Initialized  ep3out support: BULK, INT ISO
Initialized  ep4out support: BULK, INT ISO
Initialized  ep5out support: BULK, INT ISO
Initialized  ep6out support: BULK, INT ISO
Initialized  ep7out support: BULK, INT ISO
Initialized  ep8out support: BULK, INT ISO
Initialized  ep9out support: BULK, INT ISO
Initialized  ep10out support: BULK, INT ISO
Initialized  ep11out support: BULK, INT ISO
Initialized  ep12out support: BULK, INT ISO
Initialized  ep13out support: BULK, INT ISO
Initialized  ep14out support: BULK, INT ISO
Initialized  ep15out support: BULK, INT ISO
Initialized  ep1in support: BULK, INT ISO
Initialized  ep2in support: BULK, INT ISO
Initialized  ep3in support: BULK, INT ISO
Initialized  ep4in support: BULK, INT ISO
Initialized  ep5in support: BULK, INT ISO
Initialized  ep6in support: BULK, INT ISO
Initialized  ep7in support: BULK, INT ISO
Initialized  ep8in support: BULK, INT ISO
Initialized  ep9in support: BULK, INT ISO
Initialized  ep10in support: BULK, INT ISO
Initialized  ep11in support: BULK, INT ISO
Initialized  ep12in support: BULK, INT ISO
Initialized  ep13in support: BULK, INT ISO
Initialized  ep14in support: BULK, INT ISO
Initialized  ep15in support: BULK, INT ISO
dev_get_priv: null device
dev_get_priv: null device
dev_get_priv: null device
dev_get_priv: null device
dev_get_priv: null device
dev_get_priv: null device
dev_get_priv: null device

Is there anything else i neet to change ?