File Index
Files and directories
Sign in
FILE

renesas,rzg3e-xhci.yaml

File preview with syntax highlighting.

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