On Fri, Aug 6, 2021 at 12:39 PM Harald Seiler <h...@denx.de> wrote: > > Hi, > > On Fri, 2021-08-06 at 13:54 +0300, Matwey V. Kornilov wrote: > > Hello, > > > > I've found that the following commit breaks USB on BeagleBone Black > > board (am335x based): > > > > commit 942853dd96df5de1c0a2a61c877c1cf1c24f1e91 > > Author: Paul Barker <paul.bar...@sancloud.com> > > Date: Mon Jul 12 21:14:09 2021 +0100 > > > > arm: dts: Resync BeagleBone device trees > > > > > > When commit is applied then I see the following: > > > > starting USB... > > No working controllers found > > USB is stopped. Please issue 'usb start' first. > > starting USB... > > No working controllers found > > > > Before the commit USB was working as expected: > > > > starting USB... > > Bus usb@47401800: scanning bus usb@47401800 for devices... 1 USB Device(s) > > found > > scanning usb for storage devices... 1 Storage Device(s) found > > > > Device 0: Vendor: Rev: PMAP Prod: USB DISK Pro > > Type: Removable Hard Disk > > Capacity: 7381.2 MB = 7.2 GB (15116736 x 512) > > ... is now current device > > It looks the the arch/arm/dts/am33xx.dtsi file is out of sync with > Linux, leading to this regression. In the current U-Boot version, it > has > > status = "disabled"; > > lines for e.g. usb0 while in Linux mainline, those are missing. As the > commit you found by bisecting drops the > > status = "okay"; > > lines from arch/arm/dts/am335x-bone-common.dtsi, the device now are no > longer enabled. Maybe try syncing am33xx.dtsi as well to check if it > helps?
It's usual for peripheral devices to be disabled in the SoC .dtsi file, those that are actively used by devices are supposed to enable them in the device .dts so I would expect to see the appropriate bit enabling it in the device .dts.