[OpenWrt-Devel] [PATCH 1/2] ath79: use upstream properties to disable EEE

David Bauer mail at david-bauer.net
Tue Jan 21 15:11:19 EST 2020


The hack-patch which introduced the "at803x-disable-smarteee" for
disabling SmartEEE did in fact not disable SmartEEE but rather disabled
802.3az "standard" EEE.

This can be done by using the upstream properties "eee-broken-100tx" and
"eee-broken-1000t". EEE is then disabled by the PHY subsystem.

Tested on devolo WiFi pro 1200e.

Signed-off-by: David Bauer <mail at david-bauer.net>
---
 target/linux/ath79/dts/qca9558_devolo_dvl1xxx.dtsi  | 3 ++-
 target/linux/ath79/dts/qca9558_engenius_ecb1750.dts | 3 ++-
 target/linux/ath79/dts/qca9558_ocedo_koala.dts      | 3 ++-
 target/linux/ath79/dts/qca9558_tplink_re350k-v1.dts | 3 ++-
 4 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/target/linux/ath79/dts/qca9558_devolo_dvl1xxx.dtsi b/target/linux/ath79/dts/qca9558_devolo_dvl1xxx.dtsi
index 2cdb1b8373..42b45c5900 100644
--- a/target/linux/ath79/dts/qca9558_devolo_dvl1xxx.dtsi
+++ b/target/linux/ath79/dts/qca9558_devolo_dvl1xxx.dtsi
@@ -105,7 +105,8 @@
 
 	phy4: ethernet-phy at 4 {
 		reg = <4>;
-		at803x-disable-smarteee;
+		eee-broken-100tx;
+		eee-broken-1000t;
 	};
 };
 
diff --git a/target/linux/ath79/dts/qca9558_engenius_ecb1750.dts b/target/linux/ath79/dts/qca9558_engenius_ecb1750.dts
index 7953ed1325..3ccf92a9f7 100644
--- a/target/linux/ath79/dts/qca9558_engenius_ecb1750.dts
+++ b/target/linux/ath79/dts/qca9558_engenius_ecb1750.dts
@@ -125,7 +125,8 @@
 
 	phy5: ethernet-phy at 5 {
 		reg = <5>;
-		at803x-disable-smarteee;
+		eee-broken-100tx;
+		eee-broken-1000t;
 	};
 };
 
diff --git a/target/linux/ath79/dts/qca9558_ocedo_koala.dts b/target/linux/ath79/dts/qca9558_ocedo_koala.dts
index 5e3abdbbb8..77c332cc4e 100644
--- a/target/linux/ath79/dts/qca9558_ocedo_koala.dts
+++ b/target/linux/ath79/dts/qca9558_ocedo_koala.dts
@@ -142,7 +142,8 @@
 
 	phy5: ethernet-phy at 5 {
 		reg = <5>;
-		at803x-disable-smarteee;
+		eee-broken-100tx;
+		eee-broken-1000t;
 	};
 };
 
diff --git a/target/linux/ath79/dts/qca9558_tplink_re350k-v1.dts b/target/linux/ath79/dts/qca9558_tplink_re350k-v1.dts
index a78a9d5be1..a797750e7e 100644
--- a/target/linux/ath79/dts/qca9558_tplink_re350k-v1.dts
+++ b/target/linux/ath79/dts/qca9558_tplink_re350k-v1.dts
@@ -92,7 +92,8 @@
 			reg = <4>;
 
 			phy-mode = "rgmii-rxid";
-			at803x-disable-smarteee;
+			eee-broken-100tx;
+			eee-broken-1000t;
 		};
 	};
 };
-- 
2.25.0


_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list