drivers: ethernet: phy: dts: split ethernet-phy.yaml

split ethernet-phy.yaml, so that parts, that are used
by other phys are separated.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
This commit is contained in:
Fin Maaß 2025-06-13 15:15:49 +02:00 committed by Fabio Baltieri
parent f473806777
commit 139bf24353
9 changed files with 29 additions and 20 deletions

View File

@ -5,7 +5,7 @@ description: Davicom DM8806 Ethernet MAC and PHY with RMII interface
compatible: "davicom,dm8806-phy"
include: [ethernet-phy.yaml]
include: [ethernet-phy-common.yaml]
on-bus: mdio

View File

@ -0,0 +1,21 @@
# Copyright The Zephyr Project Contributors
# SPDX-License-Identifier: Apache-2.0
# Common fields for MIIPHY devices
include: phy.yaml
properties:
reg:
required: true
description: PHY address
default-speeds:
type: string-array
description: The selected speeds are used to configure the PHY during initialization
enum:
- "10BASE Half-Duplex"
- "10BASE Full-Duplex"
- "100BASE Half-Duplex"
- "100BASE Full-Duplex"
- "1000BASE Half-Duplex"
- "1000BASE Full-Duplex"

View File

@ -7,12 +7,9 @@ description: Generic MII PHY
compatible: "ethernet-phy"
include: phy.yaml
include: ethernet-phy-common.yaml
properties:
reg:
required: true
description: PHY address
no-reset:
type: boolean
description: Do not reset the PHY during initialization
@ -27,14 +24,5 @@ properties:
- "1000BASE-T Half-Duplex"
- "1000BASE-T Full-Duplex"
default-speeds:
type: string-array
description: The selected speeds are used to configure the PHY during initialization
enum:
- "10BASE Half-Duplex"
- "10BASE Full-Duplex"
- "100BASE Half-Duplex"
- "100BASE Full-Duplex"
- "1000BASE Half-Duplex"
- "1000BASE Full-Duplex"
default: ["10BASE Half-Duplex", "10BASE Full-Duplex", "100BASE Half-Duplex",
"100BASE Full-Duplex", "1000BASE Half-Duplex", "1000BASE Full-Duplex"]

View File

@ -5,7 +5,7 @@ description: Microchip KSZ8081 Ethernet PHY device
compatible: "microchip,ksz8081"
include: ethernet-phy.yaml
include: ethernet-phy-common.yaml
properties:
reset-gpios:

View File

@ -5,7 +5,7 @@ description: Single Port Gigabit Ethernet Copper PHY with GMII/RGMII/MII/RMII In
compatible: "microchip,vsc8541"
include: [ethernet-phy.yaml]
include: [ethernet-phy-common.yaml]
on-bus: mdio

View File

@ -5,7 +5,7 @@ description: Qualcomm Atheros AR8031 Ethernet PHY
compatible: "qca,ar8031"
include: ethernet-phy.yaml
include: ethernet-phy-common.yaml
properties:
eee-en:

View File

@ -5,7 +5,7 @@ description: Realtek RTL8211F Ethernet PHY device
compatible: "realtek,rtl8211f"
include: ethernet-phy.yaml
include: ethernet-phy-common.yaml
properties:
reset-gpios:

View File

@ -5,7 +5,7 @@ description: TI DP83825 Ethernet PHY device
compatible: "ti,dp83825"
include: ethernet-phy.yaml
include: ethernet-phy-common.yaml
properties:
reset-gpios:

View File

@ -5,7 +5,7 @@ description: TI DP83867 Ethernet PHY device
compatible: "ti,dp83867"
include: ethernet-phy.yaml
include: ethernet-phy-common.yaml
properties:
reset-gpios: