qcom,usb-8x16-phy.txt 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. Qualcomm's APQ8016/MSM8916 USB transceiver controller
  2. - compatible:
  3. Usage: required
  4. Value type: <string>
  5. Definition: Should contain "qcom,usb-8x16-phy".
  6. - reg:
  7. Usage: required
  8. Value type: <prop-encoded-array>
  9. Definition: USB PHY base address and length of the register map
  10. - clocks:
  11. Usage: required
  12. Value type: <prop-encoded-array>
  13. Definition: See clock-bindings.txt section "consumers". List of
  14. two clock specifiers for interface and core controller
  15. clocks.
  16. - clock-names:
  17. Usage: required
  18. Value type: <string>
  19. Definition: Must contain "iface" and "core" strings.
  20. - vddcx-supply:
  21. Usage: required
  22. Value type: <phandle>
  23. Definition: phandle to the regulator VDCCX supply node.
  24. - v1p8-supply:
  25. Usage: required
  26. Value type: <phandle>
  27. Definition: phandle to the regulator 1.8V supply node.
  28. - v3p3-supply:
  29. Usage: required
  30. Value type: <phandle>
  31. Definition: phandle to the regulator 3.3V supply node.
  32. - resets:
  33. Usage: required
  34. Value type: <prop-encoded-array>
  35. Definition: See reset.txt section "consumers". PHY reset specifier.
  36. - reset-names:
  37. Usage: required
  38. Value type: <string>
  39. Definition: Must contain "phy" string.
  40. - switch-gpio:
  41. Usage: optional
  42. Value type: <prop-encoded-array>
  43. Definition: Some boards are using Dual SPDT USB Switch, witch is
  44. controlled by GPIO to de/multiplex D+/D- USB lines
  45. between connectors.
  46. Example:
  47. usb_phy: phy@78d9000 {
  48. compatible = "qcom,usb-8x16-phy";
  49. reg = <0x78d9000 0x400>;
  50. vddcx-supply = <&pm8916_s1_corner>;
  51. v1p8-supply = <&pm8916_l7>;
  52. v3p3-supply = <&pm8916_l13>;
  53. clocks = <&gcc GCC_USB_HS_AHB_CLK>,
  54. <&gcc GCC_USB_HS_SYSTEM_CLK>;
  55. clock-names = "iface", "core";
  56. resets = <&gcc GCC_USB2A_PHY_BCR>;
  57. reset-names = "phy";
  58. // D+/D- lines: 1 - Routed to HUB, 0 - Device connector
  59. switch-gpio = <&pm8916_gpios 4 GPIO_ACTIVE_HIGH>;
  60. };