]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
lantiq: dm200: Fix loading PHY firmware 22188/head
authorHauke Mehrtens <hauke@hauke-m.de>
Thu, 26 Feb 2026 19:49:17 +0000 (20:49 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 28 Feb 2026 13:36:16 +0000 (14:36 +0100)
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 <hauke@hauke-m.de>
target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_avm_fritz7412.dts
target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_netgear_dm200.dts

index d68ad0a868a023787e0232b58c183687189389d1..6aca5e53622da085c1d92ac333737e89d13534aa 100644 (file)
        lantiq,gphy-mode = <GPHY_MODE_FE>;
 };
 
+/* This PHY is not used, but try to load the 100M FW too */
+&gphy1 {
+       status = "disabled";
+
+       lantiq,gphy-mode = <GPHY_MODE_FE>;
+};
+
 &gswip_mdio {
        phy11: ethernet-phy@11 {
                reg = <0x11>;
index 3ce679796484581347498a6ae682da9563aef554..1ffbf1d447d8e324285080a7ecaf0f64dabc9e91 100644 (file)
        nvmem-cell-names = "mac-address";
 };
 
+/* This PHY is not used, but try to load the 100M FW too */
+&gphy0 {
+       status = "disabled";
+
+       lantiq,gphy-mode = <GPHY_MODE_FE>;
+};
+
 &gphy1 {
        lantiq,gphy-mode = <GPHY_MODE_FE>;
 };