Browse Source

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 <[email protected]>
Adrian Schmutzler 5 years ago
parent
commit
18fbb9aa21

+ 0 - 9
target/linux/ath79/dts/qca9531_comfast_cf-e130n-v2.dts

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

+ 0 - 8
target/linux/ath79/dts/qca9533_mikrotik_routerboard-lhg-hb.dtsi

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