# Copyright (c) 2018, Linaro Limited
# SPDX-License-Identifier: Apache-2.0

description: NXP Kinetis Ethernet

compatible: "nxp,kinetis-ethernet"

include: ["ethernet-controller.yaml", "pinctrl-device.yaml"]

properties:
  reg:
    required: true
  interrupts:
    required: true
  phy-addr:
    type: int
    description: Address of the phy controller
    required: true
  reset-gpios:
    type: phandle-array
    description: GPIO to reset PHY. Reset signal is assumed active low.
  int-gpios:
    type: phandle-array
    description:
      interrupt GPIO for PHY. Will be pulled high before reset is asserted.

child-binding:
  description: Fixed link ethernet node
  properties:
    speed:
      type: int
      required: true
      description: The speed of fixed link
      enum:
        - 100
        - 10
    full-duplex:
      type: boolean
      description: The fixed link operates in full duplex mode
