Discussion:
[PATCH 0/4] Fix Wake on lan with FEC on i.MX6
(too old to reply)
Martin Fuzzey
2020-03-17 16:50:02 UTC
Permalink
This series fixes WoL support with the FEC on i.MX6
The support was already in mainline but seems to have bitrotted
somewhat.

Only tested with i.MX6DL


Martin Fuzzey (4):
net: fec: set GPR bit on suspend by DT connfiguration.
ARM: dts: imx6: Use gpc for FEC interrupt controller to fix wake on
LAN.
dt-bindings: fec: document the new fsl,stop-mode property
ARM: dts: imx6: add fsl,stop-mode property.

Documentation/devicetree/bindings/net/fsl-fec.txt | 5 ++
arch/arm/boot/dts/imx6qdl.dtsi | 6 +-
drivers/net/ethernet/freescale/fec.h | 7 +++
drivers/net/ethernet/freescale/fec_main.c | 72 ++++++++++++++++++++---
4 files changed, 80 insertions(+), 10 deletions(-)
--
1.9.1
Martin Fuzzey
2020-03-17 16:50:06 UTC
Permalink
This is required for wake on lan on i.MX6

Signed-off-by: Martin Fuzzey <***@flowbird.group>
---
arch/arm/boot/dts/imx6qdl.dtsi | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi
index bc488df..49c0527 100644
--- a/arch/arm/boot/dts/imx6qdl.dtsi
+++ b/arch/arm/boot/dts/imx6qdl.dtsi
@@ -1045,6 +1045,7 @@
<&clks IMX6QDL_CLK_ENET>,
<&clks IMX6QDL_CLK_ENET_REF>;
clock-names = "ipg", "ahb", "ptp";
+ fsl,stop-mode = <&gpr 0x34 27>;
status = "disabled";
};
--
1.9.1
Loading...