]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: dts: dra72-evm-revc: enable irqs for dp83867 eth phys
authorGrygorii Strashko <grygorii.strashko@ti.com>
Fri, 6 Jan 2017 20:55:43 +0000 (14:55 -0600)
committerTony Lindgren <tony@atomide.com>
Thu, 12 Jan 2017 22:26:48 +0000 (14:26 -0800)
TI DRA72-EVM Rev C has two DP83867 ethernet phys which support IRQ
generation in case of phy/link status changes. The INT/PWDN lines from both
DP83867 phys are wired to DRA7 gpio6.16, so reflect the same in DT.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/dra72-evm-revc.dts

index c3d939c9666cabb03752806cab94c002073a4d65..3ecac56bf504de779a954208a4b7318a8ae4437c 100644 (file)
@@ -68,6 +68,8 @@
                ti,tx-internal-delay = <DP83867_RGMIIDCTL_250_PS>;
                ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_8_B_NIB>;
                ti,min-output-impedance;
+               interrupt-parent = <&gpio6>;
+               interrupts = <16 IRQ_TYPE_EDGE_FALLING>;
        };
 
        dp83867_1: ethernet-phy@3 {
@@ -75,6 +77,8 @@
                ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
                ti,tx-internal-delay = <DP83867_RGMIIDCTL_250_PS>;
                ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_8_B_NIB>;
-               ti,min-output-imepdance;
+               ti,min-output-impedance;
+               interrupt-parent = <&gpio6>;
+               interrupts = <16 IRQ_TYPE_EDGE_FALLING>;
        };
 };