qcom-usb-ipq4019-phy.yaml 973 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/phy/qcom-usb-ipq4019-phy.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Qualcom IPQ40xx Dakota HS/SS USB PHY
  7. maintainers:
  8. - Robert Marko <robert.marko@sartura.hr>
  9. properties:
  10. compatible:
  11. enum:
  12. - qcom,usb-ss-ipq4019-phy
  13. - qcom,usb-hs-ipq4019-phy
  14. reg:
  15. maxItems: 1
  16. resets:
  17. maxItems: 2
  18. reset-names:
  19. items:
  20. - const: por_rst
  21. - const: srif_rst
  22. "#phy-cells":
  23. const: 0
  24. required:
  25. - compatible
  26. - reg
  27. - resets
  28. - reset-names
  29. - "#phy-cells"
  30. additionalProperties: false
  31. examples:
  32. - |
  33. #include <dt-bindings/clock/qcom,gcc-ipq4019.h>
  34. hsphy@a8000 {
  35. #phy-cells = <0>;
  36. compatible = "qcom,usb-hs-ipq4019-phy";
  37. reg = <0xa8000 0x40>;
  38. resets = <&gcc USB2_HSPHY_POR_ARES>,
  39. <&gcc USB2_HSPHY_S_ARES>;
  40. reset-names = "por_rst", "srif_rst";
  41. };