From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on sa.local.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.1 X-Yandex-Fwd: 2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1653064207; bh=XVMaNejo/j+NYh9oxHJiWgg8kmS82SGt7fgdcE2+qYI=; h=Reply-To:In-Reply-To:References:Date:Subject:Cc:To:From: Message-Id; b=Er44Gwy0JZjwDQwL9Tg0dHL0gnExs6WX6mPFb7zeVB13Z0YPGptf44xmf2i1E5mPA 8UnlbDgmEDHpbTn3lIf8OowDwK/5EeLREgvyjQEsEVLa8Ko8qA+uaeAq7BSQmDiLAB vTiCHm6Vj5mlmO68uDqWSXfUhXnOOHtEN/AAL9hg= Authentication-Results: sas2-c5dc729a3184.qloud-c.yandex.net; dkim=pass header.i=@yandex.ru From: asheplyakov@yandex.ru To: devel@lists.altlinux.org Date: Fri, 20 May 2022 20:28:43 +0400 Message-Id: <20220520162849.1554351-30-asheplyakov@yandex.ru> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220520162849.1554351-1-asheplyakov@yandex.ru> References: <20220520162849.1554351-1-asheplyakov@yandex.ru> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: Vitaly Chikunov , Igor Chudov , Alexey Sheplyakov , Evgeny Sinelnikov Subject: [devel] [PATCH 29/35] arm64: device tree: Baikal-M: fixed PHY binding description X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 May 2022 16:30:26 -0000 Archived-At: List-Archive: List-Post: From: Alexey Sheplyakov 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-feature-Baikal-M --- 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 cc4e7d199c27..390f0a0c6fdf 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.32.0