stm32mp157 USB-host口插入设备没反应,没有任何枚举信息。
系统启动日志
[root@100ask:~]#
[root@100ask:~]#
[root@100ask:~]# dmesg | grep usb
[ 1.205709] usbcore: registered new interface driver cdc_ncm
[ 1.209315] usbcore: registered new interface driver cdc_acm
[ 1.209438] usbcore: registered new interface driver usblp
[ 1.209505] usbcore: registered new interface driver cdc_wdm
[ 1.209566] usbcore: registered new interface driver uas
[ 1.209648] usbcore: registered new interface driver usb-storage
[ 1.209810] usbcore: registered new interface driver usbserial_generic
[ 1.209863] usbserial: USB Serial support registered for generic
[ 1.209933] usbcore: registered new interface driver option
[ 1.209979] usbserial: USB Serial support registered for GSM modem (1-port)
[ 1.229043] usbcore: registered new interface driver usbhid
[ 1.229062] usbhid: USB HID core driver
[ 1.361567] stm32-usbphyc 5a006000.usbphyc: Looking up vdda1v1-supply from device tree
[ 1.368578] stm32-pwr-regulator 50001000.pwr: Looking up vdd_3v3_usbfs-supply from device tree
[ 1.368605] stm32-pwr-regulator 50001000.pwr: Looking up vdd_3v3_usbfs-supply property in node /soc/pwr@50001000 failed
[ 1.368621] usb33: supplied by regulator-dummy
[ 1.368710] usb33: 3300 mV
[ 1.428494] stm32-usbphyc 5a006000.usbphyc: Looking up vdda1v1-supply from device tree
[ 1.428610] stm32-usbphyc 5a006000.usbphyc: Looking up vdda1v8-supply from device tree
[ 1.428727] phy phy-5a006000.usbphyc.0: Looking up phy-supply from device tree
[ 1.428753] vdd_usb: could not add device link phy-5a006000.usbphyc.0 err -2
[ 1.429128] phy phy-5a006000.usbphyc.1: Looking up phy-supply from device tree
[ 1.429173] vdd_usb: could not add device link phy-5a006000.usbphyc.1 err -2
[ 1.429776] stm32-usbphyc 5a006000.usbphyc: registered rev:1.0
[ 3.205652] dwc2 49000000.usb-otg: Looking up vusb_d-supply from device tree
[ 3.205684] dwc2 49000000.usb-otg: Looking up vusb_d-supply property in node /soc/usb-otg@49000000 failed
[ 3.205714] dwc2 49000000.usb-otg: 49000000.usb-otg supply vusb_d not found, using dummy regulator
[ 3.213414] dwc2 49000000.usb-otg: Looking up vusb_a-supply from device tree
[ 3.213443] dwc2 49000000.usb-otg: Looking up vusb_a-supply property in node /soc/usb-otg@49000000 failed
[ 3.213466] dwc2 49000000.usb-otg: 49000000.usb-otg supply vusb_a not found, using dummy regulator
[ 3.222585] dwc2 49000000.usb-otg: Looking up vbus-supply from device tree
[ 3.222616] dwc2 49000000.usb-otg: Looking up vbus-supply property in node /soc/usb-otg@49000000 failed
[ 3.349264] dwc2 49000000.usb-otg: EPs: 9, dedicated fifos, 952 entries in SPRAM
[ 3.356236] dwc2 49000000.usb-otg: DWC OTG Controller
[ 3.360375] dwc2 49000000.usb-otg: new USB bus registered, assigned bus number 1
[ 3.367717] dwc2 49000000.usb-otg: irq 65, io mem 0x49000000
[ 3.373677] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[ 3.381640] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.388829] usb usb1: Product: DWC OTG Controller
[ 3.393557] usb usb1: Manufacturer: Linux 5.4.31 dwc2_hsotg
[ 3.399133] usb usb1: SerialNumber: 49000000.usb-otg
[ 3.413533] ehci-platform 5800d000.usbh-ehci: EHCI Host Controller
[ 3.418297] ehci-platform 5800d000.usbh-ehci: new USB bus registered, assigned bus number 2
[ 3.427130] ehci-platform 5800d000.usbh-ehci: irq 66, io mem 0x5800d000
[ 3.459021] ehci-platform 5800d000.usbh-ehci: USB 2.0 started, EHCI 1.00
[ 3.464715] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[ 3.472598] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.479799] usb usb2: Product: EHCI Host Controller
[ 3.484652] usb usb2: Manufacturer: Linux 5.4.31 ehci_hcd
[ 3.490080] usb usb2: SerialNumber: 5800d000.usbh-ehci
[ 3.504393] ohci-platform 5800c000.usbh-ohci: Generic Platform OHCI controller
[ 3.510271] ohci-platform 5800c000.usbh-ohci: new USB bus registered, assigned bus number 3
[ 3.519017] ohci-platform 5800c000.usbh-ohci: irq 52, io mem 0x5800c000
[ 3.593392] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.04
[ 3.600261] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.607436] usb usb3: Product: Generic Platform OHCI controller
[ 3.613388] usb usb3: Manufacturer: Linux 5.4.31 ohci_hcd
[ 3.618759] usb usb3: SerialNumber: 5800c000.usbh-ohci
[ 3.675480] fusb302 0-0022: GPIO lookup for consumer int-n
[ 3.675495] fusb302 0-0022: using device tree for GPIO lookup
[ 3.675557] of_get_named_gpiod_flags: parsed ‘int-n-gpios’ property of node ‘/soc/i2c@40012000/fusb302@22[0]’ - status (0)
[ 3.675613] fusb302 0-0022: GPIO lookup for consumer vbus-5v
[ 3.675624] fusb302 0-0022: using device tree for GPIO lookup
[ 3.675662] of_get_named_gpiod_flags: parsed ‘vbus-5v-gpios’ property of node ‘/soc/i2c@40012000/fusb302@22[0]’ - status (0)
[ 3.675712] fusb302 0-0022: GPIO lookup for consumer vbus-other
[ 3.675722] fusb302 0-0022: using device tree for GPIO lookup
[ 3.675748] of_get_named_gpiod_flags: can’t parse ‘vbus-other-gpios’ property of node ‘/soc/i2c@40012000/fusb302@22[0]’
[ 3.675772] of_get_named_gpiod_flags: can’t parse ‘vbus-other-gpio’ property of node ‘/soc/i2c@40012000/fusb302@22[0]’
[ 3.675787] fusb302 0-0022: using lookup tables for GPIO lookup
[ 3.675799] fusb302 0-0022: No GPIO consumer vbus-other found
[ 3.675810] fusb302 0-0022: GPIO lookup for consumer discharge
[ 3.675820] fusb302 0-0022: using device tree for GPIO lookup
[ 3.675843] of_get_named_gpiod_flags: can’t parse ‘discharge-gpios’ property of node ‘/soc/i2c@40012000/fusb302@22[0]’
[ 3.675865] of_get_named_gpiod_flags: can’t parse ‘discharge-gpio’ property of node ‘/soc/i2c@40012000/fusb302@22[0]’
[ 3.675879] fusb302 0-0022: using lookup tables for GPIO lookup
[ 3.675890] fusb302 0-0022: No GPIO consumer discharge found
[ 3.676239] fusb302 0-0022: Can’t get property of role, set role to default DRP
[ 3.690042] fusb302 0-0022: port 0 probe success with role ROLE_MODE_DRP, try_role ROLE_MODE_NONE
[ 4.289032] usb 3-1: new full-speed USB device number 2 using ohci-platform
[ 4.499022] usb 3-1: device descriptor read/64, error -62
[ 4.829046] usb 3-1: device descriptor read/64, error -62
[ 5.159061] usb 3-1: new full-speed USB device number 3 using ohci-platform
[ 5.369143] usb 3-1: device descriptor read/64, error -62
[ 5.699072] usb 3-1: device descriptor read/64, error -62
[ 5.819266] usb usb3-port1: attempt power cycle
[ 6.379087] usb 3-1: new full-speed USB device number 4 using ohci-platform
[ 6.819017] usb 3-1: device not accepting address 4, error -62
[ 7.029011] usb 3-1: new full-speed USB device number 5 using ohci-platform
[ 7.469102] usb 3-1: device not accepting address 5, error -62
[ 7.473746] usb usb3-port1: unable to enumerate USB device
[ 13.679764] dwc2 49000000.usb-otg: bound driver configfs-gadget
[ 14.603516] usbcore: registered new device driver usbip-host
[ 15.389104] usb 3-1: new full-speed USB device number 6 using ohci-platform
[ 15.609090] usb 3-1: device descriptor read/64, error -62
[ 15.969065] usb 3-1: device descriptor read/64, error -62
[ 16.299054] usb 3-1: new full-speed USB device number 7 using ohci-platform
[ 16.519016] usb 3-1: device descriptor read/64, error -62
[ 16.849022] usb 3-1: device descriptor read/64, error -62
[ 16.969131] usb usb3-port1: attempt power cycle
[ 17.519052] usb 3-1: new full-speed USB device number 8 using ohci-platform
[ 17.959033] usb 3-1: device not accepting address 8, error -62
[ 18.169042] usb 3-1: new full-speed USB device number 9 using ohci-platform
[ 18.609021] usb 3-1: device not accepting address 9, error -62
[ 18.613536] usb usb3-port1: unable to enumerate USB device
[root@100ask:~]#