diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2014-07-01 21:08:40 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-07-07 20:56:47 -0700 |
commit | 83e82f4c706bbca3e2d9d7962e63605cc7a5fbd8 (patch) | |
tree | 5b594a1a1946c8c42609ae8ded841067bf94dd68 /Documentation | |
parent | 9d34c1cb01ddef8e99c7855513a578c066f8300f (diff) | |
download | op-kernel-dev-83e82f4c706bbca3e2d9d7962e63605cc7a5fbd8.zip op-kernel-dev-83e82f4c706bbca3e2d9d7962e63605cc7a5fbd8.tar.gz |
net: systemport: add Wake-on-LAN support
Support for Wake-on-LAN using Magic Packet with or without SecureOn
password is implemented doing the following:
- setting the password to the relevant UniMAC registers
- 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
- enabling the MPD interrupt to wake us
The Device Tree binding documentation is also reflected to specify the
third optional Wake-on-LAN interrupt line.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/net/broadcom-systemport.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/net/broadcom-systemport.txt b/Documentation/devicetree/bindings/net/broadcom-systemport.txt index c183ea9..aa7ad62 100644 --- a/Documentation/devicetree/bindings/net/broadcom-systemport.txt +++ b/Documentation/devicetree/bindings/net/broadcom-systemport.txt @@ -4,7 +4,8 @@ Required properties: - compatible: should be one of "brcm,systemport-v1.00" or "brcm,systemport" - reg: address and length of the register set for the device. - interrupts: interrupts for the device, first cell must be for the the rx - interrupts, and the second cell should be for the transmit queues + interrupts, and the second cell should be for the transmit queues. An + optional third interrupt cell for Wake-on-LAN can be specified - local-mac-address: Ethernet MAC address (48 bits) of this adapter - phy-mode: Should be a string describing the PHY interface to the Ethernet switch/PHY, see Documentation/devicetree/bindings/net/ethernet.txt |