aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-08-12 14:26:44 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-08-25 20:54:24 +0200
commit18fbb9aa21740aa698af3d7e8e53a62d8ff014c9 (patch)
tree98c60594cf707edd4fdd6ecbe7fd8a75c2e6beea /target/linux/ath79/dts
parente7c235612b2b0953f84dcc0898eb569873acb277 (diff)
downloadupstream-18fbb9aa21740aa698af3d7e8e53a62d8ff014c9.tar.gz
upstream-18fbb9aa21740aa698af3d7e8e53a62d8ff014c9.tar.bz2
upstream-18fbb9aa21740aa698af3d7e8e53a62d8ff014c9.zip
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>
Diffstat (limited to 'target/linux/ath79/dts')
-rw-r--r--target/linux/ath79/dts/qca9531_comfast_cf-e130n-v2.dts9
-rw-r--r--target/linux/ath79/dts/qca9533_mikrotik_routerboard-lhg-hb.dtsi8
2 files changed, 0 insertions, 17 deletions
diff --git a/target/linux/ath79/dts/qca9531_comfast_cf-e130n-v2.dts b/target/linux/ath79/dts/qca9531_comfast_cf-e130n-v2.dts
index a6ef6ad99c..2355176356 100644
--- a/target/linux/ath79/dts/qca9531_comfast_cf-e130n-v2.dts
+++ b/target/linux/ath79/dts/qca9531_comfast_cf-e130n-v2.dts
@@ -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 {
diff --git a/target/linux/ath79/dts/qca9533_mikrotik_routerboard-lhg-hb.dtsi b/target/linux/ath79/dts/qca9533_mikrotik_routerboard-lhg-hb.dtsi
index 32cc6d3731..86249398c9 100644
--- a/target/linux/ath79/dts/qca9533_mikrotik_routerboard-lhg-hb.dtsi
+++ b/target/linux/ath79/dts/qca9533_mikrotik_routerboard-lhg-hb.dtsi
@@ -67,15 +67,7 @@
};
};
-&eth0 {
- compatible = "syscon", "simple-mfd";
-};
-
&eth1 {
- status = "okay";
-
- phy-handle = <&swphy0>;
-
gmac-config {
device = <&gmac>;
};