Commit d7a8d8b4 authored by Minda Chen's avatar Minda Chen Committed by Greg Kroah-Hartman
Browse files

dt-bindings: usb: dwc3: add support for StarFive JHB100



Add support for the USB 2.0 Dual-Role Device (DRD) controller embedded
in the StarFive JHB100 SoC. The controller is based on the Synopsys
DesignWare Core USB 3 (DWC3) IP.

Signed-off-by: default avatarMinda Chen <minda.chen@starfivetech.com>
Acked-by: default avatarConor Dooley <conor.dooley@microchip.com>
Link: https://patch.msgid.link/20260410112500.90432-2-minda.chen@starfivetech.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 35c8b714
Loading
Loading
Loading
Loading
+64 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/usb/starfive,jhb100-dwc3.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: StarFive JHB100 DWC3 USB SoC Controller

maintainers:
  - Minda Chen <minda.chen@starfivetech.com>

description:
  The USB DRD controller on JHB100 BMC SoC.

allOf:
  - $ref: snps,dwc3-common.yaml#

properties:
  compatible:
    const: starfive,jhb100-dwc3

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

  clocks:
    items:
      - description: USB main enable clk
      - description: DWC3 bus early clock
      - description: DWC3 ref clock

  clock-names:
    items:
      - const: main
      - const: bus_early
      - const: ref

  resets:
    maxItems: 1

required:
  - compatible
  - reg
  - clocks
  - clock-names
  - interrupts

unevaluatedProperties: false

examples:
  - |
    usb@11800000 {
        compatible = "starfive,jhb100-dwc3";
        reg = <0x11800000 0x10000>;
        clocks = <&usbcrg 9>,
                 <&usbcrg 5>,
                 <&usbcrg 6>;
        clock-names = "main", "bus_early", "ref";
        resets = <&usbcrg 4>;
        interrupts = <105>;
        dr_mode = "host";
    };
+2 −1
Original line number Diff line number Diff line
@@ -25267,10 +25267,11 @@ F: Documentation/devicetree/bindings/reset/starfive,jh7100-reset.yaml
F:	drivers/reset/starfive/reset-starfive-jh71*
F:	include/dt-bindings/reset/starfive?jh71*.h
STARFIVE JH71X0 USB DRIVERS
STARFIVE USB DRIVERS
M:	Minda Chen <minda.chen@starfivetech.com>
S:	Maintained
F:	Documentation/devicetree/bindings/usb/starfive,jh7110-usb.yaml
F:	Documentation/devicetree/bindings/usb/starfive,jhb100-dwc3.yaml
F:	drivers/usb/cdns3/cdns3-starfive.c
STARFIVE JH71XX PMU CONTROLLER DRIVER