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

title: Marvell Berlin USB PHY

maintainers:
  - Antoine Tenart <atenart@kernel.org>

properties:
  compatible:
    enum:
      - marvell,berlin2-usb-phy
      - marvell,berlin2cd-usb-phy

  reg:
    maxItems: 1

  "#phy-cells":
    const: 0

  resets:
    maxItems: 1

required:
  - compatible
  - reg
  - "#phy-cells"
  - resets

additionalProperties: false

examples:
  - |
    usb-phy@f774000 {
      compatible = "marvell,berlin2-usb-phy";
      reg = <0xf774000 0x128>;
      #phy-cells = <0>;
      resets = <&chip 0x104 14>;
    };
