qcom,eud.yaml 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/soc/qcom/qcom,eud.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Qualcomm Embedded USB Debugger
  7. maintainers:
  8. - Souradeep Chowdhury <quic_schowdhu@quicinc.com>
  9. description:
  10. This binding is used to describe the Qualcomm Embedded USB Debugger, which is
  11. mini USB-hub implemented on chip to support USB-based debug capabilities.
  12. properties:
  13. compatible:
  14. items:
  15. - enum:
  16. - qcom,sc7280-eud
  17. - const: qcom,eud
  18. reg:
  19. items:
  20. - description: EUD Base Register Region
  21. - description: EUD Mode Manager Register
  22. interrupts:
  23. description: EUD interrupt
  24. maxItems: 1
  25. ports:
  26. $ref: /schemas/graph.yaml#/properties/ports
  27. description:
  28. These ports is to be attached to the endpoint of the DWC3 controller node
  29. and type C connector node. The controller has the "usb-role-switch"
  30. property.
  31. properties:
  32. port@0:
  33. $ref: /schemas/graph.yaml#/properties/port
  34. description: This port is to be attached to the DWC3 controller.
  35. port@1:
  36. $ref: /schemas/graph.yaml#/properties/port
  37. description: This port is to be attached to the type C connector.
  38. required:
  39. - compatible
  40. - reg
  41. - ports
  42. additionalProperties: false
  43. examples:
  44. - |
  45. eud@88e0000 {
  46. compatible = "qcom,sc7280-eud", "qcom,eud";
  47. reg = <0x88e0000 0x2000>,
  48. <0x88e2000 0x1000>;
  49. ports {
  50. #address-cells = <1>;
  51. #size-cells = <0>;
  52. port@0 {
  53. reg = <0>;
  54. eud_ep: endpoint {
  55. remote-endpoint = <&usb2_role_switch>;
  56. };
  57. };
  58. port@1 {
  59. reg = <1>;
  60. eud_con: endpoint {
  61. remote-endpoint = <&con_eud>;
  62. };
  63. };
  64. };
  65. };