Skip to content

Commit d7a8d8b

Browse files
mindachen1987gregkh
authored andcommitted
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: Minda Chen <minda.chen@starfivetech.com> Acked-by: Conor Dooley <conor.dooley@microchip.com> Link: https://patch.msgid.link/20260410112500.90432-2-minda.chen@starfivetech.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 35c8b71 commit d7a8d8b

2 files changed

Lines changed: 66 additions & 1 deletion

File tree

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/usb/starfive,jhb100-dwc3.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: StarFive JHB100 DWC3 USB SoC Controller
8+
9+
maintainers:
10+
- Minda Chen <minda.chen@starfivetech.com>
11+
12+
description:
13+
The USB DRD controller on JHB100 BMC SoC.
14+
15+
allOf:
16+
- $ref: snps,dwc3-common.yaml#
17+
18+
properties:
19+
compatible:
20+
const: starfive,jhb100-dwc3
21+
22+
reg:
23+
maxItems: 1
24+
25+
interrupts:
26+
maxItems: 1
27+
28+
clocks:
29+
items:
30+
- description: USB main enable clk
31+
- description: DWC3 bus early clock
32+
- description: DWC3 ref clock
33+
34+
clock-names:
35+
items:
36+
- const: main
37+
- const: bus_early
38+
- const: ref
39+
40+
resets:
41+
maxItems: 1
42+
43+
required:
44+
- compatible
45+
- reg
46+
- clocks
47+
- clock-names
48+
- interrupts
49+
50+
unevaluatedProperties: false
51+
52+
examples:
53+
- |
54+
usb@11800000 {
55+
compatible = "starfive,jhb100-dwc3";
56+
reg = <0x11800000 0x10000>;
57+
clocks = <&usbcrg 9>,
58+
<&usbcrg 5>,
59+
<&usbcrg 6>;
60+
clock-names = "main", "bus_early", "ref";
61+
resets = <&usbcrg 4>;
62+
interrupts = <105>;
63+
dr_mode = "host";
64+
};

MAINTAINERS

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25267,10 +25267,11 @@ F: Documentation/devicetree/bindings/reset/starfive,jh7100-reset.yaml
2526725267
F: drivers/reset/starfive/reset-starfive-jh71*
2526825268
F: include/dt-bindings/reset/starfive?jh71*.h
2526925269

25270-
STARFIVE JH71X0 USB DRIVERS
25270+
STARFIVE USB DRIVERS
2527125271
M: Minda Chen <minda.chen@starfivetech.com>
2527225272
S: Maintained
2527325273
F: Documentation/devicetree/bindings/usb/starfive,jh7110-usb.yaml
25274+
F: Documentation/devicetree/bindings/usb/starfive,jhb100-dwc3.yaml
2527425275
F: drivers/usb/cdns3/cdns3-starfive.c
2527525276

2527625277
STARFIVE JH71XX PMU CONTROLLER DRIVER

0 commit comments

Comments
 (0)