cancel
Showing results for 
Search instead for 
Did you mean: 
Voyager
Voyager
1,548 Views
Registered: ‎09-14-2016

Zynq and USB3320

Hello

 

Thank you all for reading and taking the time to answer.

 

We have a custom board based on Zynq 7030. We would like to use both USB with the following configuration:

 

USB0 -> Device mode in order to do some remote control

USB1 -> Host to be able to read write on USB key

 

So far so good :) We use two USB3320.

 

Device-tree configration :

 

/* USB PHY DEVICE */
usb_phy0: phy0 {
  compatible = "usb-nop-xceiv";
  #phy-cells = <0>;
  reset-gpios = <&gpio0 52 1>;
};

 

 

/* USB PHY HOST */
usb_phy1: phy1 {
  compatible = "ulpi-phy";
  #phy-cells = <0>;
  reset-gpios = <&gpio0 53 1>;
  reg = <0xe0002000 0x1000>;
  view-port = <0x170>;
  drv-vbus;
};

 

&usb0 {
status = "okay";
dr_mode = "peripheral";
usb-phy = <&usb_phy0>;
};

&usb1 {
status = "okay";
dr_mode = "host";
usb-phy = <&usb_phy1>;
};

 

Everything seems ok but USB3320 drives the Vbus power line and we have already damaged one USB port on our computer ( R.I.P o.0)

 

If someone here has any idea or suggestion feel free to share :)

 

Regards,

Trigger

0 Kudos