]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ARM: dts: imx6: Use gpc for FEC interrupt controller to fix wake on LAN.
authorMartin Fuzzey <martin.fuzzey@flowbird.group>
Thu, 2 Apr 2020 13:51:28 +0000 (15:51 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Apr 2020 01:23:38 +0000 (18:23 -0700)
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: 614b2677936b ("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>
arch/arm/boot/dts/imx6qdl.dtsi
arch/arm/boot/dts/imx6qp.dtsi

index 47982889d7747a6e37f0e92db187ac7b77efa66a..0da4cc29effd4fbf4c1bb5dea5ca92f3b8fbe600 100644 (file)
                                compatible = "fsl,imx6q-fec";
                                reg = <0x02188000 0x4000>;
                                interrupt-names = "int0", "pps";
-                               interrupts-extended =
-                                       <&intc 0 118 IRQ_TYPE_LEVEL_HIGH>,
-                                       <&intc 0 119 IRQ_TYPE_LEVEL_HIGH>;
+                               interrupts = <0 118 IRQ_TYPE_LEVEL_HIGH>,
+                                            <0 119 IRQ_TYPE_LEVEL_HIGH>;
                                clocks = <&clks IMX6QDL_CLK_ENET>,
                                         <&clks IMX6QDL_CLK_ENET>,
                                         <&clks IMX6QDL_CLK_ENET_REF>;
index 93b89dc1f53b5b20c1044ceead90f821b112c2fb..b310f13a53f22eb6c59ab2d3ca21b2803b5d7921 100644 (file)
@@ -77,7 +77,6 @@
 };
 
 &fec {
-       /delete-property/interrupts-extended;
        interrupts = <0 118 IRQ_TYPE_LEVEL_HIGH>,
                     <0 119 IRQ_TYPE_LEVEL_HIGH>;
 };