diff options
author | John Crispin <blogic@openwrt.org> | 2016-05-02 18:51:05 +0000 |
---|---|---|
committer | Luka Perkov <luka@openwrt.org> | 2016-06-19 19:21:05 +0200 |
commit | d24cb6bdfbc175b96b8f3cb9578948e0bb14c570 (patch) | |
tree | 72edf895f4010e6ac49a395b5b5caf1b93438b0c /target/linux/ramips/dts/HT-TM02.dts | |
parent | bd083bb79fd3e6b4fb89bcbab204a485ab76fed6 (diff) | |
download | master-187ad058-d24cb6bdfbc175b96b8f3cb9578948e0bb14c570.tar.gz master-187ad058-d24cb6bdfbc175b96b8f3cb9578948e0bb14c570.tar.bz2 master-187ad058-d24cb6bdfbc175b96b8f3cb9578948e0bb14c570.zip |
ramips: Get rt3050 ethernet ports to be disabled from the device tree.
This patch allows configuring ports to be disabled in the device tree; this
saves power, since disabling ports here actually disables power to ethernet
PHYs.
Line 444 enables all ethernet ports, so line 487 is getting zero ports to be
disabled, except for port 5 in SoCs where this is not implemented as it will
be sticky disabled in register POC0. Because of this, the code will still read
the switch configuration and OR it to the device tree setting.
Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49290 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/dts/HT-TM02.dts')
0 files changed, 0 insertions, 0 deletions