# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/usb/brcm,bcm7445-ehci.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Broadcom STB USB EHCI Controller Device Tree Bindings

allOf:
  - $ref: "usb-hcd.yaml"

maintainers:
  - Al Cooper <alcooperx@gmail.com>

properties:
  compatible:
    const: brcm,bcm7445-ehci

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

  clocks:
    maxItems: 1
    description: Clock specifier for the EHCI clock

  clock-names:
    const: sw_usb

  phys:
    maxItems: 1

  phy-names:
    const: usbphy

required:
  - compatible
  - reg
  - interrupts
  - phys
  - clocks

additionalProperties: false

examples:
  - |
    usb@f0b00300 {
        compatible = "brcm,bcm7445-ehci";
        reg = <0xf0b00300 0xa8>;
        interrupts = <0x0 0x5a 0x0>;
        phys = <&usbphy_0 0x0>;
        phy-names = "usbphy";
        clocks = <&usb20>;
        clock-names = "sw_usb";
    };

...
