Skip to content

Commit 8a0dfb5

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 <[email protected]>
1 parent ab4e0ea commit 8a0dfb5

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
@@ -164,10 +164,10 @@ rp1_target: &pcie2 {
164164
phy-reset-gpios = <&rp1_gpio 32 GPIO_ACTIVE_LOW>;
165165
phy-reset-duration = <5>;
166166

167-
phy1: ethernet-phy@1 {
168-
reg = <0x1>;
167+
phy1: ethernet-phy@0 {
168+
reg = <0x0>;
169169
brcm,powerdown-enable;
170-
interrupt-parent = <&gpio>;
170+
interrupt-parent = <&rp1_gpio>;
171171
interrupts = <37 IRQ_TYPE_LEVEL_LOW>;
172172
eee-broken-1000t;
173173
eee-broken-100tx;

0 commit comments

Comments
 (0)