Documentation / devicetree / bindings / usb / st,st-ohci-300x.yaml


Based on kernel version 7.2. Page generated on 2026-08-20 08:41 EST.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/usb/st,st-ohci-300x.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: STMicroelectronics USB OHCI Controller

maintainers:
  - Peter Griffin <peter.griffin@linaro.org>

description:
  The STMicroelectronics USB Open Host Controller Interface (OHCI)
  compliant USB host controller found in ST platforms. The controller
  provides full- and low-speed USB host functionality and interfaces
  with an external USB PHY. It requires dedicated clock, reset, and
  interrupt resources for proper operation.

allOf:
  - $ref: /schemas/usb/usb-hcd.yaml#

properties:
  compatible:
    const: st,st-ohci-300x

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

  clocks:
    maxItems: 2

  clock-names:
    items:
      - const: ic
      - const: clk48

  phys:
    maxItems: 1

  phy-names:
    items:
      - const: usb

  resets:
    maxItems: 2

  reset-names:
    items:
      - const: power
      - const: softreset

required:
  - compatible
  - reg
  - interrupts
  - clocks
  - clock-names
  - phys
  - phy-names
  - resets
  - reset-names

unevaluatedProperties: false

examples:
  - |
    #include <dt-bindings/interrupt-controller/arm-gic.h>
    #include <dt-bindings/reset/stih407-resets.h>
    usb@fe1ffc00 {
        compatible = "st,st-ohci-300x";
        reg = <0xfe1ffc00 0x100>;
        interrupts = <GIC_SPI 149 IRQ_TYPE_NONE>;
        clocks = <&clk_s_a1_ls 0>,
                 <&clockgen_b0 0>;
        clock-names = "ic", "clk48";
        phys = <&usb2_phy>;
        phy-names = "usb";
        resets = <&powerdown STIH407_USB2_PORT0_POWERDOWN>,
                 <&softreset STIH407_USB2_PORT0_SOFTRESET>;
        reset-names = "power", "softreset";
    };
...