From a8898f1a1126279e4c316fd217365bc463f7db0b Mon Sep 17 00:00:00 2001 From: David Bauer Date: Tue, 21 Jan 2020 21:11:19 +0100 Subject: [PATCH] ath79: use upstream properties to disable EEE 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 --- 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 2cdb1b8373ca..42b45c590098 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@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 7953ed132539..3ccf92a9f779 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@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 5e3abdbbb8ec..77c332cc4e98 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@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 a78a9d5be137..a797750e7e34 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.30.2