xref: /freebsd/sys/contrib/device-tree/Bindings/usb/generic-xhci.yaml (revision 8d13bc63c0e1d50bc9e47ac1f26329c999bfecf0)
15def4c47SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0
25def4c47SEmmanuel Vadot%YAML 1.2
35def4c47SEmmanuel Vadot---
45def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/usb/generic-xhci.yaml#
55def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
65def4c47SEmmanuel Vadot
77ef62cebSEmmanuel Vadottitle: USB xHCI Controller
85def4c47SEmmanuel Vadot
95def4c47SEmmanuel Vadotmaintainers:
105def4c47SEmmanuel Vadot  - Mathias Nyman <mathias.nyman@intel.com>
115def4c47SEmmanuel Vadot
125def4c47SEmmanuel Vadotproperties:
135def4c47SEmmanuel Vadot  compatible:
145def4c47SEmmanuel Vadot    oneOf:
155def4c47SEmmanuel Vadot      - description: Generic xHCI device
165def4c47SEmmanuel Vadot        const: generic-xhci
175def4c47SEmmanuel Vadot      - description: Armada 37xx/375/38x/8k SoCs
185def4c47SEmmanuel Vadot        items:
195def4c47SEmmanuel Vadot          - enum:
205def4c47SEmmanuel Vadot              - marvell,armada3700-xhci
215def4c47SEmmanuel Vadot              - marvell,armada-375-xhci
225def4c47SEmmanuel Vadot              - marvell,armada-380-xhci
235def4c47SEmmanuel Vadot              - marvell,armada-8k-xhci
245def4c47SEmmanuel Vadot          - const: generic-xhci
25*8d13bc63SEmmanuel Vadot      - description: Broadcom SoCs with power domains
26*8d13bc63SEmmanuel Vadot        items:
27*8d13bc63SEmmanuel Vadot          - enum:
28*8d13bc63SEmmanuel Vadot              - brcm,bcm2711-xhci
29*8d13bc63SEmmanuel Vadot          - const: brcm,xhci-brcm-v2
305def4c47SEmmanuel Vadot      - description: Broadcom STB SoCs with xHCI
315def4c47SEmmanuel Vadot        enum:
325def4c47SEmmanuel Vadot          - brcm,xhci-brcm-v2
335def4c47SEmmanuel Vadot          - brcm,bcm7445-xhci
345def4c47SEmmanuel Vadot      - description: Generic xHCI device
355def4c47SEmmanuel Vadot        const: xhci-platform
365def4c47SEmmanuel Vadot        deprecated: true
375def4c47SEmmanuel Vadot
385def4c47SEmmanuel Vadot  reg:
395def4c47SEmmanuel Vadot    maxItems: 1
405def4c47SEmmanuel Vadot
415def4c47SEmmanuel Vadot  interrupts:
425def4c47SEmmanuel Vadot    maxItems: 1
435def4c47SEmmanuel Vadot
445def4c47SEmmanuel Vadot  clocks:
455def4c47SEmmanuel Vadot    minItems: 1
465def4c47SEmmanuel Vadot    maxItems: 2
475def4c47SEmmanuel Vadot
485def4c47SEmmanuel Vadot  clock-names:
495def4c47SEmmanuel Vadot    minItems: 1
505def4c47SEmmanuel Vadot    items:
515def4c47SEmmanuel Vadot      - const: core
525def4c47SEmmanuel Vadot      - const: reg
535def4c47SEmmanuel Vadot
54*8d13bc63SEmmanuel Vadot  power-domains:
55*8d13bc63SEmmanuel Vadot    maxItems: 1
56*8d13bc63SEmmanuel Vadot
575def4c47SEmmanuel VadotunevaluatedProperties: false
585def4c47SEmmanuel Vadot
595def4c47SEmmanuel Vadotrequired:
605def4c47SEmmanuel Vadot  - compatible
615def4c47SEmmanuel Vadot  - reg
625def4c47SEmmanuel Vadot  - interrupts
635def4c47SEmmanuel Vadot
64*8d13bc63SEmmanuel VadotallOf:
65*8d13bc63SEmmanuel Vadot  - $ref: usb-xhci.yaml#
66*8d13bc63SEmmanuel Vadot  - if:
67*8d13bc63SEmmanuel Vadot      properties:
68*8d13bc63SEmmanuel Vadot        compatible:
69*8d13bc63SEmmanuel Vadot          contains:
70*8d13bc63SEmmanuel Vadot            const: brcm,bcm2711-xhci
71*8d13bc63SEmmanuel Vadot    then:
72*8d13bc63SEmmanuel Vadot      required:
73*8d13bc63SEmmanuel Vadot        - power-domains
74*8d13bc63SEmmanuel Vadot    else:
75*8d13bc63SEmmanuel Vadot      properties:
76*8d13bc63SEmmanuel Vadot        power-domains: false
77*8d13bc63SEmmanuel Vadot
785def4c47SEmmanuel Vadotexamples:
795def4c47SEmmanuel Vadot  - |
805def4c47SEmmanuel Vadot    usb@f0931000 {
815def4c47SEmmanuel Vadot      compatible = "generic-xhci";
825def4c47SEmmanuel Vadot      reg = <0xf0931000 0x8c8>;
835def4c47SEmmanuel Vadot      interrupts = <0x0 0x4e 0x0>;
845def4c47SEmmanuel Vadot    };
85