fsl,imx8mq-usb-phy.yaml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/phy/fsl,imx8mq-usb-phy.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Freescale i.MX8MQ USB3 PHY
  7. maintainers:
  8. - Li Jun <jun.li@nxp.com>
  9. properties:
  10. compatible:
  11. enum:
  12. - fsl,imx8mq-usb-phy
  13. - fsl,imx8mp-usb-phy
  14. reg:
  15. maxItems: 1
  16. "#phy-cells":
  17. const: 0
  18. clocks:
  19. maxItems: 1
  20. clock-names:
  21. items:
  22. - const: phy
  23. power-domains:
  24. maxItems: 1
  25. vbus-supply:
  26. description:
  27. A phandle to the regulator for USB VBUS.
  28. fsl,phy-tx-vref-tune-percent:
  29. description:
  30. Tunes the HS DC level relative to the nominal level
  31. minimum: 94
  32. maximum: 124
  33. fsl,phy-tx-rise-tune-percent:
  34. description:
  35. Adjusts the rise/fall time duration of the HS waveform relative to
  36. its nominal value
  37. minimum: 97
  38. maximum: 103
  39. fsl,phy-tx-preemp-amp-tune-microamp:
  40. description:
  41. Adjust amount of current sourced to DPn and DMn after a J-to-K
  42. or K-to-J transition. Default is 0 (disabled).
  43. minimum: 0
  44. maximum: 1800
  45. fsl,phy-tx-vboost-level-microvolt:
  46. description:
  47. Adjust the boosted transmit launch pk-pk differential amplitude
  48. enum: [844, 1008, 1156]
  49. fsl,phy-comp-dis-tune-percent:
  50. description:
  51. Adjust the voltage level used to detect a disconnect event at the host
  52. relative to the nominal value
  53. minimum: 91
  54. maximum: 115
  55. fsl,phy-pcs-tx-deemph-3p5db-attenuation-db:
  56. description:
  57. Adjust TX de-emphasis attenuation in dB at nominal
  58. 3.5dB point as per USB specification
  59. $ref: /schemas/types.yaml#/definitions/uint32
  60. minimum: 0
  61. maximum: 36
  62. fsl,phy-pcs-tx-swing-full-percent:
  63. description:
  64. Scaling of the voltage defined by fsl,phy-tx-vboost-level-microvolt
  65. minimum: 0
  66. maximum: 100
  67. required:
  68. - compatible
  69. - reg
  70. - "#phy-cells"
  71. - clocks
  72. - clock-names
  73. additionalProperties: false
  74. examples:
  75. - |
  76. #include <dt-bindings/clock/imx8mq-clock.h>
  77. usb3_phy0: phy@381f0040 {
  78. compatible = "fsl,imx8mq-usb-phy";
  79. reg = <0x381f0040 0x40>;
  80. clocks = <&clk IMX8MQ_CLK_USB1_PHY_ROOT>;
  81. clock-names = "phy";
  82. #phy-cells = <0>;
  83. };