Re: [PATCH] arm64: dts: a7k: use phy handle
From: Gregory CLEMENT
Date: Mon Mar 02 2026 - 10:22:54 EST
Elad Nachman <enachman@xxxxxxxxxxx> writes:
> From: Elad Nachman <enachman@xxxxxxxxxxx>
>
> 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@xxxxxxx>
> Signed-off-by: Elad Nachman <enachman@xxxxxxxxxxx>
Applied on mvebu/dt64
Thanks,
Gregory
> ---
> 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
>
--
Grégory CLEMENT, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com