5be9f22ad733ae4636f5597d4abc2f4520b54aa0
[openwrt/staging/chunkeey.git] / target / linux / bcm27xx / patches-5.10 / 950-0719-ARM-dts-Correct-CM4-PHY-MDIO-address.patch
1 From d0edf1b5178fc3a3ef093755c209cad43e6d8426 Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.com>
3 Date: Mon, 26 Jul 2021 13:24:09 +0100
4 Subject: [PATCH] ARM: dts: Correct CM4 PHY MDIO address
5
6 The firmware patches the PHY MDIO address in the DTB to cope with
7 variations between board revisions, but the default for the CM4 PHY
8 is currently 1 when it should be 0.
9
10 Reported-by: Stefan Wahren <stefan.wahren@i2se.com>
11 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
12 ---
13 arch/arm/boot/dts/bcm2711-rpi-cm4.dts | 4 ++--
14 1 file changed, 2 insertions(+), 2 deletions(-)
15
16 --- a/arch/arm/boot/dts/bcm2711-rpi-cm4.dts
17 +++ b/arch/arm/boot/dts/bcm2711-rpi-cm4.dts
18 @@ -277,9 +277,9 @@
19 };
20
21 &genet_mdio {
22 - phy1: ethernet-phy@1 {
23 + phy1: ethernet-phy@0 {
24 /* No PHY interrupt */
25 - reg = <0x1>;
26 + reg = <0x0>;
27 };
28 };
29