ath79: use upstream properties to disable EEE
authorDavid Bauer <mail@david-bauer.net>
Tue, 21 Jan 2020 20:11:19 +0000 (21:11 +0100)
committerDavid Bauer <mail@david-bauer.net>
Wed, 22 Jan 2020 21:53:55 +0000 (22:53 +0100)
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@david-bauer.net>
target/linux/ath79/dts/qca9558_devolo_dvl1xxx.dtsi
target/linux/ath79/dts/qca9558_engenius_ecb1750.dts
target/linux/ath79/dts/qca9558_ocedo_koala.dts
target/linux/ath79/dts/qca9558_tplink_re350k-v1.dts

index 2cdb1b8373ca25157b17ff302370b4b1f9c1eda6..42b45c590098e09297f89de5c466899118a1a12f 100644 (file)
 
        phy4: ethernet-phy@4 {
                reg = <4>;
-               at803x-disable-smarteee;
+               eee-broken-100tx;
+               eee-broken-1000t;
        };
 };
 
index 7953ed132539fbb989a320b6705caf02e3bb3512..3ccf92a9f7799a63a615d9ade77af5c39d705eea 100644 (file)
 
        phy5: ethernet-phy@5 {
                reg = <5>;
-               at803x-disable-smarteee;
+               eee-broken-100tx;
+               eee-broken-1000t;
        };
 };
 
index 5e3abdbbb8ec2688b2570fd36f2009a923908f96..77c332cc4e988b542668545a9f137d6bb0db2a3d 100644 (file)
 
        phy5: ethernet-phy@5 {
                reg = <5>;
-               at803x-disable-smarteee;
+               eee-broken-100tx;
+               eee-broken-1000t;
        };
 };
 
index a78a9d5be137f0191939c5ed05b23b9e4030fdc5..a797750e7e34b1409ce9cb7236a38cc0d8429927 100644 (file)
@@ -92,7 +92,8 @@
                        reg = <4>;
 
                        phy-mode = "rgmii-rxid";
-                       at803x-disable-smarteee;
+                       eee-broken-100tx;
+                       eee-broken-1000t;
                };
        };
 };