xref: /freebsd/sys/contrib/device-tree/Bindings/usb/generic-xhci.yaml (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
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
7title: USB xHCI Controller
8
9maintainers:
10  - Mathias Nyman <mathias.nyman@intel.com>
11
12allOf:
13  - $ref: usb-xhci.yaml#
14
15properties:
16  compatible:
17    oneOf:
18      - description: Generic xHCI device
19        const: generic-xhci
20      - description: Armada 37xx/375/38x/8k SoCs
21        items:
22          - enum:
23              - marvell,armada3700-xhci
24              - marvell,armada-375-xhci
25              - marvell,armada-380-xhci
26              - marvell,armada-8k-xhci
27          - const: generic-xhci
28      - description: Broadcom STB SoCs with xHCI
29        enum:
30          - brcm,xhci-brcm-v2
31          - brcm,bcm7445-xhci
32      - description: Generic xHCI device
33        const: xhci-platform
34        deprecated: true
35
36  reg:
37    maxItems: 1
38
39  interrupts:
40    maxItems: 1
41
42  clocks:
43    minItems: 1
44    maxItems: 2
45
46  clock-names:
47    minItems: 1
48    items:
49      - const: core
50      - const: reg
51
52unevaluatedProperties: false
53
54required:
55  - compatible
56  - reg
57  - interrupts
58
59examples:
60  - |
61    usb@f0931000 {
62      compatible = "generic-xhci";
63      reg = <0xf0931000 0x8c8>;
64      interrupts = <0x0 0x4e 0x0>;
65    };
66