[PATCH] arm64: dts: a7k: use phy handle

Elad Nachman posted 1 patch 1 week, 5 days ago
arch/arm64/boot/dts/marvell/armada-7020-comexpress.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] arm64: dts: a7k: use phy handle
Posted by Elad Nachman 1 week, 5 days ago
From: Elad Nachman <enachman@marvell.com>

Documentation/devicetree/bindings/net/ethernet-controller.yaml

  phy:
    : #/properties/phy-handle
    deprecated: true

New dts files should not be using deprecated properties.

What should be used is:

  phy-handle:
    : /schemas/types.yaml#/definitions/phandle
    description:
      Specifies a reference to a node representing a PHY device.

Suggested-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Elad Nachman <enachman@marvell.com>
---
 arch/arm64/boot/dts/marvell/armada-7020-comexpress.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/marvell/armada-7020-comexpress.dtsi b/arch/arm64/boot/dts/marvell/armada-7020-comexpress.dtsi
index 2b5ec4a451e3..0cfcf5f6bde1 100644
--- a/arch/arm64/boot/dts/marvell/armada-7020-comexpress.dtsi
+++ b/arch/arm64/boot/dts/marvell/armada-7020-comexpress.dtsi
@@ -70,7 +70,7 @@ &cp0_eth0 {
 
 &cp0_eth1 {
 	status = "okay";
-	phy = <&phy0>;
+	phy-handle = <&phy0>;
 	phy-mode = "rgmii-id";
 };
 
-- 
2.25.1
Re: [PATCH] arm64: dts: a7k: use phy handle
Posted by Andrew Lunn 1 week, 5 days ago
On Mon, Jan 26, 2026 at 01:36:27PM +0200, Elad Nachman wrote:
> From: Elad Nachman <enachman@marvell.com>
> 
> Documentation/devicetree/bindings/net/ethernet-controller.yaml
> 
>   phy:
>     : #/properties/phy-handle
>     deprecated: true
> 
> New dts files should not be using deprecated properties.
> 
> What should be used is:
> 
>   phy-handle:
>     : /schemas/types.yaml#/definitions/phandle
>     description:
>       Specifies a reference to a node representing a PHY device.
> 
> Suggested-by: Andrew Lunn <andrew@lunn.ch>
> Signed-off-by: Elad Nachman <enachman@marvell.com>

Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew