ramips: mt7620: power up ephy port 4
authorPawel Dembicki <paweldembicki@gmail.com>
Mon, 19 Feb 2018 21:15:56 +0000 (22:15 +0100)
committerMathias Kresin <dev@kresin.me>
Tue, 6 Mar 2018 18:49:05 +0000 (19:49 +0100)
commit39b5218434d38715a85b7bd6dd8d279c3e1e905d
tree579bcb6ebab1d59c8835fe96f2b512baa9fdd419
parentb562c0c91b0cfb7a02a7ca69063bebda6225a672
ramips: mt7620: power up ephy port 4

In some boards port 4 of mt7620 switch is powered down in bootloader
configuration as lan/wan package leak mitigation.

Reset ephy port 4 to default settings to power up the port.

Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
[clarify issue in commit message]
Signed-off-by: Mathias Kresin <dev@kresin.me>
target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/gsw_mt7620.c
target/linux/ramips/files-4.9/drivers/net/ethernet/mtk/gsw_mt7620.c