ARM: imx6qp: adapt DT to changed FEC interrupts
authorLucas Stach <l.stach@pengutronix.de>
Fri, 20 Jan 2017 16:17:40 +0000 (17:17 +0100)
committerShawn Guo <shawnguo@kernel.org>
Sun, 29 Jan 2017 01:55:58 +0000 (09:55 +0800)
On i.MX6QP the FEC interrupts are wired to the GPC, just like all other
device interrupts. This allows to FEC to wake the CPU from WFI, but for
this to work the kernel needs to know about the new IRQ routing.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6qp.dtsi

index 0d4977ab7d298ac7ca5ede7274c160c2f73a6ba9..24d071f5d9cd2c9b68813f7ef49dfe557f838ff3 100644 (file)
        };
 };
 
+&fec {
+       /delete-property/interrupts-extended;
+       interrupts = <0 118 IRQ_TYPE_LEVEL_HIGH>,
+                    <0 119 IRQ_TYPE_LEVEL_HIGH>;
+};
+
 &ldb {
        clocks = <&clks IMX6QDL_CLK_LDB_DI0_SEL>, <&clks IMX6QDL_CLK_LDB_DI1_SEL>,
                 <&clks IMX6QDL_CLK_IPU1_DI0_SEL>, <&clks IMX6QDL_CLK_IPU1_DI1_SEL>,