diff options
author | Pawel Dembicki <paweldembicki@gmail.com> | 2018-10-29 20:31:25 +0000 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2019-06-20 08:48:19 +0200 |
commit | 391df3782914b7f84a78d415f21069a580335646 (patch) | |
tree | 9f2c7b7634d17473895701bbe4d87c8bd2b930e8 /target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/gsw_mt7620.h | |
parent | c02a9a2514c488d25db1445b747b7ed51f3630fe (diff) | |
download | upstream-391df3782914b7f84a78d415f21069a580335646.tar.gz upstream-391df3782914b7f84a78d415f21069a580335646.tar.bz2 upstream-391df3782914b7f84a78d415f21069a580335646.zip |
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>
Diffstat (limited to 'target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/gsw_mt7620.h')
-rw-r--r-- | target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/gsw_mt7620.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/gsw_mt7620.h b/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/gsw_mt7620.h index ae0b6de024..555a586c40 100644 --- a/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/gsw_mt7620.h +++ b/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/gsw_mt7620.h @@ -103,6 +103,7 @@ struct mt7620_gsw { int irq; int port4; unsigned long int autopoll; + u16 ephy_base; }; void mtk_switch_w32(struct mt7620_gsw *gsw, u32 val, unsigned reg); |