openwrt/target/linux/bcm27xx/patches-5.10/950-0719-ARM-dts-Correct-CM4-PHY-MDIO-address.patch

30 lines
830 B
Diff
Raw Normal View History

From d0edf1b5178fc3a3ef093755c209cad43e6d8426 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.com>
Date: Mon, 26 Jul 2021 13:24:09 +0100
Subject: [PATCH] ARM: dts: Correct CM4 PHY MDIO address
The firmware patches the PHY MDIO address in the DTB to cope with
variations between board revisions, but the default for the CM4 PHY
is currently 1 when it should be 0.
Reported-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
---
arch/arm/boot/dts/bcm2711-rpi-cm4.dts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/arch/arm/boot/dts/bcm2711-rpi-cm4.dts
+++ b/arch/arm/boot/dts/bcm2711-rpi-cm4.dts
@@ -277,9 +277,9 @@
};
&genet_mdio {
- phy1: ethernet-phy@1 {
+ phy1: ethernet-phy@0 {
/* No PHY interrupt */
- reg = <0x1>;
+ reg = <0x0>;
};
};