2018-09-27 20:23:06 +08:00
|
|
|
# Copyright (c) 2018, Linaro Limited
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2019-06-19 06:03:49 +08:00
|
|
|
|
2019-11-19 15:39:11 +08:00
|
|
|
description: NXP Kinetis Ethernet
|
2019-08-20 02:32:25 +08:00
|
|
|
|
|
|
|
compatible: "nxp,kinetis-ethernet"
|
|
|
|
|
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-20 06:26:23 +08:00
|
|
|
include: ["ethernet-controller.yaml", "pinctrl-device.yaml"]
|
2018-09-27 20:23:06 +08:00
|
|
|
|
|
|
|
properties:
|
2023-01-04 03:21:25 +08:00
|
|
|
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.
|
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-20 06:26:23 +08:00
|
|
|
|
|
|
|
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
|