Skip to content

Commit 4905662

Browse files
nbuchwitzpelwell
authored andcommitted
dts: cm5: Fix ethernet phy address
CM5 features the same Broadcom BCM54213PE phy for ethernet as present on pi5, but with a different mdio address (0 instead of 1 on pi5). Fix this and use correct mdio address 0. While at it set interrupt_parent to rp1_gpio instead of gpio (which is an alias to the former) as this is the handle already used in this block. Signed-off-by: Nicolai Buchwitz <nb@tipi-net.de>
1 parent e57003a commit 4905662

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

arch/arm64/boot/dts/broadcom/bcm2712-rpi-cm5.dtsi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,10 +159,10 @@ rp1_target: &pcie2 {
159159
phy-reset-gpios = <&rp1_gpio 32 GPIO_ACTIVE_LOW>;
160160
phy-reset-duration = <5>;
161161

162-
phy1: ethernet-phy@1 {
163-
reg = <0x1>;
162+
phy1: ethernet-phy@0 {
163+
reg = <0x0>;
164164
brcm,powerdown-enable;
165-
interrupt-parent = <&gpio>;
165+
interrupt-parent = <&rp1_gpio>;
166166
interrupts = <37 IRQ_TYPE_LEVEL_LOW>;
167167
eee-broken-1000t;
168168
eee-broken-100tx;

0 commit comments

Comments
 (0)