ARM: dts: rockchip: add interrupt for Wake-on-Lan on RK3288
authorVincent Palatin <vpalatin@chromium.org>
Wed, 15 Jun 2016 18:32:23 +0000 (11:32 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Jun 2016 21:14:58 +0000 (14:14 -0700)
In order to use Wake-on-Lan on RK3288 integrated MAC, we need to wake-up
the CPU on the PMT interrupt when the MAC and the PHY are in low power mode.
Adding the interrupt declaration.

Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/arm/boot/dts/rk3288.dtsi

index 3b44ef3cff1234df7da4276cd5166a789ac0b2e5..3ebee530f2b03fbf62466975db18d9d7850f1602 100644 (file)
        gmac: ethernet@ff290000 {
                compatible = "rockchip,rk3288-gmac";
                reg = <0xff290000 0x10000>;
-               interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
-               interrupt-names = "macirq";
+               interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>,
+                               <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
+               interrupt-names = "macirq", "eth_wake_irq";
                rockchip,grf = <&grf>;
                clocks = <&cru SCLK_MAC>,
                        <&cru SCLK_MAC_RX>, <&cru SCLK_MAC_TX>,