rockchip-usb-phy.yaml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. # SPDX-License-Identifier: GPL-2.0
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/phy/rockchip-usb-phy.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Rockchip USB2.0 phy
  7. maintainers:
  8. - Heiko Stuebner <heiko@sntech.de>
  9. properties:
  10. compatible:
  11. enum:
  12. - rockchip,rk3066a-usb-phy
  13. - rockchip,rk3188-usb-phy
  14. - rockchip,rk3288-usb-phy
  15. "#address-cells":
  16. const: 1
  17. "#size-cells":
  18. const: 0
  19. required:
  20. - compatible
  21. - "#address-cells"
  22. - "#size-cells"
  23. additionalProperties: false
  24. patternProperties:
  25. "usb-phy@[0-9a-f]+$":
  26. type: object
  27. properties:
  28. reg:
  29. maxItems: 1
  30. "#phy-cells":
  31. const: 0
  32. clocks:
  33. maxItems: 1
  34. clock-names:
  35. const: phyclk
  36. "#clock-cells":
  37. const: 0
  38. resets:
  39. maxItems: 1
  40. reset-names:
  41. const: phy-reset
  42. vbus-supply:
  43. description: phandle for vbus power source
  44. required:
  45. - reg
  46. - "#phy-cells"
  47. additionalProperties: false
  48. examples:
  49. - |
  50. usbphy: usbphy {
  51. compatible = "rockchip,rk3288-usb-phy";
  52. #address-cells = <1>;
  53. #size-cells = <0>;
  54. usbphy0: usb-phy@320 {
  55. reg = <0x320>;
  56. #phy-cells = <0>;
  57. };
  58. };