rcar-gen3-phy-usb3.txt 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. * Renesas R-Car generation 3 USB 3.0 PHY
  2. This file provides information on what the device node for the R-Car generation
  3. 3 USB 3.0 PHY contains.
  4. If you want to enable spread spectrum clock (ssc), you should use USB_EXTAL
  5. instead of USB3_CLK. However, if you don't want to these features, you don't
  6. need this driver.
  7. Required properties:
  8. - compatible: "renesas,r8a7795-usb3-phy" if the device is a part of an R8A7795
  9. SoC.
  10. "renesas,r8a7796-usb3-phy" if the device is a part of an R8A7796
  11. SoC.
  12. "renesas,r8a77965-usb3-phy" if the device is a part of an
  13. R8A77965 SoC.
  14. "renesas,rcar-gen3-usb3-phy" for a generic R-Car Gen3 compatible
  15. device.
  16. When compatible with the generic version, nodes must list the
  17. SoC-specific version corresponding to the platform first
  18. followed by the generic version.
  19. - reg: offset and length of the USB 3.0 PHY register block.
  20. - clocks: A list of phandles and clock-specifier pairs.
  21. - clock-names: Name of the clocks.
  22. - The funcional clock must be "usb3-if".
  23. - The usb3's external clock must be "usb3s_clk".
  24. - The usb2's external clock must be "usb_extal". If you want to use the ssc,
  25. the clock-frequency must not be 0.
  26. - #phy-cells: see phy-bindings.txt in the same directory, must be <0>.
  27. Optional properties:
  28. - renesas,ssc-range: Enable/disable spread spectrum clock (ssc) by using
  29. the following values as u32:
  30. - 0 (or the property doesn't exist): disable the ssc
  31. - 4980: enable the ssc as -4980 ppm
  32. - 4492: enable the ssc as -4492 ppm
  33. - 4003: enable the ssc as -4003 ppm
  34. Example (R-Car H3):
  35. usb-phy@e65ee000 {
  36. compatible = "renesas,r8a7795-usb3-phy",
  37. "renesas,rcar-gen3-usb3-phy";
  38. reg = <0 0xe65ee000 0 0x90>;
  39. clocks = <&cpg CPG_MOD 328>, <&usb3s0_clk>, <&usb_extal>;
  40. clock-names = "usb3-if", "usb3s_clk", "usb_extal";
  41. };