ramips: disable unused ethernet ports on VoCore
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Sat, 14 May 2016 10:40:03 +0000 (12:40 +0200)
committerÁlvaro Fernández Rojas <noltari@gmail.com>
Sat, 14 May 2016 10:40:03 +0000 (12:40 +0200)
Only ports 0 and 4 are used so disable the other ones in order to save power.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
target/linux/ramips/dts/VOCORE.dtsi

index cf775199fa88256a6e85c5643dfc80410b3ef307..93e601cdafe727f04b28b8450ba45ee5b4700ad3 100644 (file)
 };
 
 &esw {
-       mediatek,portmap = <0x17>;
+       mediatek,portmap = <0x11>;
+       mediatek,portdisable = <0x2e>;
 };
 
 &wmac {