xref: /freebsd/sys/contrib/device-tree/Bindings/usb/renesas,usb-xhci.yaml (revision dd41de95a84d979615a2ef11df6850622bf6184e)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/usb/renesas,usb-xhci.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Renesas USB xHCI controllers
8
9maintainers:
10  - Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
11  - Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
12
13allOf:
14  - $ref: "usb-hcd.yaml"
15
16properties:
17  compatible:
18    oneOf:
19      - items:
20          - enum:
21              - renesas,xhci-r8a7742 # RZ/G1H
22              - renesas,xhci-r8a7743 # RZ/G1M
23              - renesas,xhci-r8a7744 # RZ/G1N
24              - renesas,xhci-r8a7790 # R-Car H2
25              - renesas,xhci-r8a7791 # R-Car M2-W
26              - renesas,xhci-r8a7793 # R-Car M2-N
27          - const: renesas,rcar-gen2-xhci # R-Car Gen2 and RZ/G1
28      - items:
29          - enum:
30              - renesas,xhci-r8a774a1 # RZ/G2M
31              - renesas,xhci-r8a774b1 # RZ/G2N
32              - renesas,xhci-r8a774c0 # RZ/G2E
33              - renesas,xhci-r8a774e1 # RZ/G2H
34              - renesas,xhci-r8a7795  # R-Car H3
35              - renesas,xhci-r8a7796  # R-Car M3-W
36              - renesas,xhci-r8a77961 # R-Car M3-W+
37              - renesas,xhci-r8a77965 # R-Car M3-N
38              - renesas,xhci-r8a77990 # R-Car E3
39          - const: renesas,rcar-gen3-xhci # R-Car Gen3 and RZ/G2
40
41  reg:
42    maxItems: 1
43
44  interrupts:
45    maxItems: 1
46
47  clocks:
48    maxItems: 1
49
50  phys:
51    maxItems: 1
52
53  phy-names:
54    maxItems: 1
55    items:
56      - const: usb
57
58  power-domains:
59    maxItems: 1
60
61  resets:
62    maxItems: 1
63
64required:
65  - compatible
66  - reg
67  - interrupts
68  - clocks
69  - power-domains
70  - resets
71
72additionalProperties: false
73
74examples:
75  - |
76    #include <dt-bindings/clock/r8a7795-cpg-mssr.h>
77    #include <dt-bindings/interrupt-controller/arm-gic.h>
78    #include <dt-bindings/power/r8a7795-sysc.h>
79
80    xhci0: usb@ee000000 {
81        compatible = "renesas,xhci-r8a7795", "renesas,rcar-gen3-xhci";
82        reg = <0xee000000 0xc00>;
83        interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
84        clocks = <&cpg CPG_MOD 328>;
85        power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
86        resets = <&cpg 328>;
87    };
88