Documentation/devicetree/bindings/usb/starfive,jhb100-dwc3.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/usb/starfive,jhb100-dwc3.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/usb/starfive,jhb100-dwc3.yaml
Extension
.yaml
Size
1226 bytes
Lines
65
Domain
Support Tooling And Documentation
Bucket
Documentation
Inferred role
Support Tooling And Documentation: configuration, schema, or hardware description
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

# 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";
    };

Annotation

Implementation Notes