bcm-ns-usb2-phy.yaml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/phy/bcm-ns-usb2-phy.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Broadcom Northstar USB 2.0 PHY
  7. description: >
  8. To initialize USB 2.0 PHY driver needs to setup PLL correctly.
  9. To do this it requires passing phandle to the USB PHY reference clock.
  10. maintainers:
  11. - Rafał Miłecki <rafal@milecki.pl>
  12. properties:
  13. compatible:
  14. const: brcm,ns-usb2-phy
  15. reg:
  16. anyOf:
  17. - maxItems: 1
  18. description: PHY control register
  19. - maxItems: 1
  20. description: iomem address range of DMU (Device Management Unit)
  21. deprecated: true
  22. reg-names:
  23. items:
  24. - const: dmu
  25. brcm,syscon-clkset:
  26. description: phandle to syscon for clkset register
  27. $ref: /schemas/types.yaml#/definitions/phandle
  28. clocks:
  29. items:
  30. - description: USB PHY reference clock
  31. clock-names:
  32. items:
  33. - const: phy-ref-clk
  34. "#phy-cells":
  35. const: 0
  36. required:
  37. - compatible
  38. - reg
  39. - clocks
  40. - clock-names
  41. - "#phy-cells"
  42. oneOf:
  43. - required:
  44. - brcm,syscon-clkset
  45. - required:
  46. - reg-names
  47. additionalProperties: false
  48. examples:
  49. - |
  50. #include <dt-bindings/clock/bcm-nsp.h>
  51. phy@1800c164 {
  52. compatible = "brcm,ns-usb2-phy";
  53. reg = <0x1800c164 0x4>;
  54. brcm,syscon-clkset = <&clkset>;
  55. clocks = <&genpll BCM_NSP_GENPLL_USB_PHY_REF_CLK>;
  56. clock-names = "phy-ref-clk";
  57. #phy-cells = <0>;
  58. };