USB0识别不了U盘。
设备树如下:
&usb {
status = "okay";
};
&usb_ctrl_mod {
status = "okay";
};
&usb0_phy {
status = "okay";
};
&usb1_phy {
status = "okay";
};
&usb0 {
status = "okay";
dr_mode = "host";
};
&usb1 {
status = "okay";
//dr_mode = "host";
dr_mode = "otg";
};
&cppi41dma {
status = "okay";
};
启动打印log:
[ 0.216919] SCSI subsystem initialized
[ 0.217149] usbcore: registered new interface driver usbfs
[ 0.217216] usbcore: registered new interface driver hub
[ 0.217382] usbcore: registered new device driver usb
[ 1.127396] libphy: Fixed MDIO Bus: probed
[ 1.200972] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
[ 1.208674] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
[ 1.215921] libphy: 4a101000.mdio: probed
[ 1.219963] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver Atheros 8031 ethernet
[ 1.230150] cpsw 4a100000.ethernet: Detected MACID = e4:15:f6:f1:fc:65
[ 1.236980] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
[ 1.243452] cpsw 4a100000.ethernet: ALE Table size 1024
[ 1.248731] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
[ 1.257082] usbcore: registered new interface driver usb-storage
[ 1.263545] i2c /dev entries driver
[ 1.268969] cpu cpu0: Linked as a consumer to regulator.4
[ 1.274600] cpu cpu0: Dropping the link to regulator.4
[ 1.279934] cpu cpu0: Linked as a consumer to regulator.4
硬件原理图是这样的