aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm27xx/patches-5.10/950-0719-ARM-dts-Correct-CM4-PHY-MDIO-address.patch
blob: 5be9f22ad733ae4636f5597d4abc2f4520b54aa0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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>;
 	};
 };