net: mt7628-eth: remove hardcoded gpio settings and regmap-based phy reset
authorWeijie Gao <weijie.gao@mediatek.com>
Wed, 25 Sep 2019 09:45:32 +0000 (17:45 +0800)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Fri, 25 Oct 2019 15:20:44 +0000 (17:20 +0200)
commit2734fdef5cea87281f6dcc621fa78b4f0b89ad30
treec2b4e9bd24f9beb1ebfa03e84680eec21a34016a
parent4cce51141f2d65e3a76b618159cc96dda099810e
net: mt7628-eth: remove hardcoded gpio settings and regmap-based phy reset

This patch removes hardcoded gpio settings as they have been replaced by
pinctrl in dts, and also replaces regmap-based phy reset with a more
generic reset controller.

Reviewed-by: Stefan Roese <sr@denx.de>
Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
drivers/net/mt7628-eth.c