usb-hcd.yaml 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. # SPDX-License-Identifier: GPL-2.0
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/usb/usb-hcd.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Generic USB Host Controller
  7. maintainers:
  8. - Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  9. allOf:
  10. - $ref: usb.yaml#
  11. properties:
  12. companion:
  13. description: Phandle of a companion device
  14. $ref: /schemas/types.yaml#/definitions/phandle
  15. tpl-support:
  16. description:
  17. Indicates if the Targeted Peripheral List is supported for given
  18. targeted hosts (non-PC hosts).
  19. type: boolean
  20. "#address-cells":
  21. const: 1
  22. "#size-cells":
  23. const: 0
  24. patternProperties:
  25. "^.*@[0-9a-f]{1,2}$":
  26. description: The hard wired USB devices
  27. type: object
  28. $ref: /schemas/usb/usb-device.yaml
  29. additionalProperties: true
  30. examples:
  31. - |
  32. usb {
  33. phys = <&usb2_phy1>, <&usb3_phy1>;
  34. phy-names = "usb2", "usb3";
  35. #address-cells = <1>;
  36. #size-cells = <0>;
  37. hub@1 {
  38. compatible = "usb5e3,610";
  39. reg = <1>;
  40. };
  41. };