# SPDX-License-Identifier: GPL-2.0
%YAML 1.2
---
$id: http://devicetree.org/schemas/phy/rockchip,rk3399-pcie-phy.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Rockchip RK3399 PCIE PHY

maintainers:
  - Heiko Stuebner <heiko@sntech.de>

properties:
  compatible:
    const: rockchip,rk3399-pcie-phy

  '#phy-cells':
    oneOf:
      - const: 0
        deprecated: true
      - const: 1
        description: One lane per phy mode

  clocks:
    maxItems: 1

  clock-names:
    const: refclk

  resets:
    maxItems: 1

  reset-names:
    const: phy

required:
  - compatible
  - '#phy-cells'
  - clocks
  - clock-names
  - resets
  - reset-names

additionalProperties: false

...