qcom,usb-hs-phy.txt 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. Qualcomm's USB HS PHY
  2. PROPERTIES
  3. - compatible:
  4. Usage: required
  5. Value type: <string>
  6. Definition: Should contain "qcom,usb-hs-phy" and more specifically one of the
  7. following:
  8. "qcom,usb-hs-phy-apq8064"
  9. "qcom,usb-hs-phy-msm8916"
  10. "qcom,usb-hs-phy-msm8974"
  11. - #phy-cells:
  12. Usage: required
  13. Value type: <u32>
  14. Definition: Should contain 0
  15. - clocks:
  16. Usage: required
  17. Value type: <prop-encoded-array>
  18. Definition: Should contain clock specifier for the reference and sleep
  19. clocks
  20. - clock-names:
  21. Usage: required
  22. Value type: <stringlist>
  23. Definition: Should contain "ref" and "sleep" for the reference and sleep
  24. clocks respectively
  25. - resets:
  26. Usage: required
  27. Value type: <prop-encoded-array>
  28. Definition: Should contain the phy and POR resets
  29. - reset-names:
  30. Usage: required
  31. Value type: <stringlist>
  32. Definition: Should contain "phy" and "por" for the phy and POR resets
  33. respectively
  34. - v3p3-supply:
  35. Usage: required
  36. Value type: <phandle>
  37. Definition: Should contain a reference to the 3.3V supply
  38. - v1p8-supply:
  39. Usage: required
  40. Value type: <phandle>
  41. Definition: Should contain a reference to the 1.8V supply
  42. - extcon:
  43. Usage: optional
  44. Value type: <prop-encoded-array>
  45. Definition: Should contain the vbus extcon
  46. - qcom,init-seq:
  47. Usage: optional
  48. Value type: <u8 array>
  49. Definition: Should contain a sequence of ULPI address and value pairs to
  50. program into the ULPI_EXT_VENDOR_SPECIFIC area. This is related
  51. to Device Mode Eye Diagram test. The addresses are offsets
  52. from the ULPI_EXT_VENDOR_SPECIFIC address, for example,
  53. <0x1 0x53> would mean "write the value 0x53 to address 0x81".
  54. EXAMPLE
  55. otg: usb-controller {
  56. ulpi {
  57. phy {
  58. compatible = "qcom,usb-hs-phy-msm8974", "qcom,usb-hs-phy";
  59. #phy-cells = <0>;
  60. clocks = <&xo_board>, <&gcc GCC_USB2A_PHY_SLEEP_CLK>;
  61. clock-names = "ref", "sleep";
  62. resets = <&gcc GCC_USB2A_PHY_BCR>, <&otg 0>;
  63. reset-names = "phy", "por";
  64. v3p3-supply = <&pm8941_l24>;
  65. v1p8-supply = <&pm8941_l6>;
  66. extcon = <&smbb>;
  67. qcom,init-seq = /bits/ 8 <0x1 0x63>;
  68. };
  69. };
  70. };