ramips: mt7620: add EPHY base mdio address changing possibility
authorPawel Dembicki <paweldembicki@gmail.com>
Mon, 29 Oct 2018 20:31:25 +0000 (20:31 +0000)
committerPetr Štetiar <ynezz@true.cz>
Thu, 20 Jun 2019 06:48:19 +0000 (08:48 +0200)
commit391df3782914b7f84a78d415f21069a580335646
tree9f2c7b7634d17473895701bbe4d87c8bd2b930e8
parentc02a9a2514c488d25db1445b747b7ed51f3630fe
ramips: mt7620: add EPHY base mdio address changing possibility

In some boards is requred to change the ephy mdio base address.

This patch add of property "mediatek,ephy-base-address" in gsw
part, which allows to change ephy base address.

Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
[fixed indentation in header file]
Signed-off-by: Petr Štetiar <ynezz@true.cz>
target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/gsw_mt7620.c
target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/gsw_mt7620.h