[Arm64-baikalm] [PATCH 1/2] arm64: device tree: BE-M1000: fixed PHY binding description

Alexey Sheplyakov asheplyakov на basealt.ru
Ср Янв 12 16:44:06 MSK 2022


From: Alexey Sheplyakov <asheplyakov at altlinux.org>

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
---
 src/kernel/arch/arm64/boot/dts/baikal/bm1000.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/kernel/arch/arm64/boot/dts/baikal/bm1000.dtsi b/src/kernel/arch/arm64/boot/dts/baikal/bm1000.dtsi
index bc69835c4..351775a9d 100644
--- a/src/kernel/arch/arm64/boot/dts/baikal/bm1000.dtsi
+++ b/src/kernel/arch/arm64/boot/dts/baikal/bm1000.dtsi
@@ -849,7 +849,7 @@
 				#size-cells = <0>;
 
 				gmac0_phy: ethernet-phy at 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>;
@@ -888,7 +888,7 @@
 				#size-cells = <0>;
 
 				gmac1_phy: ethernet-phy at 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



Подробная информация о списке рассылки Arm64-baikalm