Jump to content

Roman555

Members
  • Posts

    8
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Roman555 reacted to Gunjan Gupta in microUSB won't work "out of the box" as USB Host in BananaPi M2 Berry   
    Easier method: create an device tree overlay and use the same.
     
    /dts-v1/; /plugin/; &{/soc} { ehci0: usb@1c14000 { compatible = "allwinner,sun8i-r40-ehci", "generic-ehci"; reg = <0x01c14000 0x100>; interrupts = <0x00 0x27 0x04>; clocks = <&ccu 0x2f>; resets = <&ccu 0x17>; phys = <&usbphy 0>; phy-names = "usb"; status = "okay"; }; ohci0: usb@1c14400 { compatible = "allwinner,sun8i-r40-ohci", "generic-ohci"; reg = <0x01c14400 0x100>; interrupts = <0x00 0x28 0x04>; clocks = <&ccu 0x32>, <&ccu 0x7f>; phys = <&usbphy 0>; phy-names = "usb"; status = "okay"; }; };  
    Assuming I didn't left any syntax errors in the above overlay, you should be able to create a dts file with the above content and then use "sudo armbian-add-overlay <dts-filename>" to enable the same
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines