From: Martin Blumenstingl Date: Fri, 18 Jan 2019 23:43:37 +0000 (+0100) Subject: ARM: dts: meson8b: ec100: enable the Ethernet PHY interrupt X-Git-Tag: v5.15~6897^2~24^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b7d10841e5d7003bb8bc57c122494b4fb47836c0;p=platform%2Fkernel%2Flinux-starfive.git ARM: dts: meson8b: ec100: enable the Ethernet PHY interrupt The INTR32 pin of the IP101GR Ethernet PHY is routed to the GPIOH_3 pad on the SoC. Enable the interrupt function of the PHY's INTR32 pin to switch it from it's default "receive error" mode to "interrupt pin" mode. Signed-off-by: Martin Blumenstingl Signed-off-by: Kevin Hilman --- diff --git a/arch/arm/boot/dts/meson8b-ec100.dts b/arch/arm/boot/dts/meson8b-ec100.dts index 0cebe84..74b726f 100644 --- a/arch/arm/boot/dts/meson8b-ec100.dts +++ b/arch/arm/boot/dts/meson8b-ec100.dts @@ -169,6 +169,10 @@ eth_phy0: ethernet-phy@0 { /* IC Plus IP101A/G (0x02430c54) */ reg = <0>; + icplus,select-interrupt; + interrupt-parent = <&gpio_intc>; + /* GPIOH_3 */ + interrupts = <17 IRQ_TYPE_LEVEL_LOW>; }; }; };