From 296b286a673d2b152f84613d4a1ec4c3cb1b8f4e Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Thu, 26 Feb 2026 20:49:17 +0100 Subject: [PATCH] lantiq: dm200: Fix loading PHY firmware The device has 1 100MBit/s port. By default the PHY firmware is running in 1GBit/s mode. The driver will try to load the 1GBit/s firmware and fail if it is not there. Set the GPHY0 also to 100MBit/s mode. The driver uses all nodes independent of the status attribute. Do the same fix for AVM FRITZ!Box 7412 too. Reported-by: Achelon in OpenWrt forum Fixes: https://github.com/openwrt/openwrt/issues/21836 Link: https://github.com/openwrt/openwrt/pull/22188 Signed-off-by: Hauke Mehrtens --- .../files/arch/mips/boot/dts/lantiq/vr9_avm_fritz7412.dts | 7 +++++++ .../files/arch/mips/boot/dts/lantiq/vr9_netgear_dm200.dts | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_avm_fritz7412.dts b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_avm_fritz7412.dts index d68ad0a868..6aca5e5362 100644 --- a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_avm_fritz7412.dts +++ b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_avm_fritz7412.dts @@ -186,6 +186,13 @@ lantiq,gphy-mode = ; }; +/* This PHY is not used, but try to load the 100M FW too */ +&gphy1 { + status = "disabled"; + + lantiq,gphy-mode = ; +}; + &gswip_mdio { phy11: ethernet-phy@11 { reg = <0x11>; diff --git a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_netgear_dm200.dts b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_netgear_dm200.dts index 3ce6797964..1ffbf1d447 100644 --- a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_netgear_dm200.dts +++ b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_netgear_dm200.dts @@ -97,6 +97,13 @@ nvmem-cell-names = "mac-address"; }; +/* This PHY is not used, but try to load the 100M FW too */ +&gphy0 { + status = "disabled"; + + lantiq,gphy-mode = ; +}; + &gphy1 { lantiq,gphy-mode = ; };