nuvoton,ma35d1-usb2-phy.yaml 892 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/phy/nuvoton,ma35d1-usb2-phy.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Nuvoton MA35D1 USB2 phy
  7. maintainers:
  8. - Hui-Ping Chen <hpchen0nvt@gmail.com>
  9. properties:
  10. compatible:
  11. enum:
  12. - nuvoton,ma35d1-usb2-phy
  13. "#phy-cells":
  14. const: 0
  15. clocks:
  16. maxItems: 1
  17. nuvoton,sys:
  18. $ref: /schemas/types.yaml#/definitions/phandle
  19. description:
  20. phandle to syscon for checking the PHY clock status.
  21. required:
  22. - compatible
  23. - "#phy-cells"
  24. - clocks
  25. - nuvoton,sys
  26. additionalProperties: false
  27. examples:
  28. - |
  29. #include <dt-bindings/clock/nuvoton,ma35d1-clk.h>
  30. usb_phy: usb-phy {
  31. compatible = "nuvoton,ma35d1-usb2-phy";
  32. clocks = <&clk USBD_GATE>;
  33. nuvoton,sys = <&sys>;
  34. #phy-cells = <0>;
  35. };