]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: a7k: use phy handle
authorElad Nachman <enachman@marvell.com>
Mon, 26 Jan 2026 11:36:27 +0000 (13:36 +0200)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Mon, 2 Mar 2026 15:16:57 +0000 (16:16 +0100)
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>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
arch/arm64/boot/dts/marvell/armada-7020-comexpress.dtsi

index 2b5ec4a451e380b8c7e238b09cdcc4f1734210c8..0cfcf5f6bde13ba0b5af6e5f30cef94e79f670ed 100644 (file)
@@ -70,7 +70,7 @@
 
 &cp0_eth1 {
        status = "okay";
-       phy = <&phy0>;
+       phy-handle = <&phy0>;
        phy-mode = "rgmii-id";
 };