ingenic,phy-usb.yaml 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/phy/ingenic,phy-usb.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Ingenic SoCs USB PHY
  7. maintainers:
  8. - Paul Cercueil <paul@crapouillou.net>
  9. - 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
  10. properties:
  11. $nodename:
  12. pattern: '^usb-phy@.*'
  13. compatible:
  14. enum:
  15. - ingenic,jz4770-phy
  16. - ingenic,jz4775-phy
  17. - ingenic,jz4780-phy
  18. - ingenic,x1000-phy
  19. - ingenic,x1830-phy
  20. - ingenic,x2000-phy
  21. reg:
  22. maxItems: 1
  23. clocks:
  24. maxItems: 1
  25. vcc-supply:
  26. description: VCC power supply
  27. '#phy-cells':
  28. const: 0
  29. required:
  30. - compatible
  31. - reg
  32. - clocks
  33. - vcc-supply
  34. - '#phy-cells'
  35. additionalProperties: false
  36. examples:
  37. - |
  38. #include <dt-bindings/clock/ingenic,jz4770-cgu.h>
  39. otg_phy: usb-phy@3c {
  40. compatible = "ingenic,jz4770-phy";
  41. reg = <0x3c 0x10>;
  42. vcc-supply = <&vcc>;
  43. clocks = <&cgu JZ4770_CLK_OTG_PHY>;
  44. #phy-cells = <0>;
  45. };