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

Vittorio Gambaletta (VittGam) openwrt at vittgam.net
Mon May 2 00:32:59 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
@@ -60,7 +60,8 @@
 	};
 
 	esw at 10110000 {
-		ralink,portmap = <0x2f>;
+		ralink,portmap = <0x1>;
+		ralink,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