I'm having trouble getting USB working on petalinux 2016.2. I am using a picozed 7020 connected to the FMC Carrier Card V2. I followed the main USB driver wiki article (http://www.wiki.xilinx.com/Zynq+Linux+USB+Device+Driver) and many posts here on the forum, but I still cannot get it working. Petalinux does not recognize when a USB flash drive is connected and the USB 5V supply is never turned on.
Currently I have the following USB drivers enabled;
Device Drivers
USB support
<*> Support for Host-side USB
<*> EHCI HCD (USB 2.0) support
<*> USB Mass Storage support
<*> ChipIdea Highspeed Dual Role Controller
<*> ChipIdea host controller
USB Physical Layer drivers --->
<*> Generic ULPI Transceiver Driver
Inside of the device tree, I added the following to system-top.dts;
/{ usb_phy0:phy0 { compatible="usb-nop-xceiv"; #phy-cells = <0>; reg = <0xe0002000 0x1000>; view-port=<0x170>; drv-vbus; }; }; &usb0 { status = "okay"; dr_mode = "host"; usb-phy = <&usb_phy0>; };
Any help would be greatly appreciated. I can provide additional information if needed.