diff options
author | Michael Grzeschik <m.grzeschik@pengutronix.de> | 2017-06-23 17:54:10 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-25 22:21:43 +0300 |
commit | dacdbb4dfc1a1a1378df8ebc914d4fe82259ed46 (patch) | |
tree | 601258bc209ef5000cfe7170a7603f61b8e3033d /drivers/net/ethernet/cadence/macb.h | |
parent | 24a72b77f3407a9ac173aa6978f44106ed0742d7 (diff) | |
download | linux-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.h | 1 |
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; |