[PATCH 3/5] dts: stm32mp157c-odyssey: fix incorrect PHY address

Heesub Shin heesub at gmail.com
Sun Apr 28 16:24:04 CEST 2024


In Odyssey board, KSZ9031 is at the PHY address 0x7, not 0x0. This
commit fixes it.

Signed-off-by: Heesub Shin <heesub at gmail.com>
---
 arch/arm/dts/stm32mp157c-odyssey.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/dts/stm32mp157c-odyssey.dts b/arch/arm/dts/stm32mp157c-odyssey.dts
index 53ba018197..b6210cf8b2 100644
--- a/arch/arm/dts/stm32mp157c-odyssey.dts
+++ b/arch/arm/dts/stm32mp157c-odyssey.dts
@@ -81,8 +81,8 @@
 		#address-cells = <1>;
 		#size-cells = <0>;
 		compatible = "snps,dwmac-mdio";
-		phy0: ethernet-phy at 0 {
-			reg = <0>;
+		phy0: ethernet-phy at 7 {
+			reg = <7>;
 		};
 	};
 };
-- 
2.34.1



More information about the U-Boot mailing list