qcom,ipq5332-usb-hsphy.yaml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/phy/qcom,ipq5332-usb-hsphy.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: M31 USB PHY
  7. maintainers:
  8. - Sricharan Ramabadhran <quic_srichara@quicinc.com>
  9. - Varadarajan Narayanan <quic_varada@quicinc.com>
  10. description:
  11. USB M31 PHY (https://www.m31tech.com) found in Qualcomm
  12. IPQ5018, IPQ5332 SoCs.
  13. properties:
  14. compatible:
  15. items:
  16. - enum:
  17. - qcom,ipq5018-usb-hsphy
  18. - qcom,ipq5332-usb-hsphy
  19. "#phy-cells":
  20. const: 0
  21. reg:
  22. maxItems: 1
  23. clocks:
  24. maxItems: 1
  25. clock-names:
  26. items:
  27. - const: cfg_ahb
  28. resets:
  29. maxItems: 1
  30. vdd-supply:
  31. description:
  32. Phandle to 5V regulator supply to PHY digital circuit.
  33. additionalProperties: false
  34. examples:
  35. - |
  36. #include <dt-bindings/clock/qcom,ipq5332-gcc.h>
  37. usb-phy@7b000 {
  38. compatible = "qcom,ipq5332-usb-hsphy";
  39. reg = <0x0007b000 0x12c>;
  40. clocks = <&gcc GCC_USB0_PHY_CFG_AHB_CLK>;
  41. clock-names = "cfg_ahb";
  42. #phy-cells = <0>;
  43. resets = <&gcc GCC_QUSB2_0_PHY_BCR>;
  44. vdd-supply = <&regulator_fixed_5p0>;
  45. };