diff options
author | Nimrod Andy <B38611@freescale.com> | 2014-12-24 17:30:39 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-12-31 13:06:50 -0500 |
commit | de40ed31b3c577cefd7b54972365a272ecbe9dd6 (patch) | |
tree | 2d74ddd3e075563f713332dfe0449bd5567a557c /Documentation | |
parent | 03366a33db91abd298457b0f707187247f1a6b7d (diff) | |
download | blackbird-obmc-linux-de40ed31b3c577cefd7b54972365a272ecbe9dd6.tar.gz blackbird-obmc-linux-de40ed31b3c577cefd7b54972365a272ecbe9dd6.zip |
net: fec: add Wake-on-LAN support
Support for Wake-on-LAN using Magic Packet. ENET IP supports sleep mode
in low power status, when system enter suspend status, Magic packet can
wake up system even if all SOC clocks are gate. The patch doing below things:
- flagging the device as a wakeup source for the system, as well as
its Wake-on-LAN interrupt
- prepare the hardware for entering WoL mode
- add standard ethtool WOL interface
- enable the ENET interrupt to wake us
Tested on i.MX6q/dl sabresd, sabreauto boards, i.MX6SX arm2 boards.
Signed-off-by: Fugang Duan <B38611@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/net/fsl-fec.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/net/fsl-fec.txt b/Documentation/devicetree/bindings/net/fsl-fec.txt index 0c8775c45798..a9eb611bee68 100644 --- a/Documentation/devicetree/bindings/net/fsl-fec.txt +++ b/Documentation/devicetree/bindings/net/fsl-fec.txt @@ -22,6 +22,8 @@ Optional properties: - fsl,num-rx-queues : The property is valid for enet-avb IP, which supports hw multi queues. Should specify the rx queue number, otherwise set rx queue number to 1. +- fsl,magic-packet : If present, indicates that the hardware supports waking + up via magic packet. Optional subnodes: - mdio : specifies the mdio bus in the FEC, used as a container for phy nodes |