Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: imx6: Use gpc for FEC interrupt controller to fix wake on LAN.

In order to wake from suspend by ethernet magic packets the GPC
must be used as intc does not have wakeup functionality.

But the FEC DT node currently uses interrupt-extended,
specificying intc, thus breaking WoL.

This problem is probably fallout from the stacked domain conversion
as intc used to chain to GPC.

So replace "interrupts-extended" by "interrupts" to use the default
parent which is GPC.

Fixes: b923ff6af0d5 ("ARM: imx6: convert GPC to stacked domains")

Signed-off-by: Martin Fuzzey <martin.fuzzey@flowbird.group>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Martin Fuzzey and committed by
David S. Miller
4141f1a4 da722186

+2 -4
+2 -3
arch/arm/boot/dts/imx6qdl.dtsi
··· 1039 1039 compatible = "fsl,imx6q-fec"; 1040 1040 reg = <0x02188000 0x4000>; 1041 1041 interrupt-names = "int0", "pps"; 1042 - interrupts-extended = 1043 - <&intc 0 118 IRQ_TYPE_LEVEL_HIGH>, 1044 - <&intc 0 119 IRQ_TYPE_LEVEL_HIGH>; 1042 + interrupts = <0 118 IRQ_TYPE_LEVEL_HIGH>, 1043 + <0 119 IRQ_TYPE_LEVEL_HIGH>; 1045 1044 clocks = <&clks IMX6QDL_CLK_ENET>, 1046 1045 <&clks IMX6QDL_CLK_ENET>, 1047 1046 <&clks IMX6QDL_CLK_ENET_REF>;
-1
arch/arm/boot/dts/imx6qp.dtsi
··· 77 77 }; 78 78 79 79 &fec { 80 - /delete-property/interrupts-extended; 81 80 interrupts = <0 118 IRQ_TYPE_LEVEL_HIGH>, 82 81 <0 119 IRQ_TYPE_LEVEL_HIGH>; 83 82 };