From: blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Mon, 2 May 2016 18:51:09 +0000 (+0000)
Subject: ramips: Disable all ethernet ports except port 4 on HT-TM02.
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=d5114b509b5779c54e80b815ca5f8c6fdb43d34b;p=openwrt%2Fstaging%2Fsvanheule.git

ramips: Disable all ethernet ports except port 4 on HT-TM02.

Port 4 is the only ethernet port on this router, so disable all other PHYs
in order to save power.

Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>

SVN-Revision: 49291
---

diff --git a/target/linux/ramips/dts/HT-TM02.dts b/target/linux/ramips/dts/HT-TM02.dts
index bb7f33379f..34491b4775 100644
--- a/target/linux/ramips/dts/HT-TM02.dts
+++ b/target/linux/ramips/dts/HT-TM02.dts
@@ -63,6 +63,7 @@
 
 	esw@10110000 {
 		mediatek,portmap = <0x10>;
+		mediatek,portdisable = <0x2f>;
 	};
 
 	wmac@10180000 {