Skip to content

Commit 296b286

Browse files
committed
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: openwrt/openwrt#21836 Link: openwrt/openwrt#22188 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
1 parent d527fc3 commit 296b286

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_avm_fritz7412.dts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,13 @@
186186
lantiq,gphy-mode = <GPHY_MODE_FE>;
187187
};
188188

189+
/* This PHY is not used, but try to load the 100M FW too */
190+
&gphy1 {
191+
status = "disabled";
192+
193+
lantiq,gphy-mode = <GPHY_MODE_FE>;
194+
};
195+
189196
&gswip_mdio {
190197
phy11: ethernet-phy@11 {
191198
reg = <0x11>;

target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_netgear_dm200.dts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,13 @@
9797
nvmem-cell-names = "mac-address";
9898
};
9999

100+
/* This PHY is not used, but try to load the 100M FW too */
101+
&gphy0 {
102+
status = "disabled";
103+
104+
lantiq,gphy-mode = <GPHY_MODE_FE>;
105+
};
106+
100107
&gphy1 {
101108
lantiq,gphy-mode = <GPHY_MODE_FE>;
102109
};

0 commit comments

Comments
 (0)