[OpenWrt-Devel] [PATCH 5/6] ramips: Disable all ethernet ports except port 4 on HT-TM02.

Vittorio Gambaletta (VittGam) openwrt at vittgam.net
Sun May 1 23:34:54 EDT 2016


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 at vittgam.net>
---

--- a/target/linux/ramips/dts/HT-TM02.dts
+++ b/target/linux/ramips/dts/HT-TM02.dts
@@ -63,6 +63,7 @@
 
 	esw at 10110000 {
 		mediatek,portmap = <0x10>;
+		mediatek,portdisable = <0x2f>;
 	};
 
 	wmac at 10180000 {
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list