renesas,rzg2l-usbphy-ctrl.yaml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/reset/renesas,rzg2l-usbphy-ctrl.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Renesas RZ/{G2L,V2L} USBPHY Control
  7. maintainers:
  8. - Biju Das <biju.das.jz@bp.renesas.com>
  9. description:
  10. The RZ/G2L USBPHY Control mainly controls reset and power down of the
  11. USB/PHY.
  12. properties:
  13. compatible:
  14. items:
  15. - enum:
  16. - renesas,r9a07g043-usbphy-ctrl # RZ/G2UL and RZ/Five
  17. - renesas,r9a07g044-usbphy-ctrl # RZ/G2{L,LC}
  18. - renesas,r9a07g054-usbphy-ctrl # RZ/V2L
  19. - const: renesas,rzg2l-usbphy-ctrl
  20. reg:
  21. maxItems: 1
  22. clocks:
  23. maxItems: 1
  24. resets:
  25. maxItems: 1
  26. power-domains:
  27. maxItems: 1
  28. '#reset-cells':
  29. const: 1
  30. description: |
  31. The phandle's argument in the reset specifier is the PHY reset associated
  32. with the USB port.
  33. 0 = Port 1 Phy reset
  34. 1 = Port 2 Phy reset
  35. regulator-vbus:
  36. type: object
  37. description: USB VBUS regulator
  38. $ref: /schemas/regulator/regulator.yaml#
  39. unevaluatedProperties: false
  40. required:
  41. - compatible
  42. - reg
  43. - clocks
  44. - resets
  45. - power-domains
  46. - '#reset-cells'
  47. - regulator-vbus
  48. additionalProperties: false
  49. examples:
  50. - |
  51. #include <dt-bindings/clock/r9a07g044-cpg.h>
  52. phyrst: usbphy-ctrl@11c40000 {
  53. compatible = "renesas,r9a07g044-usbphy-ctrl",
  54. "renesas,rzg2l-usbphy-ctrl";
  55. reg = <0x11c40000 0x10000>;
  56. clocks = <&cpg CPG_MOD R9A07G044_USB_PCLK>;
  57. resets = <&cpg R9A07G044_USB_PRESETN>;
  58. power-domains = <&cpg>;
  59. #reset-cells = <1>;
  60. regulator-vbus {
  61. regulator-name = "vbus";
  62. };
  63. };