From 870600a887f2ae718b1abbff174e4943bc8df1d6 Mon Sep 17 00:00:00 2001 From: Alexey Sheplyakov Date: Mon, 13 Dec 2021 18:20:25 +0400 Subject: [PATCH 630/634] arm64: device tree: Baikal-M: fixed PHY binding description According to the documentation [1] Ethernet PHY binding `compatible` string should be one of ethernet-phy-ieee802.3-{c22,c45}, and (optionally) PHY ID (if the PHY reports incorrect ID or none at all). Since v5.14 the kernel rejects PHY description if the `compatible` contains wrong entries. As a result Ethernet driver is unable to attach the PHY (and Ethernet can't transmit/receive any packets). This patch removes extraneous entries (`micrel,ksz9031`) from PHY binding nodes to avoid the problem. [1] Documentation/devicetree/bindings/net/ethernet-phy.yaml X-ALTLINUX-SKIP --- arch/arm64/boot/dts/baikal/bm1000.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/baikal/bm1000.dtsi b/arch/arm64/boot/dts/baikal/bm1000.dtsi index cc4e7d199..390f0a0c6 100644 --- a/arch/arm64/boot/dts/baikal/bm1000.dtsi +++ b/arch/arm64/boot/dts/baikal/bm1000.dtsi @@ -850,7 +850,7 @@ gmdio0: gmac0_mdio { #size-cells = <0>; gmac0_phy: ethernet-phy@3 { - compatible = "micrel,ksz9031", "ethernet-phy-id0022.1620", "ethernet-phy-ieee802.3-c22"; + compatible = "ethernet-phy-id0022.1620", "ethernet-phy-ieee802.3-c22"; reg = <0x3>; txd0-skew-ps = <0>; txd1-skew-ps = <0>; @@ -889,7 +889,7 @@ gmdio1: gmac1_mdio { #size-cells = <0>; gmac1_phy: ethernet-phy@3 { - compatible = "micrel,ksz9031", "ethernet-phy-id0022.1620", "ethernet-phy-ieee802.3-c22"; + compatible = "ethernet-phy-id0022.1620", "ethernet-phy-ieee802.3-c22"; reg = <0x3>; txd0-skew-ps = <0>; txd1-skew-ps = <0>; -- 2.33.2