xref: /freebsd/sys/contrib/device-tree/Bindings/usb/renesas,usb-xhci.yaml (revision af23369a6deaaeb612ab266eb88b8bb8d560c322)
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-xhci.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    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
71unevaluatedProperties: 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