ramips: Disable all ethernet ports except port 4 on HT-TM02.
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 2 May 2016 18:51:09 +0000 (18:51 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 2 May 2016 18:51:09 +0000 (18:51 +0000)
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@vittgam.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49291 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/ramips/dts/HT-TM02.dts

index bb7f333..34491b4 100644 (file)
@@ -63,6 +63,7 @@
 
        esw@10110000 {
                mediatek,portmap = <0x10>;
+               mediatek,portdisable = <0x2f>;
        };
 
        wmac@10180000 {