net: ravb: Support reset GPIO both in mac and phy node
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Mon, 18 Jun 2018 02:02:15 +0000 (04:02 +0200)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Tue, 19 Jun 2018 04:15:55 +0000 (06:15 +0200)
commit701db6e9c62ce1f61ec83a75b0367b4d46284e27
tree58d94e8c09349d2dbad88118335993aa5f83432b
parent536fb5d47c350de0a67279c344470119a9f53886
net: ravb: 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/ravb.c