generic.txt 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. Generic USB Properties
  2. Optional properties:
  3. - maximum-speed: tells USB controllers we want to work up to a certain
  4. speed. Valid arguments are "super-speed-plus",
  5. "super-speed", "high-speed", "full-speed" and
  6. "low-speed". In case this isn't passed via DT, USB
  7. controllers should default to their maximum HW
  8. capability.
  9. - dr_mode: tells Dual-Role USB controllers that we want to work on a
  10. particular mode. Valid arguments are "host",
  11. "peripheral" and "otg". In case this attribute isn't
  12. passed via DT, USB DRD controllers should default to
  13. OTG.
  14. - phy_type: tells USB controllers that we want to configure the core to support
  15. a UTMI+ PHY with an 8- or 16-bit interface if UTMI+ is
  16. selected. Valid arguments are "utmi" and "utmi_wide".
  17. In case this isn't passed via DT, USB controllers should
  18. default to HW capability.
  19. This is an attribute to a USB controller such as:
  20. dwc3@4a030000 {
  21. compatible = "synopsys,dwc3";
  22. reg = <0x4a030000 0xcfff>;
  23. interrupts = <0 92 4>
  24. usb-phy = <&usb2_phy>, <&usb3,phy>;
  25. maximum-speed = "super-speed";
  26. dr_mode = "otg";
  27. phy_type = "utmi_wide";
  28. };