]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
arm64: dts: renesas: condor/v3hsk: specify Ethernet PHY IRQs
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Wed, 13 Jun 2018 16:42:15 +0000 (19:42 +0300)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 25 Jun 2018 13:30:36 +0000 (15:30 +0200)
Specify Ethernet PHY IRQs in the Condor/V3HSK board device trees, now that
we have the GPIO support (previously phylib had  to resort to polling).

Based on the original (and large) patch by Vladimir Barinov.

Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm64/boot/dts/renesas/r8a77980-condor.dts
arch/arm64/boot/dts/renesas/r8a77980-v3hsk.dts

index cc3ee25f4e2df24f667d6b96440ec13a3d841e3f..9f25c407dfd711741d14e2b19521c60097ad5006 100644 (file)
@@ -59,6 +59,8 @@
        phy0: ethernet-phy@0 {
                rxc-skew-ps = <1500>;
                reg = <0>;
+               interrupt-parent = <&gpio1>;
+               interrupts = <17 IRQ_TYPE_LEVEL_LOW>;
        };
 };
 
index bb7e0e5cd57bc7d8b645e553106306a188b4fecd..9dac42f8f80435c91e19fad0121e1e56df6855e1 100644 (file)
@@ -48,6 +48,8 @@
 
        phy0: ethernet-phy@0 {
                reg = <0>;
+               interrupt-parent = <&gpio4>;
+               interrupts = <23 IRQ_TYPE_LEVEL_LOW>;
        };
 };