summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/cadence/macb.h
diff options
context:
space:
mode:
authorMichael Grzeschik <m.grzeschik@pengutronix.de>2017-06-23 17:54:10 +0300
committerDavid S. Miller <davem@davemloft.net>2017-06-25 22:21:43 +0300
commitdacdbb4dfc1a1a1378df8ebc914d4fe82259ed46 (patch)
tree601258bc209ef5000cfe7170a7603f61b8e3033d /drivers/net/ethernet/cadence/macb.h
parent24a72b77f3407a9ac173aa6978f44106ed0742d7 (diff)
downloadlinux-dacdbb4dfc1a1a1378df8ebc914d4fe82259ed46.tar.xz
net: macb: add fixed-link node support
In case the MACB is directly connected to a non-mdio PHY/device, it should be possible to provide a fixed link configuration in the DT. Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/cadence/macb.h')
-rw-r--r--drivers/net/ethernet/cadence/macb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/cadence/macb.h b/drivers/net/ethernet/cadence/macb.h
index ec037b0fa2a4..2510661102ba 100644
--- a/drivers/net/ethernet/cadence/macb.h
+++ b/drivers/net/ethernet/cadence/macb.h
@@ -930,6 +930,7 @@ struct macb {
struct macb_or_gem_ops macbgem_ops;
struct mii_bus *mii_bus;
+ struct device_node *phy_node;
int link;
int speed;
int duplex;