usb-nop-xceiv.txt 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. USB NOP PHY
  2. Required properties:
  3. - compatible: should be usb-nop-xceiv
  4. Optional properties:
  5. - clocks: phandle to the PHY clock. Use as per Documentation/devicetree
  6. /bindings/clock/clock-bindings.txt
  7. This property is required if clock-frequency is specified.
  8. - clock-names: Should be "main_clk"
  9. - clock-frequency: the clock frequency (in Hz) that the PHY clock must
  10. be configured to.
  11. - vcc-supply: phandle to the regulator that provides power to the PHY.
  12. - reset-gpios: Should specify the GPIO for reset.
  13. - vbus-detect-gpio: should specify the GPIO detecting a VBus insertion
  14. (see Documentation/devicetree/bindings/gpio/gpio.txt)
  15. - vbus-regulator : should specifiy the regulator supplying current drawn from
  16. the VBus line (see Documentation/devicetree/bindings/regulator/regulator.txt).
  17. Example:
  18. hsusb1_phy {
  19. compatible = "usb-nop-xceiv";
  20. clock-frequency = <19200000>;
  21. clocks = <&osc 0>;
  22. clock-names = "main_clk";
  23. vcc-supply = <&hsusb1_vcc_regulator>;
  24. reset-gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
  25. vbus-detect-gpio = <&gpio2 13 GPIO_ACTIVE_HIGH>;
  26. vbus-regulator = <&vbus_regulator>;
  27. };
  28. hsusb1_phy is a NOP USB PHY device that gets its clock from an oscillator
  29. and expects that clock to be configured to 19.2MHz by the NOP PHY driver.
  30. hsusb1_vcc_regulator provides power to the PHY and GPIO 7 controls RESET.
  31. GPIO 13 detects VBus insertion, and accordingly notifies the vbus-regulator.