diff options
author | blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2016-05-02 18:51:05 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2016-05-10 10:43:12 +0200 |
commit | 12758e32d3309c5147bd342525320ad704e74a07 (patch) | |
tree | 15c0a2e284c2f2705ffa1413f9b6e4827822d7ee /target/linux/ramips/dts/ArcherC20i.dts | |
parent | e626d4f7021a1bab63c0e3091fee26e6fafe202a (diff) | |
download | mtk-20170518-12758e32d3309c5147bd342525320ad704e74a07.zip mtk-20170518-12758e32d3309c5147bd342525320ad704e74a07.tar.gz mtk-20170518-12758e32d3309c5147bd342525320ad704e74a07.tar.bz2 |
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>
SVN-Revision: 49290
Diffstat (limited to 'target/linux/ramips/dts/ArcherC20i.dts')
0 files changed, 0 insertions, 0 deletions