• 0

USB OTG not enabled in Petalinux 2015.4


Go to solution Solved by Saad Zia,

Question

2 answers to this question

Recommended Posts

  • 0
  • Solution

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 post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now