ramips: Disable all ethernet ports except port 0 on A5-V11.
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 2 May 2016 18:51:13 +0000 (18:51 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 2 May 2016 18:51:13 +0000 (18:51 +0000)
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49292 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/ramips/dts/A5-V11.dts

index 63d9604..25ab924 100644 (file)
@@ -62,7 +62,8 @@
        };
 
        esw@10110000 {
        };
 
        esw@10110000 {
-               mediatek,portmap = <0x2f>;
+               mediatek,portmap = <0x1>;
+               mediatek,portdisable = <0x3e>;
        };
 
        wmac@10180000 {
        };
 
        wmac@10180000 {