brcm,bdc.yaml 985 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/usb/brcm,bdc.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Broadcom USB Device Controller (BDC)
  7. maintainers:
  8. - Al Cooper <alcooperx@gmail.com>
  9. - Florian Fainelli <f.fainelli@gmail.com>
  10. properties:
  11. compatible:
  12. items:
  13. - enum:
  14. - brcm,bdc-udc-v2
  15. - brcm,bdc
  16. reg:
  17. maxItems: 1
  18. interrupts:
  19. maxItems: 1
  20. phys:
  21. minItems: 1
  22. items:
  23. - description: USB 2.0 or 3.0 PHY
  24. - description: USB 3.0 PHY if there is a dedicated 2.0 PHY
  25. clocks:
  26. maxItems: 1
  27. required:
  28. - compatible
  29. - reg
  30. - interrupts
  31. additionalProperties: false
  32. examples:
  33. - |
  34. usb@f0b02000 {
  35. compatible = "brcm,bdc-udc-v2";
  36. reg = <0xf0b02000 0xfc4>;
  37. interrupts = <0x0 0x60 0x0>;
  38. phys = <&usbphy_0 0x0>;
  39. clocks = <&sw_usbd>;
  40. };