ARM: dts: imx6: RDU2: Add Micrel PHY interrupt
authorAndrew Lunn <andrew@lunn.ch>
Mon, 17 Jul 2017 20:25:04 +0000 (22:25 +0200)
committerShawn Guo <shawnguo@kernel.org>
Tue, 25 Jul 2017 09:05:29 +0000 (17:05 +0800)
The Micrel PHY has its interrupt pin connected to a GPIO line. Wire
this up in the device tree.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Chris Healy <cphealy@gmail.com>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi

index 83f311a51cca0ba0a451eb541e644f004cef971e..eeb7679fd348a4932d123a8bd7ec76fb5107cc63 100644 (file)
                         &gpio6 4 GPIO_ACTIVE_HIGH>;
 
                phy: ethernet-phy@0 {
+                       pinctrl-0 = <&pinctrl_rmii_phy_irq>;
+                       pinctrl-names = "default";
                        reg = <0>;
+                       interrupt-parent = <&gpio3>;
+                       interrupts = <30 IRQ_TYPE_LEVEL_LOW>;
                };
        };