arm64: dts: imx8mp-debix-model-a: Use phy-mode
authorFabio Estevam <festevam@denx.de>
Mon, 13 Nov 2023 23:04:00 +0000 (20:04 -0300)
committerShawn Guo <shawnguo@kernel.org>
Wed, 6 Dec 2023 01:53:53 +0000 (09:53 +0800)
The property 'phy-connection-type' can be used to describe the interface
type between the Ethernet device and the Ethernet PHY device.

However, snps,dwmac.yaml gives the following warning:

imx8mp-debix-model-a.dtb: ethernet@30bf0000: 'phy-mode' is a required property
from schema $id: http://devicetree.org/schemas/net/snps,dwmac.yaml#

To avoid the warning, switch to the more commonly used, 'phy-mode'
property instead.

Signed-off-by: Fabio Estevam <festevam@denx.de>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mp-debix-model-a.dts

index 267ceffc02d84064946540abd205b71caa908c73..2c19766ebf093fde85912660e1a4145812e4ab82 100644 (file)
@@ -75,7 +75,7 @@
 &eqos {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_eqos>;
-       phy-connection-type = "rgmii-id";
+       phy-mode = "rgmii-id";
        phy-handle = <&ethphy0>;
        status = "okay";