Jump to content
  • 0

USB OTG not enabled in Petalinux 2015.4


Saad Zia

Question

2 answers to this question

Recommended Posts

Got the solution, it is as follows: 

update the device tree (system-top.dts) file to add the following entry:

/{

    usb_phy0:phy0 {

        compatible="ulpi-phy";

        #phy-cells = <0>;

       reg = <0xe0002000 0x1000>;

       view-port=<0x170>;

       drv-vbus;

    };

};

 

 

&usb0 {

        status = "okay";

        dr_mode = "host";

        usb-phy = <&usb_phy0>;

} ;

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...