[OpenWrt-Devel] [PATCH 6/6] ramips: Disable all ethernet ports except port 0 on A5-V11.

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


Port 0 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/A5-V11.dts
+++ b/target/linux/ramips/dts/A5-V11.dts
@@ -62,7 +62,8 @@
 	};
 
 	esw at 10110000 {
-		mediatek,portmap = <0x2f>;
+		mediatek,portmap = <0x1>;
+		mediatek,portdisable = <0x3e>;
 	};
 
 	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