mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
Add device tree binding support for the USB3.2 Gen2 controller on Renesas RZ/V2H(P) and RZ/V2N SoCs. The USB3.2 IP on these SoCs is identical to that found on the RZ/G3E SoC. Add new compatible strings "renesas,r9a09g056-xhci" for RZ/V2N and "renesas,r9a09g057-xhci" for RZ/V2H(P). Both variants use "renesas,r9a09g047-xhci" as a fallback compatible to indicate hardware compatibility with the RZ/G3E implementation. Update the title to be more generic as it now covers multiple SoC families beyond just RZ/G3E. Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://patch.msgid.link/20251101042440.648321-1-prabhakar.mahadev-lad.rj@bp.renesas.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
96 lines
2.1 KiB
YAML
96 lines
2.1 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/usb/renesas,rzg3e-xhci.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Renesas USB 3.2 Gen2 Host controller
|
|
|
|
maintainers:
|
|
- Biju Das <biju.das.jz@bp.renesas.com>
|
|
|
|
properties:
|
|
compatible:
|
|
oneOf:
|
|
- items:
|
|
- enum:
|
|
- renesas,r9a09g056-xhci # RZ/V2N
|
|
- renesas,r9a09g057-xhci # RZ/V2H(P)
|
|
- const: renesas,r9a09g047-xhci
|
|
|
|
- items:
|
|
- const: renesas,r9a09g047-xhci # RZ/G3E
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
interrupts:
|
|
items:
|
|
- description: Logical OR of all interrupt signals.
|
|
- description: System management interrupt
|
|
- description: Host system error interrupt
|
|
- description: Power management event interrupt
|
|
- description: xHC interrupt
|
|
|
|
interrupt-names:
|
|
items:
|
|
- const: all
|
|
- const: smi
|
|
- const: hse
|
|
- const: pme
|
|
- const: xhc
|
|
|
|
clocks:
|
|
maxItems: 1
|
|
|
|
phys:
|
|
maxItems: 2
|
|
|
|
phy-names:
|
|
items:
|
|
- const: usb2-phy
|
|
- const: usb3-phy
|
|
|
|
power-domains:
|
|
maxItems: 1
|
|
|
|
resets:
|
|
maxItems: 1
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- interrupts
|
|
- interrupt-names
|
|
- clocks
|
|
- power-domains
|
|
- resets
|
|
- phys
|
|
- phy-names
|
|
|
|
allOf:
|
|
- $ref: usb-xhci.yaml
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
#include <dt-bindings/clock/renesas,r9a09g047-cpg.h>
|
|
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
|
|
|
usb@15850000 {
|
|
compatible = "renesas,r9a09g047-xhci";
|
|
reg = <0x15850000 0x10000>;
|
|
interrupts = <GIC_SPI 759 IRQ_TYPE_LEVEL_HIGH>,
|
|
<GIC_SPI 758 IRQ_TYPE_LEVEL_HIGH>,
|
|
<GIC_SPI 757 IRQ_TYPE_LEVEL_HIGH>,
|
|
<GIC_SPI 756 IRQ_TYPE_LEVEL_HIGH>,
|
|
<GIC_SPI 755 IRQ_TYPE_LEVEL_HIGH>;
|
|
interrupt-names = "all", "smi", "hse", "pme", "xhc";
|
|
clocks = <&cpg CPG_MOD 0xaf>;
|
|
power-domains = <&cpg>;
|
|
resets = <&cpg 0xaa>;
|
|
phys = <&usb3_phy>, <&usb3_phy>;
|
|
phy-names = "usb2-phy", "usb3-phy";
|
|
};
|