generic-xhci.yaml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. # SPDX-License-Identifier: GPL-2.0
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/usb/generic-xhci.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: USB xHCI Controller
  7. maintainers:
  8. - Mathias Nyman <mathias.nyman@intel.com>
  9. properties:
  10. compatible:
  11. oneOf:
  12. - description: Generic xHCI device
  13. const: generic-xhci
  14. - description: Armada 37xx/375/38x/8k SoCs
  15. items:
  16. - enum:
  17. - marvell,armada3700-xhci
  18. - marvell,armada-375-xhci
  19. - marvell,armada-380-xhci
  20. - marvell,armada-8k-xhci
  21. - const: generic-xhci
  22. - description: Broadcom SoCs with power domains
  23. items:
  24. - enum:
  25. - brcm,bcm2711-xhci
  26. - const: brcm,xhci-brcm-v2
  27. - description: Broadcom STB SoCs with xHCI
  28. enum:
  29. - brcm,xhci-brcm-v2
  30. - brcm,bcm7445-xhci
  31. - description: Generic xHCI device
  32. const: xhci-platform
  33. deprecated: true
  34. reg:
  35. maxItems: 1
  36. interrupts:
  37. maxItems: 1
  38. clocks:
  39. minItems: 1
  40. maxItems: 2
  41. clock-names:
  42. minItems: 1
  43. items:
  44. - const: core
  45. - const: reg
  46. power-domains:
  47. maxItems: 1
  48. unevaluatedProperties: false
  49. required:
  50. - compatible
  51. - reg
  52. - interrupts
  53. allOf:
  54. - $ref: usb-xhci.yaml#
  55. - if:
  56. properties:
  57. compatible:
  58. contains:
  59. const: brcm,bcm2711-xhci
  60. then:
  61. required:
  62. - power-domains
  63. else:
  64. properties:
  65. power-domains: false
  66. examples:
  67. - |
  68. usb@f0931000 {
  69. compatible = "generic-xhci";
  70. reg = <0xf0931000 0x8c8>;
  71. interrupts = <0x0 0x4e 0x0>;
  72. };