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-r8a7795  # R-Car H3
34              - renesas,xhci-r8a7796  # R-Car M3-W
35              - renesas,xhci-r8a77961 # R-Car M3-W+
36              - renesas,xhci-r8a77965 # R-Car M3-N
37              - renesas,xhci-r8a77990 # R-Car E3
38          - const: renesas,rcar-gen3-xhci # R-Car Gen3 and RZ/G2
39
40  reg:
41    maxItems: 1
42
43  interrupts:
44    maxItems: 1
45
46  clocks:
47    maxItems: 1
48
49  phys:
50    maxItems: 1
51
52  phy-names:
53    maxItems: 1
54    items:
55      - const: usb
56
57  power-domains:
58    maxItems: 1
59
60  resets:
61    maxItems: 1
62
63required:
64  - compatible
65  - reg
66  - interrupts
67  - clocks
68  - power-domains
69  - resets
70
71additionalProperties: false
72
73examples:
74  - |
75    #include <dt-bindings/clock/r8a7795-cpg-mssr.h>
76    #include <dt-bindings/interrupt-controller/arm-gic.h>
77    #include <dt-bindings/power/r8a7795-sysc.h>
78
79    xhci0: usb@ee000000 {
80        compatible = "renesas,xhci-r8a7795", "renesas,rcar-gen3-xhci";
81        reg = <0xee000000 0xc00>;
82        interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
83        clocks = <&cpg CPG_MOD 328>;
84        power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
85        resets = <&cpg 328>;
86    };
87