From 3f638902b6010c565d5e76fc324d7b3251eacbad Mon Sep 17 00:00:00 2001
From: blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Mon, 2 May 2016 18:51:13 +0000
Subject: [PATCH] ramips: Disable all ethernet ports except port 0 on A5-V11.

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

SVN-Revision: 49292
---
 target/linux/ramips/dts/A5-V11.dts | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/target/linux/ramips/dts/A5-V11.dts b/target/linux/ramips/dts/A5-V11.dts
index 63d9604305..25ab924043 100644
--- a/target/linux/ramips/dts/A5-V11.dts
+++ b/target/linux/ramips/dts/A5-V11.dts
@@ -62,7 +62,8 @@
 	};
 
 	esw@10110000 {
-		mediatek,portmap = <0x2f>;
+		mediatek,portmap = <0x1>;
+		mediatek,portdisable = <0x3e>;
 	};
 
 	wmac@10180000 {
-- 
GitLab