aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts
diff options
context:
space:
mode:
authorMichael Pratt <mcpratt@pm.me>2021-01-11 03:34:33 -0500
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2021-02-08 16:34:18 +0100
commitf5f01bcacd7838889cb83defca94af34e64a9141 (patch)
tree44e9038eb3d1262b94bdb6dfbe85b0914c4789d2 /target/linux/ath79/dts
parent88079bd6165b5cf9f3225768da2ab265427f0004 (diff)
downloadupstream-f5f01bcacd7838889cb83defca94af34e64a9141.tar.gz
upstream-f5f01bcacd7838889cb83defca94af34e64a9141.tar.bz2
upstream-f5f01bcacd7838889cb83defca94af34e64a9141.zip
ath79: use internal switch for EAP300 v2
Have the port use GMAC1 with internal switch which fixes the issue of the ethernet LED not functioning The LED is triggered by the internal switch, not a GPIO. The GPIO for the ethernet LED was added in ath79 as it was defined in the ar71xx target but it was not functioning in ath79 for a previously unknown reason. It is unknown why that GPIO was defined as an LED in ar71xx. Signed-off-by: Michael Pratt <mcpratt@pm.me> [drop unrelated changes: model property and SPI max frequency] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ath79/dts')
-rw-r--r--target/linux/ath79/dts/ar9341_engenius_eap300-v2.dts20
1 files changed, 1 insertions, 19 deletions
diff --git a/target/linux/ath79/dts/ar9341_engenius_eap300-v2.dts b/target/linux/ath79/dts/ar9341_engenius_eap300-v2.dts
index 7aa89a4cce..7900557775 100644
--- a/target/linux/ath79/dts/ar9341_engenius_eap300-v2.dts
+++ b/target/linux/ath79/dts/ar9341_engenius_eap300-v2.dts
@@ -43,11 +43,6 @@
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
-
- lan {
- label = "blue:lan";
- gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
- };
};
virtual_flash {
@@ -145,21 +140,8 @@
};
};
-&eth0 {
- status = "okay";
-
- mtd-mac-address = <&art 0x0>;
-
- phy-handle = <&swphy0>;
-
- gmac-config {
- device = <&gmac>;
- switch-phy-swap = <1>;
- };
-};
-
&eth1 {
- compatible = "syscon", "simple-mfd";
+ mtd-mac-address = <&art 0x0>;
};
&wmac {