0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/usb/renesas,usb-xhci.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Renesas USB xHCI controllers
0008
0009 maintainers:
0010 - Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
0011 - Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
0012
0013 allOf:
0014 - $ref: "usb-xhci.yaml"
0015
0016 properties:
0017 compatible:
0018 oneOf:
0019 - items:
0020 - enum:
0021 - renesas,xhci-r8a7742 # RZ/G1H
0022 - renesas,xhci-r8a7743 # RZ/G1M
0023 - renesas,xhci-r8a7744 # RZ/G1N
0024 - renesas,xhci-r8a7790 # R-Car H2
0025 - renesas,xhci-r8a7791 # R-Car M2-W
0026 - renesas,xhci-r8a7793 # R-Car M2-N
0027 - const: renesas,rcar-gen2-xhci # R-Car Gen2 and RZ/G1
0028 - items:
0029 - enum:
0030 - renesas,xhci-r8a774a1 # RZ/G2M
0031 - renesas,xhci-r8a774b1 # RZ/G2N
0032 - renesas,xhci-r8a774c0 # RZ/G2E
0033 - renesas,xhci-r8a774e1 # RZ/G2H
0034 - renesas,xhci-r8a7795 # R-Car H3
0035 - renesas,xhci-r8a7796 # R-Car M3-W
0036 - renesas,xhci-r8a77961 # R-Car M3-W+
0037 - renesas,xhci-r8a77965 # R-Car M3-N
0038 - renesas,xhci-r8a77990 # R-Car E3
0039 - const: renesas,rcar-gen3-xhci # R-Car Gen3 and RZ/G2
0040
0041 reg:
0042 maxItems: 1
0043
0044 interrupts:
0045 maxItems: 1
0046
0047 clocks:
0048 maxItems: 1
0049
0050 phys:
0051 maxItems: 1
0052
0053 phy-names:
0054 items:
0055 - const: usb
0056
0057 power-domains:
0058 maxItems: 1
0059
0060 resets:
0061 maxItems: 1
0062
0063 required:
0064 - compatible
0065 - reg
0066 - interrupts
0067 - clocks
0068 - power-domains
0069 - resets
0070
0071 unevaluatedProperties: false
0072
0073 examples:
0074 - |
0075 #include <dt-bindings/clock/r8a7795-cpg-mssr.h>
0076 #include <dt-bindings/interrupt-controller/arm-gic.h>
0077 #include <dt-bindings/power/r8a7795-sysc.h>
0078
0079 xhci0: usb@ee000000 {
0080 compatible = "renesas,xhci-r8a7795", "renesas,rcar-gen3-xhci";
0081 reg = <0xee000000 0xc00>;
0082 interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
0083 clocks = <&cpg CPG_MOD 328>;
0084 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
0085 resets = <&cpg 328>;
0086 };