amlogic,meson8b-usb2-phy.yaml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/phy/amlogic,meson8b-usb2-phy.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Amlogic Meson8, Meson8b, Meson8m2 and GXBB USB2 PHY
  7. maintainers:
  8. - Martin Blumenstingl <martin.blumenstingl@googlemail.com>
  9. properties:
  10. compatible:
  11. oneOf:
  12. - items:
  13. - enum:
  14. - amlogic,meson8-usb2-phy
  15. - amlogic,meson8b-usb2-phy
  16. - amlogic,meson8m2-usb2-phy
  17. - const: amlogic,meson-mx-usb2-phy
  18. - const: amlogic,meson-gxbb-usb2-phy
  19. reg:
  20. maxItems: 1
  21. clocks:
  22. minItems: 2
  23. clock-names:
  24. items:
  25. - const: usb_general
  26. - const: usb
  27. resets:
  28. minItems: 1
  29. "#phy-cells":
  30. const: 0
  31. phy-supply:
  32. description:
  33. Phandle to a regulator that provides power to the PHY. This
  34. regulator will be managed during the PHY power on/off sequence.
  35. required:
  36. - compatible
  37. - reg
  38. - clocks
  39. - clock-names
  40. - "#phy-cells"
  41. additionalProperties: false
  42. examples:
  43. - |
  44. usb-phy@c0000000 {
  45. compatible = "amlogic,meson-gxbb-usb2-phy";
  46. reg = <0xc0000000 0x20>;
  47. resets = <&reset_usb_phy>;
  48. clocks = <&clk_usb_general>, <&reset_usb>;
  49. clock-names = "usb_general", "usb";
  50. phy-supply = <&usb_vbus>;
  51. #phy-cells = <0>;
  52. };