diff mbox series

arm64: dts: imx8mp-debix-model-a: Use phy-mode

Message ID 20231113230400.67256-1-festevam@gmail.com (mailing list archive)
State New, archived
Headers show
Series arm64: dts: imx8mp-debix-model-a: Use phy-mode | expand

Commit Message

Fabio Estevam Nov. 13, 2023, 11:04 p.m. UTC
From: Fabio Estevam <festevam@denx.de>

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>
---
 arch/arm64/boot/dts/freescale/imx8mp-debix-model-a.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Andrew Lunn Nov. 14, 2023, 3:07 a.m. UTC | #1
On Mon, Nov 13, 2023 at 08:04:00PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@denx.de>
> 
> 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>

    Andrew
Shawn Guo Dec. 6, 2023, 1:09 a.m. UTC | #2
On Mon, Nov 13, 2023 at 08:04:00PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@denx.de>
> 
> 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>

Applied, thanks!
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/freescale/imx8mp-debix-model-a.dts b/arch/arm64/boot/dts/freescale/imx8mp-debix-model-a.dts
index 267ceffc02d8..2c19766ebf09 100644
--- a/arch/arm64/boot/dts/freescale/imx8mp-debix-model-a.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mp-debix-model-a.dts
@@ -75,7 +75,7 @@  &A53_3 {
 &eqos {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_eqos>;
-	phy-connection-type = "rgmii-id";
+	phy-mode = "rgmii-id";
 	phy-handle = <&ethphy0>;
 	status = "okay";