renesas,usb3-phy.yaml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/phy/renesas,usb3-phy.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Renesas R-Car generation 3 USB 3.0 PHY
  7. maintainers:
  8. - Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
  9. properties:
  10. compatible:
  11. items:
  12. - enum:
  13. - renesas,r8a774a1-usb3-phy # RZ/G2M
  14. - renesas,r8a774b1-usb3-phy # RZ/G2N
  15. - renesas,r8a774e1-usb3-phy # RZ/G2H
  16. - renesas,r8a7795-usb3-phy # R-Car H3
  17. - renesas,r8a7796-usb3-phy # R-Car M3-W
  18. - renesas,r8a77961-usb3-phy # R-Car M3-W+
  19. - renesas,r8a77965-usb3-phy # R-Car M3-N
  20. - const: renesas,rcar-gen3-usb3-phy
  21. reg:
  22. maxItems: 1
  23. clocks:
  24. minItems: 2
  25. maxItems: 3
  26. clock-names:
  27. # If you want to use the ssc, the clock-frequency of usb_extal
  28. # must not be 0.
  29. minItems: 2
  30. items:
  31. - const: usb3-if # The functional clock
  32. - const: usb3s_clk # The usb3's external clock
  33. - const: usb_extal # The usb2's external clock
  34. '#phy-cells':
  35. # see phy-bindings.txt in the same directory
  36. const: 0
  37. power-domains:
  38. maxItems: 1
  39. resets:
  40. maxItems: 1
  41. renesas,ssc-range:
  42. description: |
  43. Enable/disable spread spectrum clock (ssc). 0 or the property doesn't
  44. exist means disabling the ssc. The actual value will be -<value> ppm.
  45. $ref: /schemas/types.yaml#/definitions/uint32
  46. enum: [ 0, 4003, 4492, 4980 ]
  47. required:
  48. - compatible
  49. - reg
  50. - clocks
  51. - clock-names
  52. - '#phy-cells'
  53. additionalProperties: false
  54. examples:
  55. - |
  56. #include <dt-bindings/clock/r8a7795-cpg-mssr.h>
  57. #include <dt-bindings/power/r8a7795-sysc.h>
  58. usb-phy@e65ee000 {
  59. compatible = "renesas,r8a7795-usb3-phy", "renesas,rcar-gen3-usb3-phy";
  60. reg = <0xe65ee000 0x90>;
  61. clocks = <&cpg CPG_MOD 328>, <&usb3s0_clk>, <&usb_extal>;
  62. clock-names = "usb3-if", "usb3s_clk", "usb_extal";
  63. #phy-cells = <0>;
  64. };