[devel] [PATCH 29/35] arm64: device tree: Baikal-M: fixed PHY binding description
asheplyakov на yandex.ru
asheplyakov на yandex.ru
Пт Май 20 19:28:43 MSK 2022
From: Alexey Sheplyakov <asheplyakov на 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
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
Подробная информация о списке рассылки Devel