From 36d4c2272ec65490232e70d45b945b9f467b78f0 Mon Sep 17 00:00:00 2001 From: Tobias Welz Date: Mon, 3 Aug 2020 21:39:43 +0200 Subject: [PATCH 1/2] ramips: disable unused phy ports of WizFi630S WIZnet WizFi630S is using only 3 of the phy ports. The unused phy ports draw unnecessarily power. This is disabling the unused phy ports. Signed-off-by: Tobias Welz --- target/linux/ramips/dts/mt7628an_wiznet_wizfi630s.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/ramips/dts/mt7628an_wiznet_wizfi630s.dts b/target/linux/ramips/dts/mt7628an_wiznet_wizfi630s.dts index 0aeff750e9..97755c2da1 100644 --- a/target/linux/ramips/dts/mt7628an_wiznet_wizfi630s.dts +++ b/target/linux/ramips/dts/mt7628an_wiznet_wizfi630s.dts @@ -172,6 +172,7 @@ &esw { mediatek,portmap = <0x3e>; + mediatek,portdisable = <0x26>; }; &sdhci { From b735bbcb1876196f33f044ed07325f8959a8967f Mon Sep 17 00:00:00 2001 From: Tobias Welz Date: Mon, 3 Aug 2020 21:29:25 +0200 Subject: [PATCH 2/2] ramips: remove doublet entry in WizFi630S dts file &wmac entry in WIZnet WizFi630S dts file was existing two times. This is removing one of them. Signed-off-by: Tobias Welz --- target/linux/ramips/dts/mt7628an_wiznet_wizfi630s.dts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/target/linux/ramips/dts/mt7628an_wiznet_wizfi630s.dts b/target/linux/ramips/dts/mt7628an_wiznet_wizfi630s.dts index 97755c2da1..41634c6002 100644 --- a/target/linux/ramips/dts/mt7628an_wiznet_wizfi630s.dts +++ b/target/linux/ramips/dts/mt7628an_wiznet_wizfi630s.dts @@ -106,10 +106,6 @@ }; }; -&wmac { - status = "okay"; -}; - &spi0 { status = "okay";