[OpenWrt-Devel] [PATCH 3/3] ramips: Disable all ethernet ports except port 4 on HT-TM02.
John Crispin
blogic at openwrt.org
Fri Dec 11 06:29:00 EST 2015
On 05/12/2015 12:04, Vittorio G (VittGam) wrote:
> 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 at vittgam.net>
>
> ---
>
> --- a/target/linux/ramips/dts/HT-TM02.dts
> +++ b/target/linux/ramips/dts/HT-TM02.dts
> @@ -63,6 +63,7 @@
>
> esw at 10110000 {
> ralink,portmap = <0x10>;
> + ralink,portdisable = <0x2f>;
> };
i think it makes more sense to derive 0x2f from the 0x10 as both
together will always be 0x3f
John
>
> wmac at 10180000 {
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
>
_______________________________________________
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