ODROID-C5: net: dwmac-meson8b: Add WOL with external ethernet phy
This patch adds to Wake On Lan with an extern ethernet phy and the wake
up is triggered through a GPIO pin. GPIOH_10 on ODROID-C5 is connected
to #INT of RTL8211F.
The method to enable WOL in generic Linux:
$ sudo ethtool -s eth0 wol ug
$ sudo systemctl suspend
The Amlogic's method is:
$ echo 1 | sudo tee /sys/class/ethernet/wol
$ sudo systemctl suspend
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I6032f8ff20be83ab1846580c854824014b957470
1 file changed