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

title: Cadence DPHY Rx

maintainers:
  - Pratyush Yadav <pratyush@kernel.org>

properties:
  compatible:
    items:
      - const: cdns,dphy-rx

  reg:
    maxItems: 1

  "#phy-cells":
    const: 0

  power-domains:
    maxItems: 1

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

additionalProperties: false

examples:
  - |
    #include <dt-bindings/soc/ti,sci_pm_domain.h>

    dphy0: phy@4580000 {
        compatible = "cdns,dphy-rx";
        reg = <0x4580000 0x1100>;
        #phy-cells = <0>;
        power-domains = <&k3_pds 147 TI_SCI_PD_EXCLUSIVE>;
    };