From: Martin Blumenstingl Date: Sat, 2 Dec 2017 21:40:37 +0000 (+0100) Subject: ARM64: dts: meson-gxm: add the PHY interrupt line on Khadas VIM2 X-Git-Tag: v4.16-rc1~100^2~57^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=45293920c62cc391ce0b601646d90b33e379ee96;p=thirdparty%2Fkernel%2Flinux.git ARM64: dts: meson-gxm: add the PHY interrupt line on Khadas VIM2 The INTB/PMEB pin of the RTL8211F PHY on the Khadas VIM2 is routed to GPIOZ_15. Add the corresponding interrupt using the GPIO interrupt controller so the PHY framework doesn't have to poll the PHY for it's status. Signed-off-by: Martin Blumenstingl Reviewed-by: Jerome Brunet Signed-off-by: Kevin Hilman --- diff --git a/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts b/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts index d2595c08ebe7d..1448c3dba08e8 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts @@ -244,6 +244,9 @@ external_phy: ethernet-phy@0 { /* Realtek RTL8211F (0x001cc916) */ reg = <0>; + interrupt-parent = <&gpio_intc>; + /* MAC_INTR on GPIOZ_15 */ + interrupts = <25 IRQ_TYPE_LEVEL_LOW>; }; };