net: sh_eth: Support reset GPIO both in mac and phy node
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Mon, 18 Jun 2018 02:03:01 +0000 (04:03 +0200)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Tue, 19 Jun 2018 04:15:55 +0000 (06:15 +0200)
commit159b3292266aab1064a594063f7ac5565140121a
treebd2031552aa4a130115426619e54ca556db2c5fb
parent701db6e9c62ce1f61ec83a75b0367b4d46284e27
net: sh_eth: Support reset GPIO both in mac and phy node

The recent DTs have the PHY reset GPIO in the PHY node rather than
the ethernet MAC node, support extracting the PHY reset GPIO info
from both the PHY node and ethernet MAC node.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Cc: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/sh_eth.c