ath79: fix ethernet setup for some qca953x devices

On Comfast CF-E130N v2 and Mikrotik LHG HB board, the config
found in DTS appears to be strange:

- eth0 has "syscon","simple-mfd" set although it's not enabled
- eth1 is enabled redundantly (already "okay" in qca953x.dtsi)
- phy-handle is set for eth1 in DTS although it has a fixed-link
  in qca953x.dtsi

This seems like a copy-paste gone wrong. Remove the named options.

Run-tested on MikroTik LHG 2.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
master
Adrian Schmutzler 2020-08-12 14:26:44 +02:00
parent e7c235612b
commit 18fbb9aa21
2 changed files with 0 additions and 17 deletions

View File

@ -122,18 +122,9 @@
&uart {
status = "okay";
};
&eth0 {
compatible = "syscon", "simple-mfd";
};
&eth1 {
status = "okay";
phy-handle = <&swphy0>;
mtd-mac-address = <&art 0x0>;
gmac-config {

View File

@ -67,15 +67,7 @@
};
};
&eth0 {
compatible = "syscon", "simple-mfd";
};
&eth1 {
status = "okay";
phy-handle = <&swphy0>;
gmac-config {
device = <&gmac>;
};