ti,omap-usb2.yaml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/phy/ti,omap-usb2.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: OMAP USB2 PHY
  7. maintainers:
  8. - Kishon Vijay Abraham I <kishon@ti.com>
  9. - Roger Quadros <rogerq@kernel.org>
  10. properties:
  11. compatible:
  12. oneOf:
  13. - items:
  14. - enum:
  15. - ti,dra7x-usb2
  16. - ti,dra7x-usb2-phy2
  17. - ti,am654-usb2
  18. - enum:
  19. - ti,omap-usb2
  20. - items:
  21. - const: ti,am437x-usb2
  22. - items:
  23. - const: ti,omap-usb2
  24. reg:
  25. maxItems: 1
  26. "#phy-cells":
  27. const: 0
  28. clocks:
  29. minItems: 1
  30. items:
  31. - description: wakeup clock
  32. - description: reference clock
  33. clock-names:
  34. minItems: 1
  35. items:
  36. - const: wkupclk
  37. - const: refclk
  38. syscon-phy-power:
  39. $ref: /schemas/types.yaml#/definitions/phandle-array
  40. items:
  41. - items:
  42. - description: phandle to the system control module
  43. - description: register offset to power on/off the PHY
  44. description:
  45. phandle/offset pair. Phandle to the system control module and
  46. register offset to power on/off the PHY.
  47. ctrl-module:
  48. $ref: /schemas/types.yaml#/definitions/phandle
  49. description:
  50. (deprecated) phandle of the control module used by PHY driver
  51. to power on the PHY. Use syscon-phy-power instead.
  52. required:
  53. - compatible
  54. - reg
  55. - "#phy-cells"
  56. - clocks
  57. - clock-names
  58. additionalProperties: false
  59. examples:
  60. - |
  61. usb0_phy: phy@4100000 {
  62. compatible = "ti,am654-usb2", "ti,omap-usb2";
  63. reg = <0x4100000 0x54>;
  64. syscon-phy-power = <&scm_conf 0x4000>;
  65. clocks = <&k3_clks 151 0>, <&k3_clks 151 1>;
  66. clock-names = "wkupclk", "refclk";
  67. #phy-cells = <0>;
  68. };