usb.yaml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. # SPDX-License-Identifier: GPL-2.0
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/usb/usb.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Generic USB Controller
  7. maintainers:
  8. - Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  9. select: false
  10. properties:
  11. $nodename:
  12. pattern: "^usb(@.*)?"
  13. phys:
  14. description:
  15. List of all the USB PHYs on this HCD
  16. phy-names:
  17. description:
  18. Name specifier for the USB PHY
  19. usb-phy:
  20. $ref: /schemas/types.yaml#/definitions/phandle-array
  21. items:
  22. maxItems: 1
  23. description:
  24. List of all the USB PHYs on this HCD to be accepted by the legacy USB
  25. Physical Layer subsystem.
  26. deprecated: true
  27. phy_type:
  28. description:
  29. Tells USB controllers that we want to configure the core to support a
  30. UTMI+ PHY with an 8- or 16-bit interface if UTMI+ is selected, UTMI+ low
  31. pin interface if ULPI is specified, Serial core/PHY interconnect if
  32. serial is specified and High-Speed Inter-Chip feature if HSIC is
  33. selected. In case this isn't passed via DT, USB controllers should
  34. default to HW capability.
  35. $ref: /schemas/types.yaml#/definitions/string
  36. enum: [utmi, utmi_wide, ulpi, serial, hsic]
  37. maximum-speed:
  38. description:
  39. Tells USB controllers we want to work up to a certain speed. In case this
  40. isn't passed via DT, USB controllers should default to their maximum HW
  41. capability.
  42. $ref: /schemas/types.yaml#/definitions/string
  43. enum:
  44. - low-speed
  45. - full-speed
  46. - high-speed
  47. - super-speed
  48. - super-speed-plus
  49. - super-speed-plus-gen2x1
  50. - super-speed-plus-gen1x2
  51. - super-speed-plus-gen2x2
  52. additionalProperties: true
  53. ...