# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/net/pcs/fsl,lynx-pcs.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: NXP Lynx PCS

maintainers:
  - Ioana Ciornei <ioana.ciornei@nxp.com>

description: |
  NXP Lynx 10G and 28G SerDes have Ethernet PCS devices which can be used as
  protocol controllers. They are accessible over the Ethernet interface's MDIO
  bus.

properties:
  compatible:
    const: fsl,lynx-pcs

  reg:
    maxItems: 1

required:
  - compatible
  - reg

additionalProperties: false

examples:
  - |
    mdio-bus {
      #address-cells = <1>;
      #size-cells = <0>;

      qsgmii_pcs1: ethernet-pcs@1 {
        compatible = "fsl,lynx-pcs";
        reg = <1>;
      };
    };