xref: /linux/Documentation/devicetree/bindings/usb/renesas,rzg3e-xhci.yaml (revision db4a3f0fbedb0398f77b9047e8b8bb2b49f355bb)
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,rzg3e-xhci.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Renesas RZ/G3E USB 3.2 Gen2 Host controller
8
9maintainers:
10  - Biju Das <biju.das.jz@bp.renesas.com>
11
12properties:
13  compatible:
14    const: renesas,r9a09g047-xhci
15
16  reg:
17    maxItems: 1
18
19  interrupts:
20    items:
21      - description: Logical OR of all interrupt signals.
22      - description: System management interrupt
23      - description: Host system error interrupt
24      - description: Power management event interrupt
25      - description: xHC interrupt
26
27  interrupt-names:
28    items:
29      - const: all
30      - const: smi
31      - const: hse
32      - const: pme
33      - const: xhc
34
35  clocks:
36    maxItems: 1
37
38  phys:
39    maxItems: 2
40
41  phy-names:
42    items:
43      - const: usb2-phy
44      - const: usb3-phy
45
46  power-domains:
47    maxItems: 1
48
49  resets:
50    maxItems: 1
51
52required:
53  - compatible
54  - reg
55  - interrupts
56  - interrupt-names
57  - clocks
58  - power-domains
59  - resets
60  - phys
61  - phy-names
62
63allOf:
64  - $ref: usb-xhci.yaml
65
66additionalProperties: false
67
68examples:
69  - |
70    #include <dt-bindings/clock/renesas,r9a09g047-cpg.h>
71    #include <dt-bindings/interrupt-controller/arm-gic.h>
72
73    usb@15850000 {
74      compatible = "renesas,r9a09g047-xhci";
75      reg = <0x15850000 0x10000>;
76      interrupts = <GIC_SPI 759 IRQ_TYPE_LEVEL_HIGH>,
77                   <GIC_SPI 758 IRQ_TYPE_LEVEL_HIGH>,
78                   <GIC_SPI 757 IRQ_TYPE_LEVEL_HIGH>,
79                   <GIC_SPI 756 IRQ_TYPE_LEVEL_HIGH>,
80                   <GIC_SPI 755 IRQ_TYPE_LEVEL_HIGH>;
81      interrupt-names = "all", "smi", "hse", "pme", "xhc";
82      clocks = <&cpg CPG_MOD 0xaf>;
83      power-domains = <&cpg>;
84      resets = <&cpg 0xaa>;
85      phys = <&usb3_phy>, <&usb3_phy>;
86      phy-names = "usb2-phy", "usb3-phy";
87    };
88