zephyr/dts/bindings/ethernet/nxp,kinetis-ethernet.yaml
Declan Snyder 353c6a66cb dts: bindings: ethernet: Remove fixed link
Remove ethernet-fixed-link binding as it is redundant with the
phy bindings. Clearly, ethernet does not work without the L1
layer, which is a phy device, or an integrated mac/phy device,
and all of these things should be described properly in DT.
The schema did not even come with a compatible, meaning nodelabels
were hardcoded into the drivers, which is unacceptable.

- Remove the binding file for ethernet-fixed-link.yaml.
- Remove fixed link functionality from the nxp s32 gmac driver.
  Since this functionality is already covered by the phy support,
  it is redundant.
- Remove fixed link include from the s32 gmac binding.
- Remove fixed link include from the nuvoton numaker binding.
  As far as I can tell the corresonding driver does not even
  use it anyways, and I did not find any board with this device
  that describes a "fixed link".
- Move the definition into the nxp,kinetis-ethernet binding
  as the eth_mcux driver, which is already being deprecated,
  does use this, contain the debt to the legacy driver.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2024-03-27 15:18:54 +00:00

40 lines
913 B
YAML

# 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